Re: [PATCH 1/1] dma: bcm6348: incorrect buffer allocation

2020-12-27 Thread Álvaro Fernández Rojas
Hello Heinrich, This is not swapped. busy_desc is only used in RX. Please, check the rest of the driver: https://github.com/u-boot/u-boot/blob/master/drivers/dma/bcm6348-iudma.c Regards, Álvaro. El 27/12/2020 a las 10:26, Heinrich Schuchardt escribió: Calling calloc() for 0 members does not ma

[PATCH] bmips: allow disabling usb support

2020-04-04 Thread Álvaro Fernández Rojas
; ^ CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS Signed-off-by: Álvaro Fernández Rojas --- include/configs/bmips_bcm6318.h | 2 ++ include/configs/bmips_bcm63268.h | 2 ++ include/configs/bmips_bcm6328.h | 2 ++ include/configs/bmips_bcm6348.h | 2 ++ include/configs

Re: [PATCH] nand: brcmnand: return without disabling clock

2020-04-02 Thread Álvaro Fernández Rojas
> El 2 abr 2020, a las 17:49, Tom Rini escribió: > > On Thu, Apr 02, 2020 at 11:15:51AM +0200, Daniel Schwierzeck wrote: >> >> >> Am 02.04.20 um 10:37 schrieb Álvaro Fernández Rojas: >>> Linux Broadcom NAND driver only disabled clock if no childs are

Re: [PATCH v2] arch: Add explicit linker script for u-boot-elf

2020-04-02 Thread Álvaro Fernández Rojas
Hi Daniel, Tested on Netgear DGND3700v2 (bmips/bcm6362) with no regressions. Tested-By: Álvaro Fernández Rojas > El 2 abr 2020, a las 11:28, Daniel Schwierzeck > escribió: > > +cc Álvaro > > Am 30.03.20 um 13:58 schrieb Michal Simek: >> Commit f4dc714aaa2d (&quo

[PATCH] nand: brcmnand: return without disabling clock

2020-04-02 Thread Álvaro Fernández Rojas
Linux Broadcom NAND driver only disabled clock if no childs are initialized. This section of the code seems to have been accidentally dropped when it was imported in U-Boot. Signed-off-by: Álvaro Fernández Rojas --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 9 - 1 file changed, 8

[U-Boot] [PATCH] mips: bmips: switch to board defines for dtb

2019-09-16 Thread Álvaro Fernández Rojas
Fixes commit 344db3f, which added missing bmips dtbs depending on their SoCs. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile index e2de1da147..c9d75596f2

[U-Boot] [PATCH] bmips: correct name characters

2019-08-30 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6362.dtsi | 2 +- arch/mips/dts/netgear,dgnd3700v2.dts| 2 +- board/netgear/dgnd3700v2/MAINTAINERS| 2 +- board/netgear/dgnd3700v2/dgnd3700v2.c | 2

[U-Boot] [PATCH] bmips: configs: switch to size definitions

2019-08-30 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- include/configs/bmips_bcm3380.h | 6 -- include/configs/bmips_bcm6318.h | 6 -- include/configs/bmips_bcm63268.h | 6 -- include/configs/bmips_bcm6328.h | 6 -- include/configs/bmips_bcm6338.h

[U-Boot] [PATCH V2] mips: bmips: remove unneeded definitions

2019-08-30 Thread Álvaro Fernández Rojas
These are no longer needed. Signed-off-by: Álvaro Fernández Rojas --- v2: CONFIG_SYS_MONITOR_BASE is used for relocation and can't be removed include/configs/bmips_common.h | 4 1 file changed, 4 deletions(-) diff --git a/include/configs/bmips_common.h b/include/configs/bmips_com

[U-Boot] [PATCH V3 4/6] bmips: bcm6362: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM6362 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: no changes arch/mips/dts/brcm,bcm6362.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts

[U-Boot] [PATCH V3 3/6] bmips: bcm6328: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM6328 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: no changes arch/mips/dts/brcm,bcm6328.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/mips/dts

[U-Boot] [PATCH V3 5/6] bmips: bcm63268: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM63268 uses 4.0 HW nand controller, which is currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: no changes arch/mips/dts/brcm,bcm63268.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268

[U-Boot] [PATCH V3 2/6] bmips: bcm6368: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM6368 uses old 2.1 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: no changes arch/mips/dts/brcm,bcm6368.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts

[U-Boot] [PATCH V3 6/6] bmips: enable vr-3032u nand support

2019-08-28 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v3: no changes v2: Drop CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT arch/mips/dts/comtrend,vr-3032u.dts| 13 + configs/comtrend_vr3032u_ram_defconfig | 5 + include/configs/comtrend_vr3032u.h | 5 + 3 files changed, 23 insertions

[U-Boot] [PATCH V3 1/6] nand: brcm: add BCM6368 support

2019-08-28 Thread Álvaro Fernández Rojas
This adds support for BCM6368, BCM6328, BCM6362 and BCM63268 SoCs. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck --- v3: Introduce changes suggested by Daniel Schwierzeck: - Introduce soc_to_priv helper definition. - Switch to dev_remap_addr_name. v2: no changes

[U-Boot] [PATCH V3 0/6] bmips: add brcmnand support

2019-08-28 Thread Álvaro Fernández Rojas
v2: Drop CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT Álvaro Fernández Rojas (6): nand: brcm: add BCM6368 support bmips: bcm6368: add support for brcmnand bmips: bcm6328: add support for brcmnand bmips: bcm6362: add support for brcmnand bmips: bcm63268: add support for brcmnand bmips: enable vr-30

[U-Boot] [PATCH V2 5/6] bmips: bcm63268: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM63268 uses 4.0 HW nand controller, which is currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/dts/brcm,bcm63268.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips

[U-Boot] [PATCH V2 4/6] bmips: bcm6362: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM6362 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/dts/brcm,bcm6362.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6362.dtsi b

[U-Boot] [PATCH V2 3/6] bmips: bcm6328: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM6328 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/dts/brcm,bcm6328.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b

[U-Boot] [PATCH 6/6] bmips: enable vr-3032u nand support

2019-08-28 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: Drop CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT arch/mips/dts/comtrend,vr-3032u.dts| 13 + configs/comtrend_vr3032u_ram_defconfig | 5 + include/configs/comtrend_vr3032u.h | 5 + 3 files changed, 23 insertions(+) diff --git a

[U-Boot] [PATCH V2 2/6] bmips: bcm6368: add support for brcmnand

2019-08-28 Thread Álvaro Fernández Rojas
BCM6368 uses old 2.1 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/dts/brcm,bcm6368.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6368.dtsi b

[U-Boot] [PATCH V2 1/6] nand: brcm: add BCM6368 support

2019-08-28 Thread Álvaro Fernández Rojas
This adds support for BCM6368, BCM6328, BCM6362 and BCM63268 SoCs. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/brcmnand/Makefile | 1 + drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c | 122

[U-Boot] [PATCH V2 0/6] bmips: add brcmnand support

2019-08-28 Thread Álvaro Fernández Rojas
These patches add support for brcmnand on bmips. The current brcmnand driver only supports controller >= 4.0, which means that only BCM63268 works right now. v2: Drop CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT Álvaro Fernández Rojas (6): nand: brcm: add BCM6368 support bmips: bcm6368: add support

[U-Boot] [PATCH] mips: bmips: remove unneeded definitions

2019-08-23 Thread Álvaro Fernández Rojas
These are no longer needed. Signed-off-by: Álvaro Fernández Rojas --- include/configs/bmips_common.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include/configs/bmips_common.h b/include/configs/bmips_common.h index 788f4af70d..e86393a34b 100644 --- a/include/configs/bmips_common.h

Re: [U-Boot] [PATCH 5/6] bmips: bcm63268: add support for brcmnand

2019-08-22 Thread Álvaro Fernández Rojas
: Álvaro Fernández Rojas; u-boot@lists.denx.de; philippe.rey...@softathome.com; tr...@konsulko.com Asunto: Re: [PATCH 5/6] bmips: bcm63268: add support for brcmnand Am 13.08.19 um 21:19 schrieb Álvaro Fernández Rojas: > BCM63268 uses 4.0 HW nand controller, which is currently supported by > br

[U-Boot] [PATCH 5/6] bmips: bcm63268: add support for brcmnand

2019-08-13 Thread Álvaro Fernández Rojas
BCM63268 uses 4.0 HW nand controller, which is currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm63268.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm

[U-Boot] [PATCH 4/6] bmips: bcm6362: add support for brcmnand

2019-08-13 Thread Álvaro Fernández Rojas
BCM6362 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6362.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6362.dtsi b/arch/mips/dts

[U-Boot] [PATCH 6/6] bmips: enable vr-3032u nand support

2019-08-13 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/comtrend,vr-3032u.dts| 13 + configs/comtrend_vr3032u_ram_defconfig | 5 + include/configs/comtrend_vr3032u.h | 6 ++ 3 files changed, 24 insertions(+) diff --git a/arch/mips/dts/comtrend,vr-3032u.dts b/arch

[U-Boot] [PATCH 2/6] bmips: bcm6368: add support for brcmnand

2019-08-13 Thread Álvaro Fernández Rojas
BCM6368 uses old 2.1 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6368.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6368.dtsi b/arch/mips/dts

[U-Boot] [PATCH 0/6] bmips: add brcmnand support

2019-08-13 Thread Álvaro Fernández Rojas
These patches add support for brcmnand on bmips. The current brcmnand driver only supports controller >= 4.0, which means that only BCM63268 works right now. Álvaro Fernández Rojas (6): nand: brcm: add BCM6368 support bmips: bcm6368: add support for brcmnand bmips: bcm6328: add support

[U-Boot] [PATCH 3/6] bmips: bcm6328: add support for brcmnand

2019-08-13 Thread Álvaro Fernández Rojas
BCM6328 uses old 2.2 HW nand controller, which isn't currently supported by brcmnand driver. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6328.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts

[U-Boot] [PATCH 1/6] nand: brcm: add BCM6368 support

2019-08-13 Thread Álvaro Fernández Rojas
This adds support for BCM6368, BCM6328, BCM6362 and BCM63268 SoCs. Signed-off-by: Álvaro Fernández Rojas --- drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/brcmnand/Makefile | 1 + drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c | 122 +++ 3

[U-Boot] [PATCH] dma: bcm6348: check if driver is enabled before send/recv

2019-03-22 Thread Álvaro Fernández Rojas
This patch prevents errors when running tftpput. Signed-off-by: Álvaro Fernández Rojas --- drivers/dma/bcm6348-iudma.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/dma/bcm6348-iudma.c b/drivers/dma/bcm6348-iudma.c index 1d3c192cfe..e7bd1b2350 100644 --- a/drivers/dma

Re: [U-Boot] [PATCH] bmips: fix config warnings from 2019.01

2019-01-02 Thread Álvaro Fernández Rojas
El 01/01/2019 a las 21:24, Marek Vasut escribió: On 1/1/19 7:45 PM, Álvaro Fernández Rojas wrote: - Fixes CONFIG_OF_EMBED warning. - Fixes missing CONFIG_BLK warning for CONFIG_USB. More details on those warnings that are supposedly fixed would be appreciated. It's really unclear what

Re: [U-Boot] [PATCH] bmips: fix config warnings from 2019.01

2019-01-02 Thread Álvaro Fernández Rojas
I only tested it on Comtrend AR-5387un, I will test it on other boards and report back. El 01/01/2019 a las 20:19, Tom Rini escribió: On Tue, Jan 01, 2019 at 07:45:03PM +0100, Álvaro Fernández Rojas wrote: - Fixes CONFIG_OF_EMBED warning. - Fixes missing CONFIG_BLK warning for CONFIG_USB

[U-Boot] [PATCH] bmips: fix config warnings from 2019.01

2019-01-01 Thread Álvaro Fernández Rojas
- Fixes CONFIG_OF_EMBED warning. - Fixes missing CONFIG_BLK warning for CONFIG_USB. Signed-off-by: Álvaro Fernández Rojas --- configs/comtrend_ar5315u_ram_defconfig | 2 +- configs/comtrend_ar5387un_ram_defconfig | 2 +- configs/comtrend_ct5361_ram_defconfig| 2 +- configs

[U-Boot] [PATCH] net: bcm6368: fix restart flow issues

2019-01-01 Thread Álvaro Fernández Rojas
Correctly enable/disable bcm6368-net controller to avoid flow issues. Signed-off-by: Álvaro Fernández Rojas --- drivers/net/bcm6368-eth.c | 109 ++ 1 file changed, 62 insertions(+), 47 deletions(-) diff --git a/drivers/net/bcm6368-eth.c b/drivers/net

[U-Boot] [PATCH] bmips: bcm6838: fix device tree warning

2018-12-10 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/dts/brcm,bcm6838.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi index 1018f9ee49..77d6a8e214 100644 --- a/arch/mips/dts/brcm,bcm6838.dtsi +++ b/arch/mips/dts/brcm

Re: [U-Boot] [PATCH] bmips: swapping IO space isn't required

2018-12-10 Thread Álvaro Fernández Rojas
Hi Daniel, El 10/12/2018 a las 15:50, Daniel Schwierzeck escribió: Am 09.12.18 um 10:41 schrieb Álvaro Fernández Rojas: Signed-off-by: Álvaro Fernández Rojas --- arch/mips/mach-bmips/Kconfig | 10 -- 1 file changed, 10 deletions(-) Reviewed-by: Daniel Schwierzeck I guess this is

[U-Boot] [PATCH] bmips: swapping IO space isn't required

2018-12-09 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/mips/mach-bmips/Kconfig | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/mips/mach-bmips/Kconfig b/arch/mips/mach-bmips/Kconfig index 521996599e..b259a931c9 100644 --- a/arch/mips/mach-bmips/Kconfig +++ b/arch/mips/mach-bmips

[U-Boot] [PATCH v3 1/1] dm: core: add functions to get/remap I/O addresses by name

2018-12-03 Thread Álvaro Fernández Rojas
This functions allow us to get and remap I/O addresses by name, which is useful when there are multiple reg addresses indexed by reg-names property. This is needed in bmips dma/eth patch series, but can also be used on many other drivers. Signed-off-by: Álvaro Fernández Rojas --- v3: add

[U-Boot] [PATCH v2 1/1] dm: core: add functions to get/remap I/O addresses by name

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: add remap tests arch/sandbox/dts/test.dts | 1 + drivers/core/fdtaddr.c| 10 ++ drivers/core/read.c | 20 include/dm/fdtaddr.h | 13 include/dm/read.h | 36 + test/dm/test-fdt.c

[U-Boot] [PATCH v11 26/28] bmips: enable vr-3032u enet support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/comtrend,vr-3032u.dts| 32 configs/comtrend_vr3032u_ram_defconfig | 7 ++- 2 files changed, 38 insertions(+), 1

[U-Boot] [PATCH v11 18/28] net: add support for bcm6368-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck --- v11: no changes v10: Introduce changes suggested by Daniel Schwierzeck: - Fix license identifiers. - Remove packet queue. - Move dma_prepare_rcv_buf to free_pkt. - Pad packets smaller than ETH_ZLEN. - Switch to

[U-Boot] [PATCH v11 17/28] bmips: enable nb4-ser enet support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/sfr,nb4-ser.dts | 24 configs/sfr_nb4-ser_ram_defconfig | 8 +++- 2 files

[U-Boot] [PATCH v11 28/28] bmips: enable ar-5315u enet support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/comtrend,ar-5315u.dts| 32 configs/comtrend_ar5315u_ram_defconfig | 7 ++- 2 files changed, 38 insertions(+), 1

[U-Boot] [PATCH v11 25/28] bmips: bcm63268: add support for bcm6368-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm63268.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm

[U-Boot] [PATCH v11 07/28] bmips: bcm6362: add bcm6348-iudma support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: fix license identifiers v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6362.dtsi | 13 + include/dt-bindings/dma/bcm6362-dma.h | 14 ++ 2 files changed, 27 insertions

[U-Boot] [PATCH v11 21/28] bmips: bcm6328: add support for bcm6368-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6328.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts/brcm,bcm6328.dtsi

[U-Boot] [PATCH v11 27/28] bmips: bcm6318: add support for bcm6368-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6318.dtsi | 19 +++ include/dt-bindings/clock/bcm6318-clock.h | 11 +++ 2 files changed, 30 insertions(+) diff

[U-Boot] [PATCH v11 20/28] bmips: enable wap-5813n enet support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/comtrend,wap-5813n.dts| 14 ++ configs/comtrend_wap5813n_ram_defconfig | 8 +++- 2 files changed, 21 insertions(+), 1 deletion

[U-Boot] [PATCH v11 11/28] bmips: bcm6338: add support for bcm6348-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6338.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/mips/dts/brcm

[U-Boot] [PATCH v11 13/28] bmips: bcm6348: add support for bcm6348-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6348.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/mips

[U-Boot] [PATCH v11 16/28] bmips: enable hg556a enet support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/huawei,hg556a.dts | 12 configs/huawei_hg556a_ram_defconfig | 8 +++- 2 files changed

[U-Boot] [PATCH v11 10/28] net: add support for bcm6348-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck --- v11: no changes v10: Introduce changes suggested by Daniel Schwierzeck: - Fix license identifiers. - Remove packet queue. - Move dma_prepare_rcv_buf to free_pkt. - Switch to live DM live tree. v9: use

[U-Boot] [PATCH v11 22/28] bmips: enable ar-5387un enet support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/comtrend,ar-5387un.dts| 32 configs/comtrend_ar5387un_ram_defconfig | 7 ++- 2 files changed, 38 insertions

[U-Boot] [PATCH v11 06/28] bmips: bcm6328: add bcm6348-iudma support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: fix license identifiers v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6328.dtsi | 13 + include/dt-bindings/dma/bcm6328-dma.h | 14 ++ 2 files changed, 27 insertions

[U-Boot] [PATCH v11 19/28] bmips: bcm6368: add support for bcm6368-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6368.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6368.dtsi b/arch/mips/dts/brcm,bcm6368

[U-Boot] [PATCH v11 09/28] bmips: bcm6318: add bcm6348-iudma support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: fix license identifiers v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6318.dtsi | 19 +++ include/dt-bindings/dma/bcm6318-dma.h | 14 ++ 2 files changed, 33 insertions

[U-Boot] [PATCH v11 12/28] bmips: enable f@st1704 enet support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/sagem,f...@st1704.dts | 12 configs/sagem_f@st1704_ram_defconfig | 8 +++- 2 files

[U-Boot] [PATCH v11 24/28] bmips: enable dgnd3700v2 enet support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/netgear,dgnd3700v2.dts | 14 ++ configs/netgear_dgnd3700v2_ram_defconfig | 8 +++- 2 files changed, 21 insertions(+), 1 deletion

[U-Boot] [PATCH v11 08/28] bmips: bcm63268: add bcm6348-iudma support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: fix license identifiers v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm63268.dtsi | 13 + include/dt-bindings/dma/bcm63268-dma.h | 14 ++ 2 files changed, 27 insertions

[U-Boot] [PATCH v11 23/28] bmips: bcm6362: add support for bcm6368-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6362.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6362.dtsi b/arch/mips/dts/brcm,bcm6362

[U-Boot] [PATCH v11 03/28] bmips: bcm6348: add bcm6348-iudma support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: fix license identifiers v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6348.dtsi | 16 include/dt-bindings/dma/bcm6348-dma.h | 16

[U-Boot] [PATCH v11 14/28] bmips: enable ct-5361 enet support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/comtrend,ct-5361.dts| 12 configs/comtrend_ct5361_ram_defconfig | 8 +++- 2 files

[U-Boot] [PATCH v11 15/28] bmips: bcm6358: add support for bcm6348-enet

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6358.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/mips

[U-Boot] [PATCH v11 04/28] bmips: bcm6358: add bcm6348-iudma support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: fix license identifiers v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6358.dtsi | 18 ++ include/dt-bindings/dma/bcm6358-dma.h | 16

[U-Boot] [PATCH v11 05/28] bmips: bcm6368: add bcm6348-iudma support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: fix license identifiers v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6368.dtsi | 13 + include/dt-bindings/dma/bcm6368-dma.h | 14 ++ 2 files changed, 27 insertions

[U-Boot] [PATCH v11 02/28] bmips: bcm6338: add bcm6348-iudma support

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v11: no changes v10: fix license identifiers v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6338.dtsi | 14 ++ include/dt-bindings/dma/bcm6338-dma.h | 14

[U-Boot] [PATCH v11 01/28] dma: add bcm6348-iudma support

2018-12-01 Thread Álvaro Fernández Rojas
BCM6348 IUDMA controller is present on multiple BMIPS (BCM63xx) SoCs. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Daniel Schwierzeck --- v11: Introduce change suggested by Daniel Schwierzeck: - Avoid trimming ethernet FCS from DMA driver. v10: Introduce changes suggested by Daniel

[U-Boot] [PATCH v11 00/28] bmips: add iudma/enet support

2018-12-01 Thread Álvaro Fernández Rojas
errors and discard invalid packets. - Reset dma rx channel when sending a new packet to prevent flow control issues. - Fix packet casting on bcm6348_eth_recv/send. v3: Switch to live tree API. v2: Fix bcm6348-iudma rx burst config. Álvaro Fernández Rojas (28): dma: add bcm6348-iudma support

[U-Boot] [PATCH v2 3/3] serial: bcm6858: remove driver and switch to bcm6345

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/arm/dts/bcm6858.dtsi | 2 +- configs/bcm968580_ram_defconfig | 2 +- drivers/serial/Kconfig | 8 +- drivers/serial/Makefile | 1 - drivers/serial/serial_bcm6858.c | 300

[U-Boot] [PATCH v2 2/3] arm: implement {in, out}_{16, 32} and {clr, set, clrset}bits_{16, 32}

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/arm/include/asm/io.h | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 5df74728de..12bc7fbe06 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include

[U-Boot] [PATCH v2 1/3] serial: bcm6345: switch to raw I/O functions

2018-12-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v2: introduce changes suggested by Daniel Schwierzeck: - Use readl/writel instead of __raw_readl/__raw_writel. - Remove DM_FLAG_PRE_RELOC. drivers/serial/serial_bcm6345.c | 99 - 1 file changed, 49 insertions

[U-Boot] [PATCH v2 0/3] serial: bcm6345: switch to raw I/O functions

2018-12-01 Thread Álvaro Fernández Rojas
These patches allow to use bcm6345 uart driver for both BE and LE, making bcm6858 serial driver unneeded. Álvaro Fernández Rojas (3): serial: bcm6345: switch to raw I/O functions arm: implement {in, out}_{16, 32} and {clr, set, clrset}bits_{16, 32} serial: bcm6858: remove driver and switch

[U-Boot] [PATCH 2/3] arm: implement {in, out}_{16, 32} and {clr, set, clrset}bits_{16, 32}

2018-11-30 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/arm/include/asm/io.h | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 5df74728de..12bc7fbe06 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h

[U-Boot] [PATCH 0/3] serial: bcm6345: switch to raw I/O functions

2018-11-30 Thread Álvaro Fernández Rojas
These patches allow to use bcm6345 uart driver for both BE and LE, making bcm6858 serial driver unneeded. Álvaro Fernández Rojas (3): serial: bcm6345: switch to raw I/O functions arm: implement {in,out}_{16,32} and {clr,set,clrset}bits_{16,32} serial: bcm6858: remove driver and switch to

[U-Boot] [PATCH 3/3] serial: bcm6858: remove driver and switch to bcm6345

2018-11-30 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- arch/arm/dts/bcm6858.dtsi | 2 +- configs/bcm968580_ram_defconfig | 2 +- drivers/serial/Kconfig | 8 +- drivers/serial/Makefile | 1 - drivers/serial/serial_bcm6858.c | 300 5 files

[U-Boot] [PATCH 1/3] serial: bcm6345: switch to raw I/O functions

2018-11-30 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- drivers/serial/serial_bcm6345.c | 100 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/drivers/serial/serial_bcm6345.c b/drivers/serial/serial_bcm6345.c index a0e709a11e..2866b88c26 100644 --- a

Re: [U-Boot] [PATCH v10 01/28] dma: add bcm6348-iudma support

2018-11-30 Thread Álvaro Fernández Rojas
Hi Daniel, El 30/11/2018 a las 14:46, Daniel Schwierzeck escribió: Am 29.11.18 um 23:25 schrieb Álvaro Fernández Rojas: BCM6348 IUDMA controller is present on multiple BMIPS (BCM63xx) SoCs. Signed-off-by: Álvaro Fernández Rojas --- v10: Introduce changes suggested by Daniel Schwierzeck

Re: [U-Boot] [PATCH 1/1] dm: core: add functions to get/remap I/O addresses by name

2018-11-30 Thread Álvaro Fernández Rojas
Hi Daniel, El 30/11/2018 a las 14:29, Daniel Schwierzeck escribió: Am 29.11.18 um 20:57 schrieb Álvaro Fernández Rojas: Signed-off-by: Álvaro Fernández Rojas --- drivers/core/fdtaddr.c | 10 ++ drivers/core/read.c| 20 include/dm/fdtaddr.h | 13

[U-Boot] [PATCH v10 12/28] bmips: enable f@st1704 enet support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/sagem,f...@st1704.dts | 12 configs/sagem_f@st1704_ram_defconfig | 8 +++- 2 files changed, 19

[U-Boot] [PATCH v10 01/28] dma: add bcm6348-iudma support

2018-11-29 Thread Álvaro Fernández Rojas
BCM6348 IUDMA controller is present on multiple BMIPS (BCM63xx) SoCs. Signed-off-by: Álvaro Fernández Rojas --- v10: Introduce changes suggested by Daniel Schwierzeck: - Fix license identifiers. - Move DMAD_ST defines out of dma desc struct definition. - Remove unneded aigned attribute

[U-Boot] [PATCH v10 02/28] bmips: bcm6338: add bcm6348-iudma support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: fix license identifiers v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6338.dtsi | 14 ++ include/dt-bindings/dma/bcm6338-dma.h | 14 ++ 2 files

[U-Boot] [PATCH v10 05/28] bmips: bcm6368: add bcm6348-iudma support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: fix license identifiers v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6368.dtsi | 13 + include/dt-bindings/dma/bcm6368-dma.h | 14 ++ 2 files

[U-Boot] [PATCH v10 09/28] bmips: bcm6318: add bcm6348-iudma support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: fix license identifiers v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6318.dtsi | 19 +++ include/dt-bindings/dma/bcm6318-dma.h | 14 ++ 2

[U-Boot] [PATCH v10 04/28] bmips: bcm6358: add bcm6348-iudma support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: fix license identifiers v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6358.dtsi | 18 ++ include/dt-bindings/dma/bcm6358-dma.h | 16 2

[U-Boot] [PATCH v10 27/28] bmips: bcm6318: add support for bcm6368-enet

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6318.dtsi | 19 +++ include/dt-bindings/clock/bcm6318-clock.h | 11 +++ 2 files changed, 30 insertions(+) diff --git a/arch/mips

[U-Boot] [PATCH v10 24/28] bmips: enable dgnd3700v2 enet support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/netgear,dgnd3700v2.dts | 14 ++ configs/netgear_dgnd3700v2_ram_defconfig | 8 +++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/arch

[U-Boot] [PATCH v10 15/28] bmips: bcm6358: add support for bcm6348-enet

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6358.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6358

[U-Boot] [PATCH v10 26/28] bmips: enable vr-3032u enet support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/comtrend,vr-3032u.dts| 32 configs/comtrend_vr3032u_ram_defconfig | 7 ++- 2 files changed, 38 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH v10 13/28] bmips: bcm6348: add support for bcm6348-enet

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6348.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6348

[U-Boot] [PATCH v10 25/28] bmips: bcm63268: add support for bcm6368-enet

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm63268.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/mips/dts/brcm,bcm63268.dtsi b/arch/mips/dts/brcm,bcm63268.dtsi index

[U-Boot] [PATCH v10 21/28] bmips: bcm6328: add support for bcm6368-enet

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6328.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6328.dtsi b/arch/mips/dts/brcm,bcm6328.dtsi index 6fa49e22bb

[U-Boot] [PATCH v10 19/28] bmips: bcm6368: add support for bcm6368-enet

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: introduce bcm6368-enet driver arch/mips/dts/brcm,bcm6368.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6368.dtsi b/arch/mips/dts/brcm,bcm6368.dtsi index

[U-Boot] [PATCH v10 08/28] bmips: bcm63268: add bcm6348-iudma support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: fix license identifiers v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm63268.dtsi | 13 + include/dt-bindings/dma/bcm63268-dma.h | 14 ++ 2 files

[U-Boot] [PATCH v10 07/28] bmips: bcm6362: add bcm6348-iudma support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: fix license identifiers v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/brcm,bcm6362.dtsi | 13 + include/dt-bindings/dma/bcm6362-dma.h | 14 ++ 2 files

[U-Boot] [PATCH v10 16/28] bmips: enable hg556a enet support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/huawei,hg556a.dts | 12 configs/huawei_hg556a_ram_defconfig | 8 +++- 2 files changed, 19 insertions

[U-Boot] [PATCH v10 18/28] net: add support for bcm6368-enet

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: Introduce changes suggested by Daniel Schwierzeck: - Fix license identifiers. - Remove packet queue. - Move dma_prepare_rcv_buf to free_pkt. - Pad packets smaller than ETH_ZLEN. - Switch to live DM live tree. v9: introduce flow control

[U-Boot] [PATCH v10 17/28] bmips: enable nb4-ser enet support

2018-11-29 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas --- v10: no changes v9: no changes v8: no changes v5: no changes v4: no changes v3: no changes v2: no changes arch/mips/dts/sfr,nb4-ser.dts | 24 configs/sfr_nb4-ser_ram_defconfig | 8 +++- 2 files changed, 31

  1   2   3   4   5   6   7   8   >