diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-10-31 14:21:49 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-11-20 12:20:41 -0800 |
commit | 7da9111e77b9cdb3a927dcd47642b7ffff9de636 (patch) | |
tree | 11ee37bc1b9a3d9a6479a6734b819fc6c624be21 /target/xtensa/core-dc233c.c | |
parent | 4614f0f8bd2e40cbc27ab6b9a1fd6244259ade8d (diff) |
target/xtensa: drop num_[core_]regs from dc232b/dc233c configs
Now that xtensa_count_regs does the right thing, remove manual
initialization of these fields from the affected configurations and let
xtensa_finalize_config initialize them. Add XTREG_END to terminate
register lists.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/core-dc233c.c')
-rw-r--r-- | target/xtensa/core-dc233c.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/xtensa/core-dc233c.c b/target/xtensa/core-dc233c.c index d701e3f5de..8853bfd4d0 100644 --- a/target/xtensa/core-dc233c.c +++ b/target/xtensa/core-dc233c.c @@ -40,8 +40,6 @@ static XtensaConfig dc233c __attribute__((unused)) = { .name = "dc233c", .gdb_regmap = { - .num_regs = 121, - .num_core_regs = 52, .reg = { #include "core-dc233c/gdb-config.inc.c" } |