hw/ppc/e500: Implement pflash handling
authorBernhard Beschow <shentey@gmail.com>
Tue, 18 Oct 2022 21:01:44 +0000 (23:01 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Sat, 29 Oct 2022 09:34:34 +0000 (06:34 -0300)
commit63e4bf8e84721231ea447b0e4afcb0a4378763c2
tree6e7411b951b268420394d07fd0c0743ea19a04f6
parent1e76667f7adf48c6c3596aaa26b8886b57b8498d
hw/ppc/e500: Implement pflash handling

Allows e500 boards to have their root file system reside on flash using
only builtin devices located in the eLBC memory region.

Note that the flash memory area is only created when a -pflash argument is
given, and that the size is determined by the given file. The idea is to
put users into control.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221018210146.193159-6-shentey@gmail.com>
[danielhb: use memory_region_size() in mmio_size]
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
docs/system/ppc/ppce500.rst
hw/ppc/Kconfig
hw/ppc/e500.c