On 09/18/20 10:17, Philippe Mathieu-Daudé wrote: > I'm very confused by pc_system_flash_map()... Why not check > that no pflash exceeds 8MiB? Then 2 combined would be always > <16MiB.
The requirement (limit) is on the total address range that is occupied by the flash chips that are mapped in sequence. There is no size limit that applies to an individual chip. It's also not required that chips have the same size (or be limited by the same individual size). Thanks Laszlo