GTA04 U-Boot

GTA04 U-Boot Commit Details

Date:2011-02-15 23:54:35 (2 years 3 months ago)
Author:Po-Yu Chuang
Branch:gta04
Commit:3a8a83e08d832dc14e715f046aaf0d010d36c523
Parents: ea4bc120db7da3f80bdaca0c08b5fd404cfa0d3e
Message: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>
Changes:
March/arm/lib/bootm.c (2 diffs)

File differences

arch/arm/lib/bootm.c
327327
328328
329329
330
331330
332331
333332
334333
335334
335
336336
337337
338338
......
341341
342342
343343
344
345
}
#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)
{
asm("mov %0, sp" : "=r"(ret) : );
return ret;
}
#endif /* CONFIG_SETUP_MEMORY_TAGS || CONFIG_CMDLINE_TAG || CONFIG_INITRD_TAG */

Archive Download the corresponding diff file

Branches

Tags