linux/arch/mips/bcm47xx
Christian Marangi b95b30e50a mips: bmips: setup: make CBR address configurable
Add support to provide CBR address from DT to handle broken
SoC/Bootloader that doesn't correctly init it. This permits to use the
RAC flush even in these condition.

To provide a CBR address from DT, the property "brcm,bmips-cbr-reg"
needs to be set in the "cpus" node. On DT init, this property presence
will be checked and will set the bmips_cbr_addr value accordingly. Also
bmips_rac_flush_disable will be set to false as RAC flush can be
correctly supported.

The CBR address from DT will overwrite the cached one and the
one set in the CBR register will be ignored.

Also the DT CBR address is validated on being outside DRAM window.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2024-06-27 10:44:32 +02:00
..
bcm47xx_private.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board.c MIPS: BCM47XX: Add support for Huawei B593u-12 2023-03-14 17:05:14 +01:00
buttons.c MIPS: Fix typos 2024-01-08 10:39:12 +01:00
irq.c MIPS: BCM47XX: Initialize bcma bus later (with mm available) 2014-11-24 07:45:00 +01:00
Kconfig MIPS: BCM47XX: fix kconfig dependency bug for BCM47XX_BCMA 2020-11-12 23:21:55 +01:00
leds.c MIPS: BCM47XX: Add support for Huawei B593u-12 2023-03-14 17:05:14 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Platform MIPS: new Kconfig option ZBOOT_LOAD_ADDRESS 2022-01-02 14:17:30 +01:00
prom.c mips: bmips: rework and cache CBR addr handling 2024-06-27 10:44:24 +02:00
serial.c MIPS: BCM47xx: Make serial explicitly non-modular 2016-10-04 16:13:57 +02:00
setup.c mips: bmips: setup: make CBR address configurable 2024-06-27 10:44:32 +02:00
time.c MIPS: BCM47XX: Fix coding style to match kernel standards 2015-04-01 17:22:10 +02:00
workarounds.c MIPS: BCM47XX: Add support for Netgear WNR3500L v2 2022-07-15 14:22:47 +02:00