[U-Boot] [PATCH 1/5] mips: bmips: bcm6358: fix brcm, bcm6358-mc size

Shrink brcm,bcm6358-mc size to avoid overlapping with other controllers
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com --- arch/mips/dts/brcm,bcm6358.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dts/brcm,bcm6358.dtsi index df75988..0dad998 100644 --- a/arch/mips/dts/brcm,bcm6358.dtsi +++ b/arch/mips/dts/brcm,bcm6358.dtsi @@ -133,7 +133,7 @@
memory-controller@fffe1200 { compatible = "brcm,bcm6358-mc"; - reg = <0xfffe1200 0x1000>; + reg = <0xfffe1200 0x4c>; u-boot,dm-pre-reloc; }; };

Shrink brcm,bcm6328-mc size to avoid overlapping with other controllers
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com --- arch/mips/dts/brcm,bcm6328.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts/brcm,bcm6328.dtsi index 4adc83f..3926885 100644 --- a/arch/mips/dts/brcm,bcm6328.dtsi +++ b/arch/mips/dts/brcm,bcm6328.dtsi @@ -120,7 +120,7 @@
memory-controller@10003000 { compatible = "brcm,bcm6328-mc"; - reg = <0x10003000 0x1000>; + reg = <0x10003000 0x864>; u-boot,dm-pre-reloc; }; };

Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas:
Shrink brcm,bcm6328-mc size to avoid overlapping with other controllers
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com
arch/mips/dts/brcm,bcm6328.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied to u-boot-mips/master, thanks.

Shrink brcm,bcm6328-mc size to avoid overlapping with other controllers
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com --- arch/mips/dts/brcm,bcm63268.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm,bcm63268.dtsi index 3d0f8e0..b03763f 100644 --- a/arch/mips/dts/brcm,bcm63268.dtsi +++ b/arch/mips/dts/brcm,bcm63268.dtsi @@ -136,7 +136,7 @@
memory-controller@10003000 { compatible = "brcm,bcm6328-mc"; - reg = <0x10003000 0x1000>; + reg = <0x10003000 0x894>; u-boot,dm-pre-reloc; }; };

Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas:
Shrink brcm,bcm6328-mc size to avoid overlapping with other controllers
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com
arch/mips/dts/brcm,bcm63268.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied to u-boot-mips/master, thanks.

brcm,bcm63268.dtsi uses brcm,bcm6328-mc instead of brcm,bcm63268-mc
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com --- drivers/ram/bmips_ram.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c index 9c0b23b..d0f7cd7 100644 --- a/drivers/ram/bmips_ram.c +++ b/drivers/ram/bmips_ram.c @@ -90,11 +90,7 @@ static const struct udevice_id bmips_ram_ids[] = { }, { .compatible = "brcm,bcm6358-mc", .data = (ulong)&bmips_ram_bcm6358, - }, { - .compatible = "brcm,bcm63268-mc", - .data = (ulong)&bmips_ram_bcm6328, - }, - { /* sentinel */ } + }, { /* sentinel */ } };
static int bmips_ram_probe(struct udevice *dev)

Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas:
brcm,bcm63268.dtsi uses brcm,bcm6328-mc instead of brcm,bcm63268-mc
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com
drivers/ram/bmips_ram.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
applied to u-boot-mips/master, thanks.

Fixes commit a186d26, which missed including SFR NeufBox config from bmips
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com --- arch/mips/mach-bmips/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/arch/mips/mach-bmips/Kconfig b/arch/mips/mach-bmips/Kconfig index d168448..4a0c383 100644 --- a/arch/mips/mach-bmips/Kconfig +++ b/arch/mips/mach-bmips/Kconfig @@ -63,6 +63,11 @@ config BOARD_HUAWEI_HG556A depends on SOC_BMIPS_BCM6358 select BMIPS_SUPPORTS_BOOT_RAM
+config BOARD_SFR_NB4_SER + bool "SFR NeufBox 4 (Sercomm)" + depends on SOC_BMIPS_BCM6358 + select BMIPS_SUPPORTS_BOOT_RAM + endchoice
choice @@ -84,5 +89,6 @@ config BMIPS_SUPPORTS_BOOT_RAM source "board/comtrend/ar5387un/Kconfig" source "board/comtrend/vr3032u/Kconfig" source "board/huawei/hg556a/Kconfig" +source "board/sfr/nb4_ser/Kconfig"
endmenu

Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas:
Fixes commit a186d26, which missed including SFR NeufBox config from bmips
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com
arch/mips/mach-bmips/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
applied to u-boot-mips/master, thanks.

Am 11.05.2017 um 11:01 schrieb Álvaro Fernández Rojas:
Shrink brcm,bcm6358-mc size to avoid overlapping with other controllers
Signed-off-by: Álvaro Fernández Rojas noltari@gmail.com
arch/mips/dts/brcm,bcm6358.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied to u-boot-mips/master, thanks.
participants (2)
-
Daniel Schwierzeck
-
Álvaro Fernández Rojas