drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -863,16 +863,16 @@ phys_size_t __fsl_ddr_sdram(fsl_ddr_info_t *pinfo)
|
||||
if ((first_ctrl == 0) && (total_memory - 1 > (phys_size_t)~0ULL)) {
|
||||
puts("Detected ");
|
||||
print_size(total_memory, " of memory\n");
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
#ifndef CONFIG_XPL_BUILD
|
||||
puts(" "); /* re-align to match init_dram print */
|
||||
#endif
|
||||
puts("This U-Boot only supports <= ");
|
||||
print_size((unsigned long long)((phys_size_t)~0ULL)+1, " of DDR\n");
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
#ifndef CONFIG_XPL_BUILD
|
||||
puts(" "); /* re-align to match init_dram print */
|
||||
#endif
|
||||
puts("You could rebuild it with CONFIG_PHYS_64BIT\n");
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
#ifndef CONFIG_XPL_BUILD
|
||||
puts(" "); /* re-align to match init_dram print */
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user