[PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

Giulio Benetti giulio.benetti at benettiengineering.com
Wed Jan 31 14:06:47 CET 2024


Hello Jesse, Fabio, All,

On 31/01/24 02:44, Jesse T wrote:
> On Mon, Jan 29, 2024 at 8:34 AM Fabio Estevam <festevam at gmail.com> wrote:
>>
>> On Sun, Jan 28, 2024 at 6:43 PM Jesse Taube <mr.bossman075 at gmail.com> wrote:
>>
>>> +++ b/configs/imxrt1050-evk_fspi_defconfig
>>> @@ -0,0 +1,100 @@
>>> +CONFIG_ARM=y
>>> +CONFIG_SYS_DCACHE_OFF=y
>>
>> Out of curiosity: what are the problems if the D-Cache is turned on?
> 
> I don't remember this was asked when we submitted the original
> imxrt1050-evk_defconfig

The problem is that mmu_set_region_dcache_behaviour() is not implemented
for armv7m and mxsfb.c requires it when DCache is enabled, that's why
I've disabled.

So we can keep it as is or implement armv7m complete 
mmu_set_region_dcache_behaviour()

Best regards
-- 
Giulio Benetti
CEO&CTO at Benetti Engineering sas


More information about the U-Boot mailing list