sim: ft32: move arch-specific settings to internal header
authorMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 03:42:02 +0000 (22:42 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 13:32:58 +0000 (08:32 -0500)
There's no need for these settings to be in sim-main.h which is shared
with common/ sim code, so drop the ft32-sim.h include and move it to
the few files that actually need it.

sim/ft32/interp.c
sim/ft32/sim-main.h

index 9324475709e22fdd4a81b49709bb09c2590eaa24..dfea4720c2200d9e18e7edc89788dacde67fd718 100644 (file)
@@ -37,6 +37,8 @@
 
 #include "opcode/ft32.h"
 
+#include "ft32-sim.h"
+
 /*
  * FT32 is a Harvard architecture: RAM and code occupy
  * different address spaces.
index 5c84f9e2f2191c42bc30c0e59e009693a4223503..4529d0187560041c6076f46bf7b9a8d13919ce99 100644 (file)
@@ -24,6 +24,4 @@
 #include "sim-basics.h"
 #include "sim-base.h"
 
-#include "ft32-sim.h"
-
 #endif