commit | 27130f133eda205b07d97b475a2ef96ec3f46b0f | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Tue Sep 07 23:20:53 2010 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Tue Sep 07 23:20:53 2010 +0200 |
tree | 3a8cbe311baab489cfd304a7197e00baaa9a10bd | |
parent | f91506e28387fece392b5dd3bb3aa309e4ce7e4d [diff] | |
parent | 438c37e1b3493c800fd50924d0b492f96d5c66bb [diff] |
Merge branch 'master' of git://git.denx.de/u-boot-marvell
diff --git a/arch/arm/cpu/arm926ejs/kirkwood/cpu.c b/arch/arm/cpu/arm926ejs/kirkwood/cpu.c index c63e864..82c978b 100644 --- a/arch/arm/cpu/arm926ejs/kirkwood/cpu.c +++ b/arch/arm/cpu/arm926ejs/kirkwood/cpu.c
@@ -81,7 +81,7 @@ unsigned int j = 0; u32 val = sizeval >> 1; - for (i = 0; val > 0x10000; i++) { + for (i = 0; val >= 0x10000; i++) { j |= (1 << i); val = val >> 1; }
diff --git a/arch/arm/cpu/arm926ejs/orion5x/cpu.c b/arch/arm/cpu/arm926ejs/orion5x/cpu.c index 3740e33..260f88b 100644 --- a/arch/arm/cpu/arm926ejs/orion5x/cpu.c +++ b/arch/arm/cpu/arm926ejs/orion5x/cpu.c
@@ -61,7 +61,7 @@ unsigned int j = 0; u32 val = sizeval >> 1; - for (i = 0; val > 0x10000; i++) { + for (i = 0; val >= 0x10000; i++) { j |= (1 << i); val = val >> 1; }
diff --git a/arch/arm/include/asm/arch-orion5x/cpu.h b/arch/arm/include/asm/arch-orion5x/cpu.h index 80717f8..6ce02a9 100644 --- a/arch/arm/include/asm/arch-orion5x/cpu.h +++ b/arch/arm/include/asm/arch-orion5x/cpu.h
@@ -76,7 +76,7 @@ /* * Device Address MAP BAR values -/* + * * All addresses and sizes not defined by board code * will be given default values here. */