Re: [U-Boot] [PATCH 33/45] x86: Update mtrr functions to allow leaving cache alone

2018-10-09 Thread sjg
On Tue, Oct 2, 2018 at 2:24 AM Simon Glass wrote: > > At present the mtrr functions disable the cache before making changes and > enable it again afterwards. This is fine in U-Boot, but does not work if > running in CAR (such as we are in SPL). > > Update the functions so that the caller can reque

Re: [U-Boot] [PATCH 33/45] x86: Update mtrr functions to allow leaving cache alone

2018-10-02 Thread Bin Meng
On Tue, Oct 2, 2018 at 2:24 AM Simon Glass wrote: > > At present the mtrr functions disable the cache before making changes and > enable it again afterwards. This is fine in U-Boot, but does not work if > running in CAR (such as we are in SPL). > > Update the functions so that the caller can reque

[U-Boot] [PATCH 33/45] x86: Update mtrr functions to allow leaving cache alone

2018-10-01 Thread Simon Glass
At present the mtrr functions disable the cache before making changes and enable it again afterwards. This is fine in U-Boot, but does not work if running in CAR (such as we are in SPL). Update the functions so that the caller can request that caches be left alone. Signed-off-by: Simon Glass ---