Re: [PATCH v5 15/79] arm/imx25_pdk: drop RAM size fixup

2020-02-17 Thread Philippe Mathieu-Daudé
On 2/17/20 7:56 PM, Richard Henderson wrote: On 2/17/20 9:33 AM, Igor Mammedov wrote: /* We need to initialize our memory */ if (machine->ram_size > (FSL_IMX25_SDRAM0_SIZE + FSL_IMX25_SDRAM1_SIZE)) { -warn_report("RAM size " RAM_ADDR_FMT " above max supported, " +erro

Re: [PATCH v5 15/79] arm/imx25_pdk: drop RAM size fixup

2020-02-17 Thread Richard Henderson
On 2/17/20 9:33 AM, Igor Mammedov wrote: > /* We need to initialize our memory */ > if (machine->ram_size > (FSL_IMX25_SDRAM0_SIZE + FSL_IMX25_SDRAM1_SIZE)) > { > -warn_report("RAM size " RAM_ADDR_FMT " above max supported, " > +error_report("RAM size " RAM_ADDR_FMT " abo

[PATCH v5 15/79] arm/imx25_pdk: drop RAM size fixup

2020-02-17 Thread Igor Mammedov
If user provided non-sense RAM size, board will complain and continue running with max RAM size supported. Also RAM is going to be allocated by generic code, so it won't be possible for board to fix things up for user. Make it error message and exit to force user fix CLI, instead of accepting non-