Philippe Mathieu-Daudé
30ade0c416
hw/arm/stm32: Use memory_region_init_rom() with read-only regions
...
The scripts/coccinelle/memory-region-housekeeping.cocci reported:
* TODO [[view:./hw/arm/stm32f205_soc.c::face=ovl-face1::linb=96::colb=4::cole=26][potential use of memory_region_init_rom*() in ./hw/arm/stm32f205_soc.c::96]]
* TODO [[view:./hw/arm/stm32f405_soc.c::face=ovl-face1::linb=98::colb=4::cole=26][potential use of memory_region_init_rom*() in ./hw/arm/stm32f405_soc.c::98]]
We can indeed replace the memory_region_init_ram() and
memory_region_set_readonly() calls by memory_region_init_rom().
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2020-03-17 15:18:49 +01:00
..
2020-03-12 16:27:33 +00:00
2020-03-12 16:27:33 +00:00
2020-01-24 20:59:15 +01:00
2020-01-29 19:28:52 +01:00
2020-02-13 14:14:55 +00:00
2020-02-13 14:14:55 +00:00
2020-02-19 16:49:54 +00:00
2019-10-25 13:09:27 +01:00
2020-01-24 20:59:15 +01:00
2020-02-20 14:47:08 +01:00
2020-02-19 16:49:54 +00:00
2020-03-12 16:27:33 +00:00
2020-02-19 16:49:54 +00:00
2019-09-03 16:20:34 +01:00
2019-09-04 14:44:54 +01:00
2020-03-17 15:18:46 +01:00
2020-02-13 14:14:52 +00:00
2019-09-03 16:20:34 +01:00
2020-03-12 16:27:33 +00:00
2019-09-03 16:20:34 +01:00
2020-03-05 16:09:14 +00:00
2020-02-19 16:49:54 +00:00
2020-03-12 16:27:33 +00:00
2020-02-28 16:14:57 +00:00
2020-03-12 16:27:33 +00:00
2020-02-19 16:49:55 +00:00
2020-03-17 15:18:46 +01:00
2020-03-12 16:27:33 +00:00
2020-02-19 16:49:55 +00:00
2020-02-19 16:49:55 +00:00
2020-02-19 16:49:55 +00:00
2020-02-19 16:49:55 +00:00
2020-01-24 20:59:15 +01:00
2019-10-24 20:10:27 +02:00
2020-03-05 16:09:15 +00:00
2020-01-17 14:09:29 +00:00
2020-01-24 20:59:15 +01:00
2020-02-19 16:49:56 +00:00
2020-01-07 17:24:29 +04:00
2020-01-07 17:24:29 +04:00
2020-03-17 15:18:46 +01:00
2020-03-12 16:27:33 +00:00
2020-03-17 15:18:46 +01:00
2020-01-24 20:59:15 +01:00
2020-03-05 16:09:15 +00:00
2020-02-19 16:49:56 +00:00
2020-02-19 16:49:56 +00:00
2020-02-28 16:14:57 +00:00
2020-03-05 16:09:14 +00:00
2019-12-20 14:03:00 +00:00
2020-02-20 14:47:08 +01:00
2020-03-17 15:18:46 +01:00
2020-03-17 15:18:46 +01:00
2020-03-17 15:18:49 +01:00
2020-03-17 15:18:49 +01:00
2020-03-05 16:09:16 +00:00
2019-10-22 17:44:01 +01:00
2020-03-05 12:18:16 -05:00
2020-03-17 15:18:46 +01:00
2020-02-19 16:49:56 +00:00
2020-02-19 16:49:56 +00:00
2020-02-13 14:14:53 +00:00
2020-03-12 16:27:33 +00:00
2020-02-28 16:14:57 +00:00
2020-03-05 16:09:14 +00:00
2020-03-05 16:09:13 +00:00
2020-02-19 16:49:57 +00:00
2020-01-24 20:59:15 +01:00
2020-03-05 16:09:15 +00:00