diff options
author | Adam Ford <aford173@gmail.com> | 2017-09-05 15:20:44 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-20 21:40:26 -0400 |
commit | 8daec2d9d3ff2d7ff85c203c0e9d07f5278b74f4 (patch) | |
tree | 70bbfcd5b386be214592d065cb233c0d1d35058c /board | |
parent | 0a9ef45158d586017839d4b6fccd7f8f16672156 (diff) |
net: Add SMC911X driver to Kconfig, convert
We add the various SMC91XX symbols to drivers/net/Kconfig and then this
converts the following to Kconfig:
CONFIG_SMC911X
CONFIG_SMC911X_BASE
CONFIG_SMC911X_16_BIT
CONFIG_SMC911X_32_BIT
Signed-off-by: Adam Ford <aford173@gmail.com>
[trini: Apply to the rest of the tree, re-squash old and new patch]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/compulab/cm_t35/cm_t35.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/compulab/cm_t35/cm_t35.c b/board/compulab/cm_t35/cm_t35.c index be938eb2cf..d5cfba4270 100644 --- a/board/compulab/cm_t35/cm_t35.c +++ b/board/compulab/cm_t35/cm_t35.c @@ -452,6 +452,7 @@ static int handle_mac_address(void) * Routine: board_eth_init * Description: initialize module and base-board Ethernet chips */ +#define SB_T35_SMC911X_BASE (CONFIG_SMC911X_BASE + SZ_16M) int board_eth_init(bd_t *bis) { int rc = 0, rc1 = 0; @@ -460,7 +461,7 @@ int board_eth_init(bd_t *bis) if (rc1) printf("No MAC address found! "); - rc1 = cl_omap3_smc911x_init(0, 5, CM_T3X_SMC911X_BASE, + rc1 = cl_omap3_smc911x_init(0, 5, CONFIG_SMC911X_BASE, cm_t3x_reset_net_chip, -EINVAL); if (rc1 > 0) rc++; |