提交 6451d644 编写于 作者: F Florian Fainelli

soc: brcmstb: biuctrl: Wire-up new registers

Add definitions for B53 systems register: CPU_MCP_FLOW_REG and
CPU_WRITEBACK_CTRL_REG. These register will be saved and restored
accordingly.
Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
上级 584e55d5
...@@ -49,17 +49,23 @@ static inline void cbc_writel(u32 val, int reg) ...@@ -49,17 +49,23 @@ static inline void cbc_writel(u32 val, int reg)
enum cpubiuctrl_regs { enum cpubiuctrl_regs {
CPU_CREDIT_REG = 0, CPU_CREDIT_REG = 0,
CPU_MCP_FLOW_REG,
CPU_WRITEBACK_CTRL_REG
}; };
static const int b15_cpubiuctrl_regs[] = { static const int b15_cpubiuctrl_regs[] = {
[CPU_CREDIT_REG] = 0x184, [CPU_CREDIT_REG] = 0x184,
[CPU_MCP_FLOW_REG] = -1,
[CPU_WRITEBACK_CTRL_REG] = -1,
}; };
static const int b53_cpubiuctrl_regs[] = { static const int b53_cpubiuctrl_regs[] = {
[CPU_CREDIT_REG] = 0x0b0, [CPU_CREDIT_REG] = 0x0b0,
[CPU_MCP_FLOW_REG] = 0x0b4,
[CPU_WRITEBACK_CTRL_REG] = 0x22c,
}; };
#define NUM_CPU_BIUCTRL_REGS 1 #define NUM_CPU_BIUCTRL_REGS 3
static int __init mcp_write_pairing_set(void) static int __init mcp_write_pairing_set(void)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册