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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Aug 4 12:10:23 CEST 2011


Hello,

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

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:

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
        dcache_enable();
+#endif
 
        debug ("monitor flash len: %08lX\n", monitor_flash_len);
        board_init();   /* Setup chipselects */

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the U-Boot mailing list