diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2011-09-07 16:04:55 -0700 |
---|---|---|
committer | Vadim Bendebury <vbendeb@chromium.org> | 2011-09-07 16:44:49 -0700 |
commit | 7c64de351aac24d393219056cdd0824f62efd297 (patch) | |
tree | 0049c436b256b47faf5b43b67192a05c62a7b5b8 /include | |
parent | c968b682ea59af33ef0eaa200a0863a24bd1ca6f (diff) |
Restore ability to print before relocation.
The problem with printing appears to be due to the corrupted
contents of the global data structure (allocated at a fixed
address for the before relocation use). There is no need to place
the global data structure at a fixed address, it is enough to
have it on the stack before relocation, as it is used only by the
functions in init_sequence_f table, and then passed to
board_init_r() which copies its contents immediately.
The CONFIG_SYS_INIT_GD_ADDR definition is not needed anymore and
is being removed.
BUG=chromium-os:20142
TEST=manual
. program the new image on Alex
. restart the machine
Observe the relocation address and u-boot banner printed on the
console.
Change-Id: Ifcdcd0c9da1e0ba901f319ff9b7145909300b8a1
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/7373
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/coreboot.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 1de30109a8a..6cd752ca065 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -276,9 +276,6 @@ #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_MONITOR_LEN (256 * 1024) #define CONFIG_SYS_MALLOC_LEN (0x20000 + 4 * 1024 * 1024) -/* Address of temporary Global Data */ -#define CONFIG_SYS_INIT_GD_ADDR (256 * 1024) - /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE |