summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2011-05-18 16:09:37 +0000
committerTill Straumann <strauman@slac.stanford.edu>2011-05-18 16:09:37 +0000
commitd2b877ada62582ae7db542ce5559046f5634fb4c (patch)
tree049c34b88dcf58a07ef856c40e751aa314733909
parent2011-05-18 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-d2b877ada62582ae7db542ce5559046f5634fb4c.tar.bz2
2011-05-18 Till Straumann <strauman@slac.stanford.edu>
PR1797/bsps * shared/bootcard.c: Fixed a typo (in code, not comment) which I introduced with the last change.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/ChangeLog6
-rw-r--r--c/src/lib/libbsp/shared/bootcard.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/ChangeLog b/c/src/lib/libbsp/ChangeLog
index f17382dfa3..d466bc3409 100644
--- a/c/src/lib/libbsp/ChangeLog
+++ b/c/src/lib/libbsp/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-18 Till Straumann <strauman@slac.stanford.edu>
+
+ PR1797/bsps
+ * shared/bootcard.c: Fixed a typo (in code, not comment) which
+ I introduced with the last change.
+
2011-05-17 Till Straumann <strauman@slac.stanford.edu>
PR1797/bsps
diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c
index bbd4b9f149..939a2069fa 100644
--- a/c/src/lib/libbsp/shared/bootcard.c
+++ b/c/src/lib/libbsp/shared/bootcard.c
@@ -84,7 +84,7 @@ static void bootcard_bsp_libc_helper(
)
{
if ( heap_start == BSP_BOOTCARD_HEAP_USES_WORK_AREA ) {
- if ( rtems_unified_work_area ) {
+ if ( ! rtems_unified_work_area ) {
uintptr_t work_space_size = rtems_configuration_get_work_space_size();
heap_start = (char *) work_area_start + work_space_size;