1
linux/arch/mips/bcm63xx
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
..
boards MIPS: BCM63XX: Fix missing prototypes 2024-01-26 10:33:20 +01:00
clk.c MIPS: Fix typos 2024-01-08 10:39:12 +01:00
cpu.c
cs.c
dev-enet.c
dev-flash.c
dev-hsspi.c
dev-pcmcia.c
dev-rng.c MIPS: BCM63XX: Fix missing prototypes 2024-01-26 10:33:20 +01:00
dev-spi.c
dev-uart.c MIPS: BCM63XX: Fix missing prototypes 2024-01-26 10:33:20 +01:00
dev-usb-usbd.c
dev-wdt.c MIPS: BCM63XX: Fix missing prototypes 2024-01-26 10:33:20 +01:00
early_printk.c
gpio.c
irq.c MIPS: BCM63XX: Fix missing prototypes 2024-01-26 10:33:20 +01:00
Kconfig
Makefile
nvram.c
Platform
prom.c mips: bmips: rework and cache CBR addr handling 2024-06-27 10:44:24 +02:00
reset.c
setup.c mips: bmips: setup: make CBR address configurable 2024-06-27 10:44:32 +02:00
timer.c MIPS: BCM63XX: Fix missing prototypes 2024-01-26 10:33:20 +01:00