From f2e6235734182034640085677c5499d595fddb5a Mon Sep 17 00:00:00 2001 From: Sekhar Nori Date: Tue, 21 Apr 2009 18:25:52 +0530 Subject: 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 --- board/da8xx/da8xx-evm/da850.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board') 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) -- cgit v1.2.3