diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-03-10 00:16:56 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-03-18 11:16:31 +0100 |
commit | 326d02c34a92f6e30fa3231be83efda43bac36f8 (patch) | |
tree | c530f326be98311aa9f96a89c19eeb514fb999f8 /hw/nvram/chrp_nvram.c | |
parent | 4586c2e5d5cd625b36052d5bd9ef0dee69a5c5c6 (diff) |
hw/block/pflash_cfi02: Set rom_mode to true in pflash_setup_mappings()
There is only one call to pflash_setup_mappings(). Convert 'rom_mode'
to boolean and set it to true directly within pflash_setup_mappings().
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: David Edmondson <david.edmondson@oracle.com>
Message-Id: <20210310170528.1184868-5-philmd@redhat.com>
Diffstat (limited to 'hw/nvram/chrp_nvram.c')
0 files changed, 0 insertions, 0 deletions