diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2015-09-27 18:21:19 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2015-10-21 21:28:33 +0300 |
commit | 68931a4082812f56657b39168e815c48f0ab0a8c (patch) | |
tree | a6714c6521b40c2f67c18296b76209931e12f5f3 /device_tree.c | |
parent | 5577e57b078a118595071241aba6dac8725a7640 (diff) | |
download | hqemu-68931a4082812f56657b39168e815c48f0ab0a8c.zip hqemu-68931a4082812f56657b39168e815c48f0ab0a8c.tar.gz |
target-xtensa: xtfpga: attach FLASH to system IO
XTFPGA FLASH is tied to XTFPGA system IO block. It's not very important
for systems with MMU where system IO block is visible at single
location, but it's important for noMMU systems, where system IO block is
accessible through two separate physical address ranges.
Map XTFPGA FLASH to system IO block and fix offsets used for mapping.
Create and initialize FLASH device with series of qdev_prop_set_* as
that's the preferred interface now. Keep initialization in a separate
function.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions