55449a0d | 10-Nov-2011 |
Andreas Huber <andreas.huber@keymile.com> |
powerpc/83xx: fix sdram initialization for keymile boards
commit b11f53f3 (keymile: Fix Coding style issues for keymile boards) introduces a bug according the SDRAM initialization for all km83xx boa
powerpc/83xx: fix sdram initialization for keymile boards
commit b11f53f3 (keymile: Fix Coding style issues for keymile boards) introduces a bug according the SDRAM initialization for all km83xx boards.
im->ddr.sdram_cfg |= SDRAM_CFG_MEM_EN; was replaced with out_be32(&im->ddr.sdram_cfg, SDRAM_CFG_MEM_EN); and this is wrong, because this overwrites the intial value CONFIG_SYS_DDR_SDRAM_CFG.
Signed-off-by: Andreas Huber <andreas.huber@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Acked-by: Heiko Schocher <hs@denx.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
show more ...
|
37605c46 | 13-Sep-2011 |
Holger Brunck <holger.brunck@keymile.com> |
arm/km: adapt bootcounter evaluation
The bootcounter (stored in the RAM) is not enough protected with the 4 Bytes BOOTCOUNT_MAGIC against bit errors due to short power loss or holding a system in RE
arm/km: adapt bootcounter evaluation
The bootcounter (stored in the RAM) is not enough protected with the 4 Bytes BOOTCOUNT_MAGIC against bit errors due to short power loss or holding a system in RESET. It has been seen, that the bootcounter value has been changed due to a bit flip on a system holding in RESET, but the BOOTCOUNT_MAGIC was still valid.
A bit pattern with 4000 bytes (after BOOTCOUNT_MAGIC) has been implemented, which should be enough to detect a bit error.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com>
show more ...
|
8620ca2a | 01-Nov-2011 |
Valentin Longchamp <[valentin.longchamp@keymile.com]> |
ARM: Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards
We got dropped from Linux mach-types.h because of a lack of mainline support and this is needed since the last Linux/u-boot mach-types s
ARM: Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards
We got dropped from Linux mach-types.h because of a lack of mainline support and this is needed since the last Linux/u-boot mach-types synchro.
This patch also defines CONFIG_MACH_TYPE for all keymile boards, as this is a mandatory CONFIG for ARM boards now. The initialization of gd->bd->bi_arch_number is removed form km_arm.c, our board file.
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
show more ...
|
0eb0e59e | 13-Sep-2011 |
Holger Brunck <holger.brunck@keymile.com> |
km/common: force set ethaddr only for KM kirkwood boards
This prevents u-boot to print out "Can't overwrite "ethaddr"" each time a powerpc board starts.
Signed-off-by: Holger Brunck <holger.brunck@
km/common: force set ethaddr only for KM kirkwood boards
This prevents u-boot to print out "Can't overwrite "ethaddr"" each time a powerpc board starts.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Wolfgang Denk <wd@denx.de>
show more ...
|
1adfd9dd | 05-Jun-2011 |
Holger Brunck <holger.brunck@keymile.com> |
powerpc/km82xx: remove 82xx specific functions from common.c
Common code should be valid for more than one architecture, therefore the km82xx specific code was removed from common.c.
Signed-off-by:
powerpc/km82xx: remove 82xx specific functions from common.c
Common code should be valid for more than one architecture, therefore the km82xx specific code was removed from common.c.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
show more ...
|
fc9a7441 | 05-Jun-2011 |
Holger Brunck <holger.brunck@keymile.com> |
km/common: remove fdt_(gs)et_node_and_value
This code is unused and therefore dead code.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longcha
km/common: remove fdt_(gs)et_node_and_value
This code is unused and therefore dead code.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
show more ...
|
4f745bf4 | 05-Jun-2011 |
Holger Brunck <holger.brunck@keymile.com> |
km/common: move ivm functions from to ivm.c
The file common.c grows in the past. So move the IVM specific code into an ivm.c file.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-of
km/common: move ivm functions from to ivm.c
The file common.c grows in the past. So move the IVM specific code into an ivm.c file.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
show more ...
|
ba8be32a | 05-Jun-2011 |
Holger Brunck <holger.brunck@keymile.com> |
km/common: remove saveenv from do_checkboardidhwkey
This is unneeded here because we save the environment when the board boots the first time. At this time we have set the values already.
Signed-of
km/common: remove saveenv from do_checkboardidhwkey
This is unneeded here because we save the environment when the board boots the first time. At this time we have set the values already.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
show more ...
|
e8195825 | 05-Jun-2011 |
Holger Brunck <holger.brunck@keymile.com> |
km/common: force set ethaddr after reading IVM
The ethaddr is stored inside the inventory eeprom. During boottime this value was read out and the ethaddr variable was set. Previously this was only d
km/common: force set ethaddr after reading IVM
The ethaddr is stored inside the inventory eeprom. During boottime this value was read out and the ethaddr variable was set. Previously this was only done if it ethaddr == NULL but this is wrong for our ARM boards. Because ethaddr is at this stage never NULL for ARM due to the random calculation of a MAC address in mvgbe.c.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
show more ...
|
c98d3b4f | 05-Jun-2011 |
Holger Brunck <holger.brunck@keymile.com> |
km/common: remove obsolete defines and header
These defines and the header keymile_hdlc_enet.h are obsolete due to the removed hdlc code.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Si
km/common: remove obsolete defines and header
These defines and the header keymile_hdlc_enet.h are obsolete due to the removed hdlc code.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
show more ...
|