aboutsummaryrefslogtreecommitdiff
path: root/target/xtensa/core-dc232b.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-11-03 15:55:17 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2017-12-18 21:26:19 -0800
commit845a2f5a9f6cfa5375879611b8646e1872fb8d45 (patch)
tree109a5a72d68897d9a73a90ce921abb4d2c3ae32d /target/xtensa/core-dc232b.c
parent2557c3adf07ffcf12316afdbdecedfd260c77853 (diff)
target/xtensa: switch dc232b to libisa
Autogenerated xtensa-modules.c is added by the import_core.sh script. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/core-dc232b.c')
-rw-r--r--target/xtensa/core-dc232b.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/xtensa/core-dc232b.c b/target/xtensa/core-dc232b.c
index bb8ed4197f..fe80582df4 100644
--- a/target/xtensa/core-dc232b.c
+++ b/target/xtensa/core-dc232b.c
@@ -34,6 +34,9 @@
#include "core-dc232b/core-isa.h"
#include "overlay_tool.h"
+#define xtensa_modules xtensa_modules_dc232b
+#include "core-dc232b/xtensa-modules.c"
+
static XtensaConfig dc232b __attribute__((unused)) = {
.name = "dc232b",
.gdb_regmap = {
@@ -43,6 +46,7 @@ static XtensaConfig dc232b __attribute__((unused)) = {
#include "core-dc232b/gdb-config.c"
}
},
+ .isa_internal = &xtensa_modules,
.clock_freq_khz = 10000,
DEFAULT_SECTIONS
};