[U-Boot] Update at91sam9m10g45 SoC and AT91SAM9M10G45-EK board to new style

Message ID 1312452625-11060-1-git-send-email-thomas.petazzoni@free-electrons.com
State Not Applicable
Delegated to: Reinhard Meyer
Headers show

Commit Message

Thomas Petazzoni Aug. 4, 2011, 10:10 a.m.

These two patches update the support of the AT91SAM9M10G45 SoC and the
corresponding AT91SAM9M10G45-EK evaluation platform to the next AT91

For the moment, only the nandflash configuration is supported, the
dataflash configuration will come later on.

Note however that the AT91 Ethernet driver doesn't work in the current
master, due to the D-cache being enabled by
c2dd0d45540397704de9b13287417d21049d34c6. Waiting for a proper
solution to this problem, I am currently doing the testing with the
following workaround:

Best regards,

Thomas Petazzoni


diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index 90709d0..761e233 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -450,7 +450,9 @@  void board_init_r (gd_t *id, ulong dest_addr)
         * Enable D$:
         * I$, if needed, must be already enabled in start.S
+#if 0
        debug ("monitor flash len: %08lX\n", monitor_flash_len);
        board_init();   /* Setup chipselects */