diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-09-14 12:09:34 -0700 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2015-10-09 13:42:16 -0700 |
commit | 9a764234eee689ea800424ab99b08ff07a8bdbcd (patch) | |
tree | ad048063e4d7d6387c54cba507da8aa661c5eed0 /include/linux/soc | |
parent | d52fad262041217be0a0e7049253186ec9cfb2a6 (diff) |
soc: brcmstb: Add Bus Interface Unit control setup
Broadcom STB SoCs (brcmstb) require an early setup of their Bus
Interface Unit control register, this needs to happen before SMP is
brought up because it affects how the CPU complex will be interfaced to
the memory controller.
Add support code which properly initializes the BIU registers based on
whether "brcm,write-pairing" is present in Device Tree, and take care of
saving and restoring credit register settings during system-wide
suspend/resume operations.
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'include/linux/soc')
-rw-r--r-- | include/linux/soc/brcmstb/brcmstb.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/soc/brcmstb/brcmstb.h b/include/linux/soc/brcmstb/brcmstb.h new file mode 100644 index 000000000000..337ce414e898 --- /dev/null +++ b/include/linux/soc/brcmstb/brcmstb.h @@ -0,0 +1,10 @@ +#ifndef __BRCMSTB_SOC_H +#define __BRCMSTB_SOC_H + +/* + * Bus Interface Unit control register setup, must happen early during boot, + * before SMP is brought up, called by machine entry point. + */ +void brcmstb_biuctrl_init(void); + +#endif /* __BRCMSTB_SOC_H */ |