Skip to content
Snippets Groups Projects
Commit edf0e252 authored by Kumar Gala's avatar Kumar Gala Committed by Andy Fleming
Browse files

fsl-ddr: Allow system to boot if we have more than 4G of memory


Previously if we >=4G of memory and !CONFIG_PHYS_64BIT we'd report
an error and hang.  Instead of doing that since DDR is mapped in the
lowest priority LAWs we setup the DDR controller and the max amount
of memory we report back is what we can map (CONFIG_MAX_MEM_MAPPED)

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
Acked-by: default avatarBecky Bruce <beckyb@kernel.crashing.org>
parent 8d949aff
Branches
Tags
No related merge requests found
......@@ -429,7 +429,7 @@ fsl_ddr_compute(fsl_ddr_info_t *pinfo, unsigned int start_step)
if (max_end >= 0xff) {
printf("This U-Boot only supports < 4G of DDR\n");
printf("You could rebuild it with CONFIG_PHYS_64BIT\n");
return 0; /* Ensure DDR setup failure. */
return CONFIG_MAX_MEM_MAPPED;
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment