[U-Boot] [PATCH] rockchip: rock: remove CONFIG_ENV_OFFSEt

Kever Yang kever.yang at rock-chips.com
Fri Nov 3 08:11:04 UTC 2017


We use the same default ENV setting in rockchip_common.h for all SoC.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---

 include/configs/rock.h | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/include/configs/rock.h b/include/configs/rock.h
index 8d845d9..468dfdb 100644
--- a/include/configs/rock.h
+++ b/include/configs/rock.h
@@ -12,18 +12,4 @@
 
 #define CONFIG_SYS_MMC_ENV_DEV 0
 
-#if CONFIG_IS_ENABLED(ROCKCHIP_BACK_TO_BROM)
-/* SPL @ 32k for 34k
- * u-boot directly after @ 68k for 400k or so
- * ENV @ 992k
- */
-#define CONFIG_ENV_OFFSET ((1024-32) * 1024)
-#else
-/* SPL @ 32k for ~36k
- * ENV @ 96k
- * u-boot @ 128K
- */
-#define CONFIG_ENV_OFFSET (96 * 1024)
-#endif
-
 #endif
-- 
1.9.1



More information about the U-Boot mailing list