diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-07 21:49:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-07 21:49:20 +0000 |
commit | c187b50a89e924ec60499c0ae423fc606fe9079b (patch) | |
tree | e406af66001722476cd7122decd98f3c0756e41f /c/src/lib/libbsp/arm/rtl22xx/start | |
parent | 2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-c187b50a89e924ec60499c0ae423fc606fe9079b.tar.bz2 |
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h: Rename poorly named define "M" to "JOEL_M" since
I can't find it used anywhere. When code breaks, someone will
suggest a better name. But "M" conflicted with user code.
* start/start.S: Verify boot_card() is passed a NULL.
Diffstat (limited to 'c/src/lib/libbsp/arm/rtl22xx/start')
-rw-r--r-- | c/src/lib/libbsp/arm/rtl22xx/start/start.S | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/arm/rtl22xx/start/start.S b/c/src/lib/libbsp/arm/rtl22xx/start/start.S index c0001eb7b0..651fb6285d 100644 --- a/c/src/lib/libbsp/arm/rtl22xx/start/start.S +++ b/c/src/lib/libbsp/arm/rtl22xx/start/start.S @@ -12,11 +12,6 @@ * $Id$ */ -#warning Call to boot_card has changed and needs checking. -#warning The call is "void boot_card(const char* cmdline);" -#warning You need to pass a NULL. -#warning Please check and remove these warnings. - /* Some standard definitions...*/ /* Some standard definitions...*/ @@ -104,8 +99,9 @@ _bss_init: blo _bss_init /* loop while r0 < r1 */ -#ifdef __thumb__ /* Now we are prepared to start the BSP's C code */ + mov r0, #0 +#ifdef __thumb__ ldr r3, =boot_card bx r3 #else |