From 4e1cc1739b92137683954179205b830ffc5043b2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 18 Sep 2008 20:48:17 +0000 Subject: 2008-09-18 Joel Sherrill * bootcard.c: Perform bsp_start() before bsp_get_work_area(). --- c/src/lib/libbsp/shared/bootcard.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'c/src/lib/libbsp/shared/bootcard.c') diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c index 5fa922c83d..4b551fc11e 100644 --- a/c/src/lib/libbsp/shared/bootcard.c +++ b/c/src/lib/libbsp/shared/bootcard.c @@ -165,6 +165,11 @@ int boot_card( else rtems_progname = "RTEMS"; + /* + * Invoke Board Support Package initialization routine written in C. + */ + bsp_start(); + /* * Find out where the block of memory the BSP will use for * the RTEMS Workspace and the C Program Heap is. @@ -198,11 +203,6 @@ int boot_card( } #endif - /* - * Invoke Board Support Package initialization routine written in C. - */ - bsp_start(); - /* * Initialize RTEMS data structures */ -- cgit v1.2.3