Changeset 9edc558d in rtems


Ignore:
Timestamp:
Dec 20, 2018, 1:21:40 PM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
8af51b0
Parents:
6164fd8
git-author:
Sebastian Huber <sebastian.huber@…> (12/20/18 13:21:40)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/20/18 13:22:18)
Message:

bsp/imx: Fix for RAM end at 4GiB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/imx/start/bspstarthooks.c

    r6164fd8 r9edc558d  
    6464      size = fdt32_to_cpu(((fdt32_t *) val)[1]);
    6565
     66      /* The heap code does not like an end address of zero */
     67      if (begin + size == 0) {
     68        size -= 4;
     69      }
     70
    6671      imx_mmu_config_table[WORKSPACE_ENTRY_INDEX].end = begin + size;
    6772    }
Note: See TracChangeset for help on using the changeset viewer.