From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 6 Feb 2017 19:45:20 -0500 Subject: [U-Boot] [u-boot PATCH v3 6/8] ARM: Use Kconfig for board EEPROM's I2C bus and chip address In-Reply-To: <1486373775-29580-7-git-send-email-rogerq@ti.com> References: <1486373775-29580-1-git-send-email-rogerq@ti.com> <1486373775-29580-7-git-send-email-rogerq@ti.com> Message-ID: <20170207004520.GN26129@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: