Stefan Reinauer has uploaded a new patch set (#4) to the change originally created by Patrick Rudolph. ( https://review.coreboot.org/c/em100/+/35947 )
Change subject: em100: Detect emulated flash chip ......................................................................
em100: Detect emulated flash chip
It's not clear why uploads (EM100 to host) generate a 64MiB ROM file. It turns out that the flash chip needs to be specified at the command line, which isn't intentional.
Detect the currently emulated SPI and use the size as defined in flashchips.
Tested on EM100Pro, will now upload ROM files matching the currently emulated target even without specifying the flash chip on the command line.
Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com Change-Id: Ia3fb3034a195313b8d3bb4ce24dc1779058fd08f --- M em100.c M em100.h 2 files changed, 82 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/47/35947/4