[U-Boot] [PATCH 41/53] armv8: ls1012afrwy: correct environment offset

Rajesh Bhagat rajesh.bhagat at nxp.com
Wed Oct 3 11:37:24 UTC 2018


From: Pankit Garg <pankit.garg at nxp.com>

Corrects the environment offset from 0x500000 to 0x1D0000,
as per LS1012AFRWY flash layout.

Signed-off-by: Pankit Garg <pankit.garg at nxp.com>
---
 include/configs/ls1012afrwy.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h
index 75ae329e11..dabb4904e1 100644
--- a/include/configs/ls1012afrwy.h
+++ b/include/configs/ls1012afrwy.h
@@ -31,11 +31,7 @@
 #endif
 
 #undef CONFIG_ENV_OFFSET
-#ifdef CONFIG_TFABOOT
-#define CONFIG_ENV_OFFSET              0x500000
-#else
 #define CONFIG_ENV_OFFSET              0x1D0000
-#endif
 #undef FSL_QSPI_FLASH_SIZE
 #define FSL_QSPI_FLASH_SIZE            SZ_16M
 #undef CONFIG_ENV_SECT_SIZE
-- 
2.17.1



More information about the U-Boot mailing list