diff options
Diffstat (limited to 'sim/bfin/dv-bfin_ebiu_amc.c')
-rw-r--r-- | sim/bfin/dv-bfin_ebiu_amc.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sim/bfin/dv-bfin_ebiu_amc.c b/sim/bfin/dv-bfin_ebiu_amc.c index 504e33b..60868cf 100644 --- a/sim/bfin/dv-bfin_ebiu_amc.c +++ b/sim/bfin/dv-bfin_ebiu_amc.c @@ -58,14 +58,17 @@ struct bfin_ebiu_amc #define mmr_offset(mmr) (offsetof(struct bfin_ebiu_amc, mmr) - mmr_base()) #define mmr_idx(mmr) (mmr_offset (mmr) / 4) -static const char * const bf50x_mmr_names[] = { +static const char * const bf50x_mmr_names[] = +{ "EBIU_AMGCTL", "EBIU_AMBCTL0", "EBIU_AMBCTL1", [mmr_idx (bf50x.mode)] = "EBIU_MODE", "EBIU_FCTL", }; -static const char * const bf53x_mmr_names[] = { +static const char * const bf53x_mmr_names[] = +{ "EBIU_AMGCTL", "EBIU_AMBCTL0", "EBIU_AMBCTL1", }; -static const char * const bf54x_mmr_names[] = { +static const char * const bf54x_mmr_names[] = +{ "EBIU_AMGCTL", "EBIU_AMBCTL0", "EBIU_AMBCTL1", "EBIU_MSBCTL", "EBIU_ARBSTAT", "EBIU_MODE", "EBIU_FCTL", }; |