diff options
author | wdenk <wdenk> | 2004-02-08 19:38:38 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-02-08 19:38:38 +0000 |
commit | f6e20fc6ca5a45316f94743d8b60dce4d9766bc8 (patch) | |
tree | cdea7c7227b937ff231d98e50e64b6fa447bacda /board/logodl/flash.c | |
parent | f4863a7aec41f1f78fe93eade700b15b287a5ef7 (diff) | |
download | u-boot-imx-f6e20fc6ca5a45316f94743d8b60dce4d9766bc8.zip u-boot-imx-f6e20fc6ca5a45316f94743d8b60dce4d9766bc8.tar.gz u-boot-imx-f6e20fc6ca5a45316f94743d8b60dce4d9766bc8.tar.bz2 |
Patch by Anders Larsen, 09 Jan 2004:
ARM memory layout fixes: the abort-stack is now set up in the
correct RAM area, and the BSS is zeroed out as it should be.
Furthermore, the magic variables 'armboot_end' and 'armboot_end_data'
of the linker scripts are replaced by '__bss_start' and '_end',
resp., which is a further step to eliminate unnecessary differences
between the implementation of the CPU architectures.
Diffstat (limited to 'board/logodl/flash.c')
-rw-r--r-- | board/logodl/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/logodl/flash.c b/board/logodl/flash.c index 8c304f9..a947731 100644 --- a/board/logodl/flash.c +++ b/board/logodl/flash.c @@ -105,7 +105,7 @@ ulong flash_init(void) */ flash_protect(FLAG_PROTECT_SET, CFG_FLASH_BASE, - CFG_FLASH_BASE + _armboot_end_data - _armboot_start, + CFG_FLASH_BASE + _bss_start - _armboot_start, &flash_info[0]); flash_protect(FLAG_PROTECT_SET, |