bsp/qoriq: Use at most 2GiB of RAM

This commit is contained in:
Sebastian Huber
2017-03-02 16:53:45 +01:00
parent d3f60afbfe
commit c0dafd7ba3

View File

@@ -177,7 +177,7 @@ static void TEXT config_fdt_adjust(void)
size = 0;
}
size = MAX(size, 0x80000000U);
size = MIN(size, 0x80000000U);
if (begin == 0 && size > (uintptr_t) bsp_section_work_end) {
config[WORKSPACE_ENTRY_INDEX].size += (uintptr_t) size