mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
9a764234ee
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>
10 lines
256 B
C
10 lines
256 B
C
#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 */
|