diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-01 13:45:37 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-22 11:20:52 +0200 |
commit | 0b47f95340d801a26643e5e1f4ee05287e8ae90e (patch) | |
tree | 2f80b8ab87319ed7f4de42b4b92e9d9e1de71e5e /arch/arm/mach-imx/include | |
parent | cf3dfafff4cb992a11552953d019ab6a20e5aead (diff) | |
download | barebox-0b47f95340d801a26643e5e1f4ee05287e8ae90e.tar.gz barebox-0b47f95340d801a26643e5e1f4ee05287e8ae90e.tar.xz |
ARM: i.MX: Provide bootsource functions for early boot code
The regular bootsource functions only work in a running barebox,
provide functions for early code. This has already been done for
i.MX6, this patch adds the same functions for the other SoCs.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include')
-rw-r--r-- | arch/arm/mach-imx/include/mach/generic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/generic.h b/arch/arm/mach-imx/include/mach/generic.h index 9279bef0a3..7c275dff84 100644 --- a/arch/arm/mach-imx/include/mach/generic.h +++ b/arch/arm/mach-imx/include/mach/generic.h @@ -14,6 +14,11 @@ void imx27_boot_save_loc(void); void imx51_boot_save_loc(void); void imx53_boot_save_loc(void); void imx6_boot_save_loc(void); + +void imx25_get_boot_source(enum bootsource *src, int *instance); +void imx35_get_boot_source(enum bootsource *src, int *instance); +void imx51_get_boot_source(enum bootsource *src, int *instance); +void imx53_get_boot_source(enum bootsource *src, int *instance); void imx6_get_boot_source(enum bootsource *src, int *instance); int imx1_init(void); |