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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox