Re: [PATCH v6 010/102] x86: spi: Add helper functions for Intel Fast SPI

2019-12-07 Thread Bin Meng
On Sat, Dec 7, 2019 at 12:46 PM Simon Glass wrote: > > Most x86 CPUs use a mechanism where the SPI flash is mapped into the very > top of 32-bit address space, so that it can be executed in place and read > simply by copying from memory. For an 8MB ROM the mapping starts at > 0xff80. > > Howev

[PATCH v6 010/102] x86: spi: Add helper functions for Intel Fast SPI

2019-12-06 Thread Simon Glass
Most x86 CPUs use a mechanism where the SPI flash is mapped into the very top of 32-bit address space, so that it can be executed in place and read simply by copying from memory. For an 8MB ROM the mapping starts at 0xff80. However some recent Intel CPUs do not use a simple 1:1 memory map. Ins