summaryrefslogtreecommitdiffstats
path: root/include/configs/vexpress_aemv8a.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-02-17 11:35:25 +0100
committerTom Rini <trini@konsulko.com>2015-03-05 20:49:42 -0500
commitb31f9d7a4aea23a8a9d007356a2b61e503e69daa (patch)
treea7ec3deb5c8ab3a5f65ef02271e467ec7f200d01 /include/configs/vexpress_aemv8a.h
parent1313db48e2b94e4791878fd0062aae2b8bafa785 (diff)
downloadtalos-obmc-uboot-b31f9d7a4aea23a8a9d007356a2b61e503e69daa.tar.gz
talos-obmc-uboot-b31f9d7a4aea23a8a9d007356a2b61e503e69daa.zip
vexpress64: juno: support SMC9118 ethernet
This configures the Juno board to enable ethernet using the SMSC9118 ethernet controller found in the board. Tested by TFTP-booting a kernel over ethernet. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/configs/vexpress_aemv8a.h')
-rw-r--r--include/configs/vexpress_aemv8a.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
index 7fb28a54ba..cfe3f2f7af 100644
--- a/include/configs/vexpress_aemv8a.h
+++ b/include/configs/vexpress_aemv8a.h
@@ -146,9 +146,17 @@
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (8 << 20))
-/* SMSC91C111 Ethernet Configuration */
+/* Ethernet Configuration */
+#ifdef CONFIG_TARGET_VEXPRESS64_JUNO
+/* The real hardware Versatile express uses SMSC9118 */
+#define CONFIG_SMC911X 1
+#define CONFIG_SMC911X_32_BIT 1
+#define CONFIG_SMC911X_BASE (0x018000000)
+#else
+/* The Vexpress64 simulators use SMSC91C111 */
#define CONFIG_SMC91111 1
#define CONFIG_SMC91111_BASE (0x01A000000)
+#endif
/* PL011 Serial Configuration */
#define CONFIG_PL011_SERIAL
@@ -237,7 +245,7 @@
"fdt_addr_r=0x83000000\0" \
"fdt_high=0xa0000000\0"
-#define CONFIG_BOOTARGS "console=ttyAMA0 root=/dev/ram0"
+#define CONFIG_BOOTARGS "console=ttyAMA0,115200n8 root=/dev/ram0"
#define CONFIG_BOOTCOMMAND "bootm $kernel_addr_r " \
"$initrd_addr_r:$initrd_size $fdt_addr_r"
#define CONFIG_BOOTDELAY -1
OpenPOWER on IntegriCloud