[U-Boot] [PATCH 2/8] orion5x: Fix wrong address in orion5x_sdram_bar

Michael Spang mspang at csclub.uwaterloo.ca
Thu Mar 17 20:47:55 CET 2011


On Sat, Jan 29, 2011 at 2:24 AM, Albert ARIBAUD <albert.aribaud at free.fr> wrote:
>> diff --git a/arch/arm/cpu/arm926ejs/orion5x/dram.c
>> b/arch/arm/cpu/arm926ejs/orion5x/dram.c
>> index b749282..7f3a318 100644
>> --- a/arch/arm/cpu/arm926ejs/orion5x/dram.c
>> +++ b/arch/arm/cpu/arm926ejs/orion5x/dram.c
>> @@ -38,7 +38,7 @@ u32 orion5x_sdram_bar(enum memory_bank bank)
>>  {
>>        struct orion5x_ddr_addr_decode_registers *winregs =
>>                (struct orion5x_ddr_addr_decode_registers *)
>
> Please remove the 'ddr_' part of the struct name while you're at it: this
> struct is not DDR specific, it also covers CPU window register.

Done.

Michael


More information about the U-Boot mailing list