Hi Linus,
> -Original Message-
> From: Linus Walleij
> Sent: Thursday, November 7, 2024 6:16 AM
> To: david regan
> Cc: u-boot ; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
> ; Florian Fai
> -Original Message-
> From: Linus Walleij
> Sent: Monday, September 16, 2024 2:59 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij ; David R
> -Original Message-
> From: Linus Walleij
> Sent: Monday, September 16, 2024 2:59 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij ; Florian
> -Original Message-
> From: Linus Walleij
> Sent: Monday, September 16, 2024 2:59 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij ; F
> -Original Message-
> From: Linus Walleij
> Sent: Monday, September 16, 2024 2:59 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij
>
> -Original Message-
> From: Linus Walleij
> Sent: Monday, September 16, 2024 2:59 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij ; Miquel R
> -Original Message-
> From: Linus Walleij
> Sent: Monday, September 16, 2024 2:59 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij ; F
> -Original Message-
> From: Linus Walleij
> Sent: Monday, September 16, 2024 2:59 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij ; F
> -Original Message-
> From: Linus Walleij
> Sent: Monday, September 16, 2024 2:23 AM
> To: William Zhang
> Cc: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; Kursad Oney
> ; Philippe Reynes
> ; Florian Fainelli
> ; Mique
nx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij ; David Regan
> ; Miquel Raynal
> Subject: [PATCH 7/7] mtd: rawnand: brcmnand: Add support for getting ecc
> setting from strap
>
> Fro
> -Original Message-
> From: Linus Walleij
> Sent: Wednesday, September 11, 2024 12:11 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij ; David R
> -Original Message-
> From: Linus Walleij
> Sent: Wednesday, September 11, 2024 12:11 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij
> -Original Message-
> From: Linus Walleij
> Sent: Thursday, September 12, 2024 1:16 AM
> To: William Zhang
> Cc: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; Kursad Oney
> ; Philippe Reynes
> ; Florian Fainelli
> ; Mique
eij
> Sent: Wednesday, September 11, 2024 12:11 AM
> To: u-boot@lists.denx.de; Dario Binacchi
> ; Michael Trimarchi
> ; Anand Gore
> ; William Zhang
> ; Kursad Oney
> ; Philippe Reynes
>
> Cc: Linus Walleij ; Florian Fainelli
> ; Miquel Raynal
> ; Kamal Dasu ;
>
Joel is no longer with Broadcom. Remove his email from bcmbca maintainer
list and replace him with myself for stack protection maintainer.
Signed-off-by: William Zhang
---
MAINTAINERS | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index
On 05/01/2024 06:31 PM, Tom Rini wrote:
Remove from this driver directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini
---
Cc: Jagan Teki
Cc: Tom Rini
Cc: Anand Gore
Cc: William Zhang
Cc: Kursad Oney
Cc: Joel Peshkin
Cc: Philippe Reynes
Cc: Alex
On 05/01/2024 06:31 PM, Tom Rini wrote:
Remove from this driver directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini
---
Cc: Tom Rini
Cc: Stefan Roese
Cc: Dario Binacchi
Cc: Michael Trimarchi
Cc: Anand Gore
Cc: William Zhang
Cc: Kursad Oney
Cc: Joel
Hi Tom,
On 04/30/2024 07:41 PM, Tom Rini wrote:
Remove from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini
---
Cc: Anand Gore
Cc: William Zhang
Cc: Kursad Oney
Cc: Joel Peshkin
Cc: Philippe Reynes
Cc: Linus Walleij
Cc: Rayagonda
mp;_min2); \
| ^~
drivers/spi/bcm63xx_hsspi.c:298:22: note: in expansion of macro ‘min’
298 | size_t curr_step = min(step_size, data_bytes);
This change fix this warning by casting the data_bytes to size_t.
Fixes: 0e144ec38cbb ("spi: bcm63xx-hsspi: Add prepend mode support")
Signed-off
Hi Tom,
On 08/08/2023 07:02 PM, Tom Rini wrote:
On Wed, Jun 07, 2023 at 04:37:10PM -0700, William Zhang wrote:
Add entry for Broadcom Broadband SoC HS SPI drivers
Signed-off-by: William Zhang
Can you please rebase this rest of this series on top of current next
and fix the compiler
Hi Jagan,
On 06/11/2023 03:43 AM, Jagan Teki wrote:
On Thu, Jun 8, 2023 at 5:08 AM William Zhang wrote:
Bring the device tree binding document from Linux to u-boot
Port from linux patches:
Link:
https://lore.kernel.org/r/20230207065826.285013-2-william.zh...@broadcom.com
Link:
https
Add support for HSSPI controller in ARMv8 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-5-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/bcm4908.dtsi | 17 +
arch
Add support for HSSPI controller in ARMv7 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-4-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/bcm47622.dtsi | 18
SPI controller is always presented in BCMBCA platform SoCs so enable the
controller driver and SPI core by default.
Signed-off-by: William Zhang
---
Changes in v3:
- Move BCMBCA_HSSPI config enabling and its dependent config from new
BCMBCA driver patch to this more relevant patch
- Combine
Add entry for Broadcom Broadband SoC HS SPI drivers
Signed-off-by: William Zhang
---
Changes in v3: None
Changes in v2:
- Add Álvaro Fernández Rojas as another maintainer
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 228d8af433df
bcm63xx-hsspi driver are no longer needed and this new
driver is much cleaner.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-15-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v3:
- Move arch related Kconfig changes to SPI enabling patch
Bring the device tree binding document from Linux to u-boot
Port from linux patches:
Link:
https://lore.kernel.org/r/20230207065826.285013-2-william.zh...@broadcom.com
Link:
https://lore.kernel.org/r/20230207065826.285013-3-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes
meet
the above requirement, we switch to original dummy cs mode but limit the
clock rate to the safe 25MHz.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-12-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v3: None
Changes in v2: None
New compatible string brcm,bcmbca-hsspi-v1.0 is introduced based on
dts document brcm,bcm63xx-hsspi.yaml. Add it to the driver to support
this new binding.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-6-william.zh...@broadcom.com
Signed-off-by: William Zhang
oadcom.com
Signed-off-by: William Zhang
Reviewed-by: Jagan Teki
---
Changes in v3:
- Add Reviewed-by tag
Changes in v2: None
drivers/spi/bcm63xx_hsspi.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/bcm63xx_hsspi.c b/drivers/spi/bcm63xx_hss
ARCH_BCMBCA was introduced to cover individual Broadcom broadband SoC
for common features and IP blocks. Use this config instead of each chip
config as the Kconfig dependency for Broadcom HSSPI driver.
Signed-off-by: William Zhang
---
Changes in v3: None
Changes in v2: None
drivers/spi
- Combine multi-line condition into single line for config
HAVE_SPI_CS_CTRL
Changes in v2:
- Add Álvaro Fernández Rojas as another maintainer
William Zhang (10):
spi: bcm63xx-hsspi: Make driver depend on BCMBCA arch
spi: bcm63xx-hsspi: Fix multi-bit mode setting
spi: bcm63xx-hsspi: Add new
Hi Tom,
On 06/07/2023 01:05 PM, Tom Rini wrote:
On Tue, Jun 06, 2023 at 01:19:47PM -0700, William Zhang wrote:
Hi Jagan,
On 06/02/2023 11:56 AM, William Zhang wrote:
Hi Jagan,
On 06/01/2023 11:01 PM, Jagan Teki wrote:
On Wed, May 3, 2023 at 12:29 AM William Zhang
wrote:
This patch
Hi Jagan,
On 06/02/2023 11:56 AM, William Zhang wrote:
Hi Jagan,
On 06/01/2023 11:01 PM, Jagan Teki wrote:
On Wed, May 3, 2023 at 12:29 AM William Zhang
wrote:
This patch series is the u-boot port from the recently accepted kernel
Broadcom HSSPI driver patch series here [1]. It includes
Hi Jagan,
On 06/01/2023 11:01 PM, Jagan Teki wrote:
On Wed, May 3, 2023 at 12:29 AM William Zhang
wrote:
This patch series is the u-boot port from the recently accepted kernel
Broadcom HSSPI driver patch series here [1]. It includes the
accumulative updates and fixes for the driver from
Hi Jagan,
On 06/01/2023 10:54 PM, Jagan Teki wrote:
On Wed, May 3, 2023 at 12:29 AM William Zhang
wrote:
The newer BCMBCA SoCs such as BCM6756, BCM4912 and BCM6855 include an
updated SPI controller that add the capability to allow the driver to
control chip select explicitly. Driver can
23 11:58 AM, William Zhang wrote:
This patch series is the u-boot port from the recently accepted kernel
Broadcom HSSPI driver patch series here [1]. It includes the
accumulative updates and fixes for the driver from Broadcom. It also
added a new driver for the updated SPI controller found in th
document is converted to yaml format and
updated accordingly.
[1]:
https://lore.kernel.org/all/20230207065826.285013-1-william.zh...@broadcom.com/
Changes in v2:
- Add Álvaro Fernández Rojas as another maintainer
William Zhang (9):
dt-bindings: spi: Add bcm63xx-hsspi controller support
ARM
bcm63xx-hsspi driver are no longer needed and this new
driver is much cleaner.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-15-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
arch/arm/mach-bcmbca/Kconfig | 15 ++
drivers/spi
oadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
drivers/spi/bcm63xx_hsspi.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/bcm63xx_hsspi.c b/drivers/spi/bcm63xx_hsspi.c
index 495feba02262..0d12c345b1dd 100644
--- a/drivers/spi/bcm63
meet
the above requirement, we switch to original dummy cs mode but limit the
clock rate to the safe 25MHz.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-12-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
drivers/spi
Add entry for Broadcom Broadband SoC HS SPI drivers
Signed-off-by: William Zhang
---
Changes in v2:
- Add Álvaro Fernández Rojas as another maintainer
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4c17c6cb9f1e..a1d490e66ed4 100644
New compatible string brcm,bcmbca-hsspi-v1.0 is introduced based on
dts document brcm,bcm63xx-hsspi.yaml. Add it to the driver to support
this new binding.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-6-william.zh...@broadcom.com
Signed-off-by: William Zhang
SPI controller is always presented in BCMBCA platform SoCs so enable the
controller driver and SPI core by default.
Signed-off-by: William Zhang
---
Changes in v2: None
arch/arm/Kconfig | 2 ++
arch/arm/mach-bcmbca/Kconfig | 11 +++
drivers/spi/Kconfig | 4
Bring the device tree binding document from Linux to u-boot
Port from linux patches:
Link:
https://lore.kernel.org/r/20230207065826.285013-2-william.zh...@broadcom.com
Link:
https://lore.kernel.org/r/20230207065826.285013-3-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes
Add support for HSSPI controller in ARMv8 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-5-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
arch/arm/dts/bcm4908.dtsi | 17 +
arch/arm/dts/bcm4912
Add support for HSSPI controller in ARMv7 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-4-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
Changes in v2: None
arch/arm/dts/bcm47622.dtsi | 18 ++
arch/arm/dts/bcm63138
document is converted to yaml format and
updated accordingly.
[1]:
https://lore.kernel.org/all/20230207065826.285013-1-william.zh...@broadcom.com/
William Zhang (9):
dt-bindings: spi: Add bcm63xx-hsspi controller support
ARM: dts: broadcom: bcmbca: Add spi controller node
arm64: dts
oadcom.com
Signed-off-by: William Zhang
---
drivers/spi/bcm63xx_hsspi.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/bcm63xx_hsspi.c b/drivers/spi/bcm63xx_hsspi.c
index 495feba02262..0d12c345b1dd 100644
--- a/drivers/spi/bcm63xx_hsspi.c
+++ b/d
Add support for HSSPI controller in ARMv7 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-4-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
arch/arm/dts/bcm47622.dtsi | 18 ++
arch/arm/dts/bcm63138.dtsi | 18
Add entry for Broadcom Broadband SoC HS SPI drivers
Signed-off-by: William Zhang
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4c17c6cb9f1e..cfec29ee5c07 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -823,6 +823,14 @@ F: include
Add support for HSSPI controller in ARMv8 chip dts files.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-5-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
arch/arm/dts/bcm4908.dtsi | 17 +
arch/arm/dts/bcm4912.dtsi | 20
bcm63xx-hsspi driver are no longer needed and this new
driver is much cleaner.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-15-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
arch/arm/mach-bcmbca/Kconfig | 15 ++
drivers/spi/Kconfig | 9
meet
the above requirement, we switch to original dummy cs mode but limit the
clock rate to the safe 25MHz.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230209200246.141520-12-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
drivers/spi/bcm63xx_hsspi.c | 259
New compatible string brcm,bcmbca-hsspi-v1.0 is introduced based on
dts document brcm,bcm63xx-hsspi.yaml. Add it to the driver to support
this new binding.
Port from linux patch:
Link:
https://lore.kernel.org/r/20230207065826.285013-6-william.zh...@broadcom.com
Signed-off-by: William Zhang
SPI controller is always presented in BCMBCA platform SoCs so enable the
controller driver and SPI core by default.
Signed-off-by: William Zhang
---
arch/arm/Kconfig | 2 ++
arch/arm/mach-bcmbca/Kconfig | 11 +++
drivers/spi/Kconfig | 4 ++--
3 files changed, 15
Bring the device tree binding document from Linux to u-boot
Port from linux patches:
Link:
https://lore.kernel.org/r/20230207065826.285013-2-william.zh...@broadcom.com
Link:
https://lore.kernel.org/r/20230207065826.285013-3-william.zh...@broadcom.com
Signed-off-by: William Zhang
---
.../spi
proc_nand_soc),
+};
+
+void board_nand_init(void)
+{
+ struct udevice *dev;
+ int ret;
+
+ ret = uclass_get_device_by_driver(UCLASS_MTD,
+ DM_DRIVER_GET(iproc_nand), &dev);
+ if (ret && ret != -ENODEV)
+
@@ static int nand_dt_init(struct mtd_info *mtd, struct
nand_chip *chip, ofnode nod
return -EINVAL;
}
+ chip->ecc.algo = ecc_algo;
+
if (ecc_mode >= 0)
chip->ecc.mode = ecc_mode;
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
Hi Linus.
On 02/11/2023 07:28 AM, Linus Walleij wrote:
Hunting down a bug on my system I took to back-porting
all reasonable changes from the Linux brcmnand driver that
were not yet in the U-Boot derivative.
I noticed that a simple diff -ur between brcmnand.c
between the file in Linux and U-Boo
_read_oob_raw;
+ }
+
return ret;
}
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
e_area_size;
+ }
nand_writereg(ctrl, acc_control_offs, tmp);
brcmnand_set_sector_size_1k(host, cfg->sector_size_1k);
@@ -2543,6 +2608,8 @@ const struct dev_pm_ops brcmnand_pm_ops = {
EXPORT_SYMBOL_GPL(brcmnand_pm_ops);
static const struct of_device_id brcmnand_of_match[] = {
zes = page_sizes;
+ ctrl->page_sizes = page_sizes_v3_4;
if (ctrl->nand_version >= 0x0600)
ctrl->block_sizes = block_sizes_v6;
else
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
v3.3-5.0 have a different CS0 offset layout */
+ if (ctrl->nand_version >= 0x0303 &&
+ ctrl->nand_version <= 0x0500)
ctrl->cs0_offsets = brcmnand_cs_offsets_cs0;
}
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
t;nand_version >= 0x0303)
+ ctrl->reg_offsets = brcmnand_regs_v33;
/* Chip-select stride */
if (ctrl->nand_version >= 0x0701)
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
ret = nand_check_erased_ecc_chunk(ecc_chunk, chip->ecc.size,
+ ecc_bytes, ecc.length,
+ NULL, 0,
chip->ecc.strength);
if (ret < 0)
nand_version > 0x0602) {
+ flash_dma_writel(ctrl, FLASH_DMA_FIRST_DESC_EXT,
+upper_32_bits(desc));
+ (void)flash_dma_readl(ctrl, FLASH_DMA_FIRST_DESC_EXT);
+ }
/* Start FLASH_DMA engine */
ctrl->dma_pending = true;
chip->ecc.size,
oob, sas, NULL, 0,
chip->ecc.strength);
if (ret < 0)
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
and_flash_dma_revision_init(ctrl);
+
+ /* linked-list and stop on error */
+ flash_dma_writel(ctrl, FLASH_DMA_MODE, FLASH_DMA_MODE_MASK);
flash_dma_writel(ctrl, FLASH_DMA_ERROR_STATUS, 0);
/* Allocate descriptor(s) */
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
MUST be set before populating FC */
- brcmnand_write_reg(ctrl, BRCMNAND_CMD_ADDRESS,
- lower_32_bits(addr));
- (void)brcmnand_read_reg(ctrl, BRCMNAND_CMD_ADDRESS);
+ brcmnand_set_cmd_addr(mtd, addr);
if (buf) {
brcmnand_soc_data_bus_prepare(ctrl->soc, false);
Acked-by: William Zhang
smime.p7s
Description: S/MIME Cryptographic Signature
Hi Linus and Michael,
On 02/03/2023 03:10 AM, Linus Walleij wrote:
On Fri, Feb 3, 2023 at 9:48 AM Michael Nazzareno Trimarchi
wrote:
On Thu, Jan 26, 2023 at 6:39 PM William Zhang
wrote:
On 01/26/2023 12:43 AM, Linus Walleij wrote:
On Thu, Jan 26, 2023 at 2:02 AM William Zhang
wrote
Hi Linus and Rafał,
On 01/26/2023 12:59 AM, Linus Walleij wrote:
Hi William,
so this is the patch that actually solved my bug in the end :)
On Thu, Jan 26, 2023 at 2:14 AM William Zhang
wrote:
On 01/21/2023 03:43 PM, Linus Walleij wrote:
For BRCMNAND with 1-bit BCH ECC (BCH-1) such as
On 01/26/2023 12:43 AM, Linus Walleij wrote:
On Thu, Jan 26, 2023 at 2:02 AM William Zhang
wrote:
Unfortunately the u-boot nand base code still uses nand_ecclayout
structure because it was based on old kernel nand driver. Your change
cause bugcheck in the nand_scan_tail at line 4978 when
Hi Linus,
On 01/21/2023 03:43 PM, Linus Walleij wrote:
For BRCMNAND with 1-bit BCH ECC (BCH-1) such as used on the
D-Link DIR-885L and DIR-890L routers, we need to explicitly
select the ECC like this in the device tree:
nand-ecc-algo = "bch";
nand-ecc-strength = <1>;
nand-ecc-step-size
Hi Linus,
Unfortunately the u-boot nand base code still uses nand_ecclayout
structure because it was based on old kernel nand driver. Your change
cause bugcheck in the nand_scan_tail at line 4978 when mtd->oobsize is
not one of the default size (i.e. some large nand with BCH-8 ecc
requiremen
Hi Linus,
I will try to review and test your patches late this week or early next
week. I don't have those old chips (v2.1, v2.2, v4) but will test on
some of recent Broadcom broadband(BCMBCA) SoCs with v7.0 and 7.1 controller.
Thanks,
William
On 01/16/2023 11:11 AM, Michael Nazzareno Trima
This is needed in the platforms that use "ranges" node property for
address translation in their dts for TPL.
Signed-off-by: William Zhang
---
drivers/core/Kconfig | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/core/Kconfig b/drivers/core/Kco
As STI timer is renamed to ARM A9 global timer, change BCM63138 to use
the new global timer config symbol name.
This patch applies on top of the my previous patch [1].
[1]: https://lists.denx.de/pipermail/u-boot/2022-August/491060.html
Signed-off-by: William Zhang
---
Changes in v2:
- Fix
STI timer is actually ARM Cortex A9 global timer. Convert the driver to
use generic global timer name and make it consistent with Linux kernel
global timer driver. This also allows any A9 based device to use this
driver.
Signed-off-by: William Zhang
---
(no changes since v1)
MAINTAINERS
As STI timer is renamed to ARM A9 global timer, change BCM63138 to use
the new global timer config symbol name.
This patch applies on top of the my previous patch [1].
[1]: https://lists.denx.de/pipermail/u-boot/2022-August//491060.html
Signed-off-by: William Zhang
---
arch/arm/mach-bcmbca
STI timer is actually ARM Cortex A9 global timer. Convert the driver to
use generic global timer name and make it consistent with Linux kernel
global timer driver. This also allows any A9 based device to use this
driver.
Signed-off-by: William Zhang
---
MAINTAINERS
As CONFIG_ARCH_BCM6753 is replaced with CONFIG_BCM6855, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
Changes in v2:
- Update subject line to be more clear for patch 3
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers
basic config version of
bcm96855_defconfig
Signed-off-by: William Zhang
---
(no changes since v1)
arch/arm/Kconfig | 8 -
arch/arm/dts/Makefile| 6 +-
arch/arm/dts/bcm6753.dtsi| 208 ---
arch/arm/dts/bcm6855.dtsi
-off-by: William Zhang
---
Changes in v2:
- Add help in BCM6855 Kconfig option to include the list of the
supported chips.
MAINTAINERS | 1 +
arch/arm/dts/Makefile | 2 +
arch/arm/dts/bcm6855.dtsi | 120 ++
arch
subject line to be more clear for patch 3
William Zhang (3):
arm: bcmbca: add bcm6855 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove bcm6753 support under CONFIG_ARCH_BCM6753
arm: bcmbca: replace ARCH_BCM6753 symbols in Kconfig with BCM6855
MAINTAINERS
As CONFIG_ARCH_BCM6858 is replaced with CONFIG_BCM6858, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
Changes in v2:
-Update subject line to be more clear for patch 3
drivers/gpio/Kconfig | 3 +--
drivers/led/Kconfig | 2 +-
drivers
board dts with the new compatible string.
- Delete broadcom_bcm968580xref.h and merge its setting to the new
bcm96858.h file.
- Remove bcm968580xref_ram_defconfig as a basic config version of
bcm96858_defconfig is now added.
Signed-off-by: William Zhang
---
(no changes since v1)
arch/arm/Kconfig
and the
original dts is updated with the one from linux next git repository.
The u-boot image can be loaded from flash or network to the entry point
address in the memory and boot from there to the console.
Signed-off-by: William Zhang
---
Changes in v2:
-Add help in BCM6858 Kconfig option to
://lists.denx.de/pipermail/u-boot/2022-August/492470.html
Changes in v2:
-Add help in BCM6858 Kconfig option to include the list of the supported
chips.
-Update subject line to be more clear for patch 3
William Zhang (3):
arm: bcmbca: add bcm6858 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove
As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
Changes in v4:
-Update subject line to be more clear for patch 3
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers
bcm96856_defconfig is now added.
Signed-off-by: William Zhang
---
(no changes since v3)
Changes in v3:
- Remove bcm968360bg_ram_defconfig per discussion with Philippe as a
basic config version of bcm96856_defconfig is now added.
- Update commit message
Changes in v2:
- Bring Philippe Reynes copyright tag from
-by: William Zhang
---
Changes in v4:
-Add help in BCM6856 Kconfig option to include the list of the supported
chips.
MAINTAINERS | 1 +
arch/arm/dts/Makefile| 2 +
arch/arm/dts/bcm6856.dtsi| 103 +++
arch
discussion with Philippe as a
basic config version of bcm96856_defconfig is now added.
- Update commit message
Changes in v2:
- Bring Philippe Reynes copyright tag from 68360 dts to 6856 dts
William Zhang (3):
arm: bcmbca: add bcm6856 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove
BCM63158 carries the CONFIG_SYSRESET from the original configuration. It
provide reset_cpu function already so need to define weak version of the
dummy reset_cpu for other BCMBCA SoCs to avoid linking error.
Signed-off-by: William Zhang
---
Changes in v3:
-Fix reset_cpu function prototype
Since ARCH_BCM63158 SoC support is merged into ARCH_BCMBCA, add BCM63158
maintainer Philippe to bcmbca maintainer list.
Signed-off-by: William Zhang
---
(no changes since v1)
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5b219d62f6bf
As CONFIG_ARCH_BCM63158 is replaced with CONFIG_BCM63158, update the
Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
Changes in v3:
-Update subject line to be more clear
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw
Now that BCM63158 is supported under CONFIG_ARCH_BCMBCA and
CONFIG_BCM63158, remove the original ARCH_BCM63158 support and migrate
configuration settings.
Signed-off-by: William Zhang
---
(no changes since v2)
Changes in v2:
- Remove bcm963158_ram_defconfig per discussion with Philippe as a
-off-by: William Zhang
---
(no changes since v2)
Changes in v2:
- Remove extra nodes from bcm963158.dts and keep it as a generic minimun
board support dts following other BCA chip convention.
MAINTAINERS | 1 +
arch/arm/dts/Makefile | 2
with Philippe as a
basic config version of bcm963158_defconfig is now added.
William Zhang (5):
arm: bcmbca: add bcm63158 SoC support under CONFIG_ARCH_BCMBCA
arm: bcmbca: remove bcm63158 support under CONFIG_ARCH_BCM63158
arm: bcmbca: replace ARCH_BCM63158 symbols in Kconfig with BCM63158
As CONFIG_ARCH_BCM6753 is replaced with CONFIG_BCM6855, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
---
drivers/gpio/Kconfig | 2 +-
drivers/led/Kconfig | 2 +-
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/watchdog/Kconfig | 2
1 - 100 of 173 matches
Mail list logo