aboutsummaryrefslogtreecommitdiff
path: root/target/xtensa/core-dc233c.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-11-03 15:55:38 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2017-12-18 21:26:19 -0800
commite763684f82d6997554642bab9067e2041315f9d3 (patch)
tree5de42e55a32b8a1e4e30e472525d09bdeccd7f67 /target/xtensa/core-dc233c.c
parent845a2f5a9f6cfa5375879611b8646e1872fb8d45 (diff)
target/xtensa: switch dc233c 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-dc233c.c')
-rw-r--r--target/xtensa/core-dc233c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/xtensa/core-dc233c.c b/target/xtensa/core-dc233c.c
index 40475e5205..00301c28a2 100644
--- a/target/xtensa/core-dc233c.c
+++ b/target/xtensa/core-dc233c.c
@@ -35,6 +35,9 @@
#include "core-dc233c/core-isa.h"
#include "overlay_tool.h"
+#define xtensa_modules xtensa_modules_dc233c
+#include "core-dc233c/xtensa-modules.c"
+
static XtensaConfig dc233c __attribute__((unused)) = {
.name = "dc233c",
.gdb_regmap = {
@@ -44,6 +47,7 @@ static XtensaConfig dc233c __attribute__((unused)) = {
#include "core-dc233c/gdb-config.c"
}
},
+ .isa_internal = &xtensa_modules,
.clock_freq_khz = 10000,
DEFAULT_SECTIONS
};