diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-10-20 09:26:48 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-10-27 11:13:29 +0200 |
commit | ee1da5686dec6a13c8654800dcabc81f2868f4eb (patch) | |
tree | 331bc9295c91b868035a9b55db9a707c92d7f4f4 | |
parent | 37dc0b61669f120c5dc3c04b4dbe253797e329df (diff) | |
download | barebox-ee1da5686dec6a13c8654800dcabc81f2868f4eb.tar.gz barebox-ee1da5686dec6a13c8654800dcabc81f2868f4eb.tar.xz |
ARM: i.MX8M bootsource: alias i.MX8MN functions as i.MX8MP functions
Until now imx8mp_get_boot_source() and imx8mm_get_boot_source() are
both the same. There are subtle differences between the SoCs though
implemented in subsequent patches. i.MX8MN will be the same as i.MX8MP
then, so alias imx8mn_get_boot_source() to imx8mp_get_boot_source()
instead of imx8mm_get_boot_source().
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-imx/boot.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c index 8c9febb50a..999bd3ab91 100644 --- a/arch/arm/mach-imx/boot.c +++ b/arch/arm/mach-imx/boot.c @@ -678,12 +678,6 @@ void imx8mm_boot_save_loc(void) imx_boot_save_loc(imx8mm_get_boot_source); } -void imx8mn_get_boot_source(enum bootsource *src, int *instance) - __alias(imx8mm_get_boot_source); - -void imx8mn_boot_save_loc(void) - __alias(imx8mm_boot_save_loc); - void imx8mp_get_boot_source(enum bootsource *src, int *instance) { unsigned long addr; @@ -699,3 +693,9 @@ void imx8mp_boot_save_loc(void) { imx_boot_save_loc(imx8mp_get_boot_source); } + +void imx8mn_get_boot_source(enum bootsource *src, int *instance) + __alias(imx8mp_get_boot_source); + +void imx8mn_boot_save_loc(void) + __alias(imx8mp_boot_save_loc); |