diff options
author | Po-Yu Chuang <ratbert@faraday-tech.com> | 2011-02-15 22:54:35 +0000 |
---|---|---|
committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-02-21 08:30:55 +0100 |
commit | 3a8a83e08d832dc14e715f046aaf0d010d36c523 (patch) | |
tree | 30a1db34e48d834171e2dd82661312efede16f1d /arch/arm/lib/bootm.c | |
parent | ea4bc120db7da3f80bdaca0c08b5fd404cfa0d3e (diff) | |
download | u-boot-imx-3a8a83e08d832dc14e715f046aaf0d010d36c523.zip u-boot-imx-3a8a83e08d832dc14e715f046aaf0d010d36c523.tar.gz u-boot-imx-3a8a83e08d832dc14e715f046aaf0d010d36c523.tar.bz2 |
arm: get_sp() should always be compiled
get_sp() was incorrectly excluded if none of
CONFIG_SETUP_MEMORY_TAGS
CONFIG_CMDLINE_TAG
CONFIG_INITRD_TAG
CONFIG_SERIAL_TAG
CONFIG_REVISION_TAG
were defined.
Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Diffstat (limited to 'arch/arm/lib/bootm.c')
-rw-r--r-- | arch/arm/lib/bootm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index a1649ee..7734953 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -327,12 +327,12 @@ void setup_revision_tag(struct tag **in_params) } #endif /* CONFIG_REVISION_TAG */ - static void setup_end_tag (bd_t *bd) { params->hdr.tag = ATAG_NONE; params->hdr.size = 0; } +#endif /* CONFIG_SETUP_MEMORY_TAGS || CONFIG_CMDLINE_TAG || CONFIG_INITRD_TAG */ static ulong get_sp(void) { @@ -341,5 +341,3 @@ static ulong get_sp(void) asm("mov %0, sp" : "=r"(ret) : ); return ret; } - -#endif /* CONFIG_SETUP_MEMORY_TAGS || CONFIG_CMDLINE_TAG || CONFIG_INITRD_TAG */ |