summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mvme5500/start/start.S
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-10-20 17:55:18 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-10-20 17:55:18 +0000
commit5eccbac62e4d57a5b7d70692c531758cd2ac7f37 (patch)
tree71080585dd243f95106f7ad3bbe91c08dc5f831f /c/src/lib/libbsp/powerpc/mvme5500/start/start.S
parent2009-10-20 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-5eccbac62e4d57a5b7d70692c531758cd2ac7f37.tar.bz2
2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* start/start.S, startup/bspstart.c: let 'save_boot_params()' return a pointer to the commandline saved by the BSP and pass this pointer on to 'boot_card()'.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme5500/start/start.S')
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/start/start.S7
1 files changed, 1 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/start/start.S b/c/src/lib/libbsp/powerpc/mvme5500/start/start.S
index db53b0e89d..41b4d59fdb 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/start/start.S
+++ b/c/src/lib/libbsp/powerpc/mvme5500/start/start.S
@@ -13,11 +13,6 @@
*
*/
-#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.
-
#include <rtems/asm.h>
#include <rtems/score/cpu.h>
#include <rtems/powerpc/powerpc.h>
@@ -131,7 +126,7 @@ enter_C_code:
/*
* We are know in a environment that is totally independent from bootloader setup.
*/
- li r3, 0 /* command line */
+ /* pass result of 'save_boot_params' to 'boot_card' in R3 */
bl boot_card
bl _return_to_ppcbug