]> git.sur5r.net Git - u-boot/commit
The patch introduces the alternative configuration of the log buffer for the lwmon5...
authorYuri Tikhonov <yur@pollux.denx.de>
Wed, 6 Feb 2008 17:48:36 +0000 (18:48 +0100)
committerWolfgang Denk <wd@denx.de>
Tue, 18 Mar 2008 21:24:48 +0000 (22:24 +0100)
commit3d61018643a2cd38c145aa6dde53f3f5f1a0e9cf
tree99249b1e02761ceb02dc759d5fd5ea78a98cb980
parent0f009f781b5b88f25769e154ea4d42db13baf0c6
The patch introduces the alternative configuration of the log buffer for the lwmon5 board: the storage for the log-buffer itself is OCM(on-chip memory), the log-buffer header is moved to six GPT registers (PPC440EPX_GPT0_COMP1, ..., PPC440EPX_GPT0_COMP5).

 To enable this, alternative, configuration the U-Boot board configuration
file for lwmon5 includes the definitions of alternative addresses for header
(CONFIG_ALT_LH_ADDR) and buffer (CONFIG_ALT_LB_ADDR).

 The Linux shall be configured with the CONFIG_ALT_LB_LOCATION option set,
and has the BOARD_ALT_LH_ADDR and BOARD_ALT_LB_ADDR constants defined in the
lwmon5 board-specific header (arch/ppc/platforms/4xx/lwmon5.h).

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
common/cmd_bootm.c
common/cmd_log.c
include/configs/lwmon5.h
include/ppc440.h
lib_ppc/board.c