[PATCH 0/6] bbu: Make image pointer const

Sascha Hauer s.hauer at pengutronix.de
Tue Jan 30 00:46:51 PST 2018


The image pointer in the bbu data structure should be const so that we
can pass const pointers in there. This is changed in this series.

Sascha Hauer (6):
  bbu: imx-bbu-internal: Do not modify image
  bbu: imx-bbu-internal: make pointers to image const
  bbu: command: create temporary variable holding the pointer to the
    image
  bbu: Make pointer to image const
  usb: gadget: fastboot: allow data.image to be const
  ARM: am33xx: bbu: Make pointers to image const

 arch/arm/mach-imx/imx-bbu-internal.c    | 25 ++++++++++++++++++-------
 arch/arm/mach-omap/am33xx_bbu_spi_mlo.c |  4 ++--
 commands/barebox-update.c               |  8 +++++---
 drivers/usb/gadget/f_fastboot.c         |  9 ++++++---
 include/bbu.h                           |  2 +-
 5 files changed, 32 insertions(+), 16 deletions(-)

-- 
2.15.1




More information about the barebox mailing list