[U-Boot] [PATCH 1/2] nitrogen6x: Pass the correct CPU revision to the kernel
Eric Nelson
eric.nelson at boundarydevices.com
Tue Mar 26 16:26:15 CET 2013
On 03/26/2013 08:24 AM, Eric Nelson wrote:
> Hi Fabio,
>
> <snip>
>
>> --- a/board/boundary/nitrogen6x/nitrogen6x.c
>> +++ b/board/boundary/nitrogen6x/nitrogen6x.c
>> @@ -330,7 +330,7 @@ int board_mmc_init(bd_t *bis)
>>
>> u32 get_board_rev(void)
>> {
>> - return 0x63000;
>> + return get_cpu_rev();
>> }
>>
>> #ifdef CONFIG_MXC_SPI
>>
>
> Since this convention is shared among at least SABRE Lite, SABRE SD,
> Nitrogen6x and Wandboard, wouldn't a weak function in imx-common/cpu.c
> be a better choice?
>
Oops.
I meant to say arch/arm/cpu/armv7/mx6/soc.c, not imx-common/cpu.c.
More information about the U-Boot
mailing list