summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/davinci/da8xxevm/Kconfig2
-rw-r--r--board/davinci/da8xxevm/da850evm.c3
-rw-r--r--board/davinci/da8xxevm/omapl138_lcdk.c4
-rw-r--r--board/vscom/baltos/board.c12
4 files changed, 7 insertions, 14 deletions
diff --git a/board/davinci/da8xxevm/Kconfig b/board/davinci/da8xxevm/Kconfig
index e0df97ca0e..bb1188b4ea 100644
--- a/board/davinci/da8xxevm/Kconfig
+++ b/board/davinci/da8xxevm/Kconfig
@@ -33,8 +33,6 @@ config MAC_ADDR_IN_EEPROM
endif
-source "board/ti/common/Kconfig"
-
endif
if TARGET_OMAPL138_LCDK
diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c
index b2b2fa272a..d9019de6e0 100644
--- a/board/davinci/da8xxevm/da850evm.c
+++ b/board/davinci/da8xxevm/da850evm.c
@@ -234,8 +234,7 @@ const struct pinmux_resource pinmuxes[] = {
PINMUX_ITEM(emifa_pins_cs3),
PINMUX_ITEM(emifa_pins_cs4),
PINMUX_ITEM(emifa_pins_nand),
-#endif
-#ifdef CONFIG_USE_NOR
+#elif defined(CONFIG_USE_NOR)
PINMUX_ITEM(emifa_pins_cs2),
PINMUX_ITEM(emifa_pins_nor),
#endif
diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c
index 08881f039d..27a51d6a78 100644
--- a/board/davinci/da8xxevm/omapl138_lcdk.c
+++ b/board/davinci/da8xxevm/omapl138_lcdk.c
@@ -227,10 +227,6 @@ int board_init(void)
return 0;
}
-#ifdef CONFIG_DRIVER_TI_EMAC
-
-#endif /* CONFIG_DRIVER_TI_EMAC */
-
#define CFG_MAC_ADDR_SPI_BUS 0
#define CFG_MAC_ADDR_SPI_CS 0
#define CFG_MAC_ADDR_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
diff --git a/board/vscom/baltos/board.c b/board/vscom/baltos/board.c
index f5540841c9..1ba58d0f11 100644
--- a/board/vscom/baltos/board.c
+++ b/board/vscom/baltos/board.c
@@ -288,15 +288,15 @@ int ft_board_setup(void *blob, bd_t *bd)
mac_addr[5] = header.MAC1[5];
- node = fdt_path_offset(blob, "/ocp/ethernet/slave@4a100200");
+ node = fdt_path_offset(blob, "ethernet0");
if (node < 0) {
- printf("no /soc/fman/ethernet path offset\n");
+ printf("no ethernet0 path offset\n");
return -ENODEV;
}
ret = fdt_setprop(blob, node, "mac-address", &mac_addr, 6);
if (ret) {
- printf("error setting local-mac-address property\n");
+ printf("error setting mac-address property\n");
return -ENODEV;
}
@@ -308,15 +308,15 @@ int ft_board_setup(void *blob, bd_t *bd)
mac_addr[4] = header.MAC2[4];
mac_addr[5] = header.MAC2[5];
- node = fdt_path_offset(blob, "/ocp/ethernet/slave@4a100300");
+ node = fdt_path_offset(blob, "ethernet1");
if (node < 0) {
- printf("no /soc/fman/ethernet path offset\n");
+ printf("no ethernet1 path offset\n");
return -ENODEV;
}
ret = fdt_setprop(blob, node, "mac-address", &mac_addr, 6);
if (ret) {
- printf("error setting local-mac-address property\n");
+ printf("error setting mac-address property\n");
return -ENODEV;
}