We have the IMX_INTERNAL_FLAG_KEEP_DOSPART flag in the i.MX bbu handlers which has the effect that an existing DOS partition is preserved over an update. This series generalizes this flag so that not only a DOS partition is preserved but instead all data that is in the area unused by the boot ROM. Sascha Hauer (4): bbu: reserve upper 16 bits for handler specific flags ARM: i.MX: bbu: remove handler specific flags variable ARM: i.MX: bbu: reimplement IMX_INTERNAL_FLAG_KEEP_DOSPART flag ARM: i.MX: bbu: support partitions starting at i.MX header arch/arm/mach-imx/imx-bbu-internal.c | 93 +++++++++++----------------- arch/arm/mach-imx/include/mach/bbu.h | 23 +++++++ include/bbu.h | 4 ++ 3 files changed, 62 insertions(+), 58 deletions(-) -- 2.17.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox