diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog index e412505775..0084f1b7b0 100644 --- a/c/src/lib/libbsp/shared/ChangeLog +++ b/c/src/lib/libbsp/shared/ChangeLog @@ -1,3 +1,7 @@ +2008-09-18 Joel Sherrill + + * bootcard.c: Perform bsp_start() before bsp_get_work_area(). + 2008-09-17 Joel Sherrill * bootcard.c: Add support for optionally having a unified work area. In 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 */