aspeed: use first FMC flash as a boot ROM
commitd769a1da342d6af58adcaf1db2752654963a6a8b
authorCédric Le Goater <clg@kaod.org>
Fri, 20 Jan 2017 11:15:08 +0000 (20 11:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:08 +0000 (20 11:15 +0000)
treee6e06ac565e0efc29dcf0f5e2748456516fefc84
parent371a3dd2042a935258451270f0dfd13dad728061
aspeed: use first FMC flash as a boot ROM

Create a ROM region, using the default size of the mapping window for
the CE0 FMC flash module, and fill it with the flash content.

This is a little hacky but until we can boot from a MMIO region, it
seems difficult to do anything else.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1483979087-32663-11-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed.c