summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2023-03-13 14:41:56 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-04-04 09:02:27 +0200
commita353154dbf8f058d42a88d01bff999db4d8358db (patch)
treeaf7632b1cba3eb5f7daf080c7fa8ca3bc9d770f4 /include
parentadcdfb1c87520def4395b6bb5bb7fa9af3901ff4 (diff)
downloadbarebox-a353154dbf8f058d42a88d01bff999db4d8358db.tar.gz
ARM: i.MX: bbu: rename IMX_INTERNAL_FLAG_ERASE to IMX_BBU_FLAG_ERASE
Rename the flag to align it with the existing flags. Also move it to the common i.MX bbu header to avoid possible overrides. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20230228-v2023-02-0-topic-flexspi-v2-17-3d33126d2434@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/mach/imx/bbu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mach/imx/bbu.h b/include/mach/imx/bbu.h
index c9b239c698..34133b587c 100644
--- a/include/mach/imx/bbu.h
+++ b/include/mach/imx/bbu.h
@@ -26,6 +26,8 @@ struct imx_dcd_v2_entry;
*/
#define IMX_BBU_FLAG_PARTITION_STARTS_AT_HEADER (1 << 17)
+#define IMX_BBU_FLAG_ERASE BIT(30)
+
/*
* The upper 16 bit of the flags passes to the below functions are reserved
* for i.MX specific flags