ARM: atmel: at91sam9m10g45ek: enable spl support

Supports boot up from NAND flash with software ECC eanbled.
And supports boot up from SD/MMC card with FAT file system.

As the boot from SD/MMC card with FAT file system, the BSS
segment is too big to fit into SRAM, so, use the lds to put
it into SDRAM.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
This commit is contained in:
Bo Shen
2015-03-27 14:23:34 +08:00
committed by Andreas Bießmann
parent 72cb3b6b54
commit 41d41a93fb
7 changed files with 194 additions and 1 deletions

View File

@@ -71,7 +71,11 @@ void __weak at91_spl_board_init(void)
{
}
void spl_board_init(void)
void __weak spl_board_init(void)
{
}
void board_init_f(ulong dummy)
{
struct at91_pmc *pmc = (struct at91_pmc *)ATMEL_BASE_PMC;