diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-04-16 12:31:46 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-04-17 09:13:06 +0200 |
commit | cec5e909a1b25d7d06f384fc323bcaee4ffb9e3d (patch) | |
tree | 2f4fcf862827ffc10ebfa1630d1dc1e9dcdbae64 /arch | |
parent | c82e0b9b6db5b45922fecebf57736ac2f11f761e (diff) | |
download | barebox-cec5e909a1b25d7d06f384fc323bcaee4ffb9e3d.tar.gz barebox-cec5e909a1b25d7d06f384fc323bcaee4ffb9e3d.tar.xz |
ARM: i.MX7: boot: Remove incorrect NAND bootsource detection
i.MX7 differs from i.MX6 and i.MX53 and bit 7 in SBMR is not used to
signify boot from NAND.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/boot.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c index 161d04804b..c04b671a80 100644 --- a/arch/arm/mach-imx/boot.c +++ b/arch/arm/mach-imx/boot.c @@ -446,10 +446,6 @@ void imx7_get_boot_source(enum bootsource *src, int *instance) break; } - /* BOOT_CFG1[7:0] */ - if (sbmr1 & (1 << 7)) - *src = BOOTSOURCE_NAND; - return; } |