Re: [U-Boot] [PATCHv7 1/6] armv8: fsl-layerscape: add i/d-cache enable function to enable_caches

2016-07-19 Thread york sun
On 06/28/2016 05:29 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > This function assume that the d-cache and MMU has been enabled earlier, > so it just created MMU table in main memory. But the assumption is not > always correct, for example, the early setup is done in

[U-Boot] [PATCHv7 1/6] armv8: fsl-layerscape: add i/d-cache enable function to enable_caches

2016-06-28 Thread Zhiqiang Hou
From: Hou Zhiqiang This function assume that the d-cache and MMU has been enabled earlier, so it just created MMU table in main memory. But the assumption is not always correct, for example, the early setup is done in EL3, while enable_caches() is called when the PE has