From: Sid Manning <[email protected]>

Reviewed-by: Taylor Simpson <[email protected]>
Signed-off-by: Sid Manning <[email protected]>
---
 hw/hexagon/hexagon_dsp.c | 4 ++++
 target/hexagon/cpu.c     | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/hw/hexagon/hexagon_dsp.c b/hw/hexagon/hexagon_dsp.c
index 5934a99b522..f3b13199678 100644
--- a/hw/hexagon/hexagon_dsp.c
+++ b/hw/hexagon/hexagon_dsp.c
@@ -161,6 +161,10 @@ static void hexagon_common_init(MachineState *machine, 
Rev_t rev,
                                  OBJECT(tlb_dev), &error_fatal);
         qdev_realize_and_unref(DEVICE(cpu), NULL, &error_fatal);
     }
+
+    rom_add_blob_fixed_as("config_table.rom", &m_cfg->cfgtable,
+                          sizeof(m_cfg->cfgtable), m_cfg->cfgbase,
+                          &address_space_memory);
 }
 
 static void init_mc(MachineClass *mc)
diff --git a/target/hexagon/cpu.c b/target/hexagon/cpu.c
index 895afa2c1ff..39ec8139542 100644
--- a/target/hexagon/cpu.c
+++ b/target/hexagon/cpu.c
@@ -399,7 +399,6 @@ void hexagon_cpu_soft_reset(CPUHexagonState *env)
 }
 #endif
 
-
 static void hexagon_cpu_reset_hold(Object *obj, ResetType type)
 {
     CPUState *cs = CPU(obj);
-- 
2.34.1

Reply via email to