summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2009-04-21 18:25:52 +0530
committerJustin Waters <justin.waters@timesys.com>2009-09-09 14:03:26 -0400
commitf2e6235734182034640085677c5499d595fddb5a (patch)
treeaf514322a0fce5cad018ecb0ae0898a464f0b1bc
parent17a111859bc6d506b3df75e5ee4bad61b1067ba8 (diff)
U-Boot: DA850: Use single speed for SPI
Currently the code to read MAC address uses a different SPI speed than the one defined in the da850_evm.h. Fix that to use the define in da850_evm.h
-rw-r--r--board/da8xx/da8xx-evm/da850.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/da8xx/da8xx-evm/da850.c b/board/da8xx/da8xx-evm/da850.c
index ebbd363374..72a3527c6e 100644
--- a/board/da8xx/da8xx-evm/da850.c
+++ b/board/da8xx/da8xx-evm/da850.c
@@ -195,7 +195,7 @@ int board_init(void)
#define CFG_MAC_ADDR_SPI_BUS 0
#define CFG_MAC_ADDR_SPI_CS 0
-#define CFG_MAC_ADDR_SPI_MAX_HZ 1000000
+#define CFG_MAC_ADDR_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
#define CFG_MAC_ADDR_SPI_MODE SPI_MODE_3
#define CFG_MAC_ADDR_OFFSET (flash->size - SZ_4K)