>From 051fbe5fbfb5d8de2e6568fe619e60f82102e35a Mon Sep 17 00:00:00 2001
From: John de la Garza <j...@jjdev.com>
Date: Tue, 11 Feb 2014 11:17:58 -0800
Subject: [PATCH] arch-at91: Gets ethernet working on at91sam9g20 board
Cc: Johannes Thumshirn <johannes.thumsh...@men.de>

Signed-off-by: John de la Garza <j...@jjdev.com>
---
 arch/arm/include/asm/arch-at91/at91_rstc.h |    2 +-
 include/configs/at91sam9260ek.h            |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/arch-at91/at91_rstc.h 
b/arch/arm/include/asm/arch-at91/at91_rstc.h
index a942342..59be96b 100644
--- a/arch/arm/include/asm/arch-at91/at91_rstc.h
+++ b/arch/arm/include/asm/arch-at91/at91_rstc.h
@@ -25,7 +25,7 @@ typedef struct at91_rstc {
 
 #endif /* __ASSEMBLY__ */
 
-#define AT91_RSTC_KEY          0xA5000000
+#define AT91_RSTC_KEY          0xA5
 
 #define AT91_RSTC_CR_PROCRST   0x00000001
 #define AT91_RSTC_CR_PERRST    0x00000004
diff --git a/include/configs/at91sam9260ek.h b/include/configs/at91sam9260ek.h
index 73917b0..53bef35 100644
--- a/include/configs/at91sam9260ek.h
+++ b/include/configs/at91sam9260ek.h
@@ -177,6 +177,7 @@
 #define CONFIG_SYS_NO_FLASH                    1
 
 /* Ethernet */
+#define CONFIG_MACB_SEARCH_PHY
 #define CONFIG_MACB                    1
 #define CONFIG_RMII                    1
 #define CONFIG_NET_RETRY_COUNT         20
-- 
1.7.10.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to