
9 Dec
2011
9 Dec
'11
5 a.m.
On Wednesday 07 December 2011 12:56:52 Rob Herring wrote:
--- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c
+int board_eth_init(bd_t *bis) +{
- int rc = 0;
+#ifdef CONFIG_CALXEDA_XGMAC
- rc = calxedaxgmac_initialize(0, 0xfff50000);
- rc |= calxedaxgmac_initialize(1, 0xfff51000);
this should be returning the # of devices registered ...
--- a/include/configs/highbank.h +++ b/include/configs/highbank.h
+#define CONFIG_EXTRA_ENV_SETTINGS \
"fdtaddr_r=0x600000\0" \
"pxefile_addr_r=0x700000\0" \
"kernel_addr_r=0x800000\0" \
"ramdisk_addr_r=0x01000000\0" \
no need for that last "" since there's nothing after the ramdisk_addr line -mike