Have a nice day,
Boot from eSPI is supported by the P1022 using an on-chip ROM which contains the basic eSPI device driver and the code to perform block copy from eSPI EPROM to any target memory. Selecting cfg_rom_loc[0:3]=0110, causes the e500 CPU to fetch data from the on-chip ROM.
The EEPROM should contain a specific data structure with control words, device configuration information and
initialization code. The on-chip ROM boot code uses the information from the EEPROM content to configure the device, and to copy the initialization code to a target memory device (for example, the DDR) through the eSPI interface. After all the code has been copied, the e500 core starts to execute the code from the target memory device.
The SPI boot details you can find in section 4.5.2 eSPI Boot ROM of the P1022 reference manual available on the NXP site.
Serge