[U-Boot] [PATCH] arch-at91: Gets ethernet working on at91sam9g20 board

Signed-off-by: John de la Garza john@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

Dear John de la Garza,
this is a pure resent of [1]. Please read [2] and especially [3] on sending updated patches.
On 06.03.14 21:33, John de la Garza wrote:
Signed-off-by: John de la Garza john@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
I have to NAK this again, you failed to respond on [4]. I may be wrong, but then please elaborate your change in detail.
Best regards
Andreas Bießmann
[1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/180060 [2] http://www.denx.de/wiki/U-Boot/Patches [3] http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updated_patch_versions [4] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/180063

On Thu, Mar 06, 2014 at 12:33 -0800, John de la Garza wrote:
Signed-off-by: John de la Garza john@jjdev.com
Assuming that you fix something which isn't obvious, the commit message is incredibly short (it's empty).
virtually yours Gerhard Sittig
participants (3)
-
Andreas Bießmann
-
Gerhard Sittig
-
John de la Garza