[U-Boot] [u-boot PATCH v3 6/8] ARM: Use Kconfig for board EEPROM's I2C bus and chip address

Tom Rini trini at konsulko.com
Tue Feb 7 00:45:20 UTC 2017


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 at 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 at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170206/f4b91a3b/attachment.sig>


More information about the U-Boot mailing list