[U-Boot] [PATCH 2/4] ARM: dra7xx_evm: Enable support for TI PCF8575

Tom Rini
2016-07-25T13:38:39Z

On Mon, Jul 25, 2016 at 06:40:21PM +0530, Vignesh R wrote:

> On DRA7, pcf chip present at address 0x21 on i2c1, is used to
> switch between cpsw slave0 and slave1. Hence, enable PCF
> driver for the same.
>
> Signed-off-by: Vignesh R <vigneshr@ti.com>
> ---
> include/configs/dra7xx_evm.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
> index 0d51aeb86909..4ad8beaf2f75 100644
> --- a/include/configs/dra7xx_evm.h
> +++ b/include/configs/dra7xx_evm.h
> @@ -328,4 +328,9 @@
> #define CONFIG_EEPROM_CHIP_ADDRESS 0x50
> #define CONFIG_EEPROM_BUS_ADDRESS 0
>
> +/* PCF Support */
> +#ifndef CONFIG_SPL_BUILD
> +#define CONFIG_PCF8575_GPIO
> +#endif

We need to invert the logic and undef on SPL, and pick this up normally
via Kconfig.

--
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/20160725/abb7d706/attachment.sig>