On 3/15/20 6:48 AM, Philippe Mathieu-Daudé wrote: > From: Philippe Mathieu-Daudé <phi...@redhat.com> > > The RX code flash is not a Masked ROM but a EEPROM (electrically > erasable programmable flash memory). > When implementing the flash hardware, the rom_ptr() returns NULL > and the reset vector is not set. > Instead, use the address_space ld/st API to fetch the reset vector > address from the code flash. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > Based-on: <20200315132810.7022-1-f4...@amsat.org> > > Same issue might occurs in Cortex-M arm_cpu_reset() > --- > target/rx/cpu.c | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~