[U-Boot] [PATCH 1/3] atmel_nand: if don't have gf table in rom code we will build it runtime

Bo Shen voice.shen at atmel.com
Tue Oct 28 09:05:26 CET 2014


Hi Andreas,

On 10/25/2014 06:22 AM, Andreas Bießmann wrote:
>>   			ATMEL_BASE_PMERRLOC;
>> >+#if defined(NO_GALOIS_TABLE_IN_ROM)
>> >+	/* Set pmecc_rom_base as the begin of gf table */
>> >+	int size = host->pmecc_sector_size == 512 ?
>> >+		PMECC_INDEX_TABLE_SIZE_512 :
>> >+		PMECC_INDEX_TABLE_SIZE_1024;
>> >+	pmecc_galois_table = malloc(2 * size * sizeof(uint16_t));
> I fear this will not work with current SPL implementation ...

Yes, when I try to implement the SPL support for sama5d4ek board, I 
really meet this issue. I don't know what reason cause this issue. So, 
can you give me some hints about it? Thanks.

Best Regards,
Bo Shen



More information about the U-Boot mailing list