/* Blackfin Phase Lock Loop (PLL) model.
- Copyright (C) 2010-2011 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 Free Software Foundation, Inc.
Contributed by Analog Devices, Inc.
This file is part of simulators.
#define mmr_base() offsetof(struct bfin_pll, pll_ctl)
#define mmr_offset(mmr) (offsetof(struct bfin_pll, mmr) - mmr_base())
-static const char * const mmr_names[] = {
+static const char * const mmr_names[] =
+{
"PLL_CTL", "PLL_DIV", "VR_CTL", "PLL_STAT", "PLL_LOCKCNT", "CHIPID",
};
#define mmr_name(off) mmr_names[(off) / 4]
return nr_bytes;
}
-static const struct hw_port_descriptor bfin_pll_ports[] = {
+static const struct hw_port_descriptor bfin_pll_ports[] =
+{
{ "pll", 0, 0, output_port, },
{ NULL, 0, 0, 0, },
};
pll->pll_lockcnt = 0x300;
}
-const struct hw_descriptor dv_bfin_pll_descriptor[] = {
+const struct hw_descriptor dv_bfin_pll_descriptor[] =
+{
{"bfin_pll", bfin_pll_finish,},
{NULL, NULL},
};