On 8 June 2015 at 19:12, Liviu Ionescu <i...@livius.net> wrote: > >> On 08 Jun 2015, at 20:43, Peter Maydell <peter.mayd...@linaro.org> wrote: >> >> ... Unfortunately the test we're doing to decide is calling rom_ptr(), >> which only looks at the addresses the ROMs are registered to >> be copied into; it doesn't know about aliasing. > > I guessed so. > >> If you fudge the if() statement to use 0x08000000 rather >> than 0 as the address passed to rom_ptr() it will probably >> work. > > I tried the following: > > rom = 0x08000000; //rom_ptr(0);
I meant rom = rom_ptr(0x08000000); -- PMM