summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/generic.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-10-12 16:10:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-17 20:22:58 +0200
commit7b84676763a16167ce141cbb693d441664ffbb23 (patch)
tree3d1c809edc558e852aee4f059ede83b15438e7d7 /arch/arm/mach-imx/include/mach/generic.h
parent3bbe8a9ea432be24d2d4743e5fca5795963ae32a (diff)
downloadbarebox-7b84676763a16167ce141cbb693d441664ffbb23.tar.gz
barebox-7b84676763a16167ce141cbb693d441664ffbb23.tar.xz
ARM i.MX53: set bootsource location
To be able to set the environment location based on the bootsource. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/generic.h')
-rw-r--r--arch/arm/mach-imx/include/mach/generic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/generic.h b/arch/arm/mach-imx/include/mach/generic.h
index 86966e45f4..39bb7e351e 100644
--- a/arch/arm/mach-imx/include/mach/generic.h
+++ b/arch/arm/mach-imx/include/mach/generic.h
@@ -10,6 +10,7 @@ enum imx_bootsource {
bootsource_spi,
bootsource_serial,
bootsource_onenand,
+ bootsource_hd,
};
enum imx_bootsource imx_bootsource(void);
@@ -18,6 +19,7 @@ void imx_set_bootsource(enum imx_bootsource src);
int imx_25_35_boot_save_loc(unsigned int ctrl, unsigned int type);
void imx_27_boot_save_loc(void __iomem *sysctrl_base);
int imx51_boot_save_loc(void __iomem *src_base);
+int imx53_boot_save_loc(void __iomem *src_base);
/* There's a off-by-one betweem the gpio bank number and the gpiochip */
/* range e.g. GPIO_1_5 is gpio 5 under linux */