
On Mon, Feb 06, 2017 at 11:36:13AM +0200, Roger Quadros wrote:
In stead of defining the board EEPROM address in the board headers let's define them in the board config files and make them configurable by Kconfig.
Signed-off-by: Roger Quadros rogerq@ti.com
board/ti/common/Kconfig | 14 ++++++++++++++ board/ti/ks2_evm/Kconfig | 2 ++ include/configs/am57xx_evm.h | 4 ---- include/configs/dra7xx_evm.h | 4 ---- 4 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig index 4980a04..5003484 100644 --- a/board/ti/common/Kconfig +++ b/board/ti/common/Kconfig @@ -1,3 +1,5 @@ +if ARCH_OMAP2
config SPL_ENV_SUPPORT default y
@@ -39,3 +41,15 @@ config SPL_POWER_SUPPORT
config SPL_SERIAL_SUPPORT default y
+endif
I don't like this part here. But we'll leave cleaning this part up until we have the 'imply' keyword available instead of messing around more with the above constructs that we ultimately want to remove.
The rest is good so, thanks!
Reviewed-by: Tom Rini trini@konsulko.com