History log of /rk3399_rockchip-uboot/drivers/mtd/nand/raw/brcmnand/brcmnand.c (Results 1 – 4 of 4)
Revision Date Author Comments
# b16d7c22 04-Sep-2019 William Zhang <william.zhang@broadcom.com>

UPSTREAM: drivers: nand: brcmnand: fix nand_chip ecc layout structure

The current brcmnand driver is based on 4.18 linux kernel which uses
mtd_set_ooblayout to set ecc layout. But nand base code in

UPSTREAM: drivers: nand: brcmnand: fix nand_chip ecc layout structure

The current brcmnand driver is based on 4.18 linux kernel which uses
mtd_set_ooblayout to set ecc layout. But nand base code in u-boot is from
old kernel which does not use this new API and expect nand_chip.ecc.layout
structure to be set. This cause nand_scan_tail function running into a bug
check if the device has a different oob size than the default ones.

This patch ports the brcmstb_choose_ecc_layout function from kernel 4.6.7
that supports the ecc layout struture and replaces the mtd_set_ooblayout
method

Change-Id: I31aec45275decfb03af2829c744c3dda0e261d12
Signed-off-by: William Zhang <william.zhang@broadcom.com>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit e365de90517ba4686d7a88417b1a729f5891d376)

show more ...


# 8eea0cf1 15-Mar-2019 Philippe Reynes <philippe.reynes@softathome.com>

UPSTREAM: drivers: nand: brcmnand: add an option to read the write-protect from device tree

The option write-protect may only change on the kernel command line,
we add a property in the device tree

UPSTREAM: drivers: nand: brcmnand: add an option to read the write-protect from device tree

The option write-protect may only change on the kernel command line,
we add a property in the device tree to be more flexible.

Change-Id: I9b09732a963f89571b723b66c62978aacf274a98
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit f917438772c7c7da7f30e9209d9f100edac0255e)

show more ...


# 96d2a538 15-Mar-2019 Philippe Reynes <philippe.reynes@softathome.com>

UPSTREAM: drivers: nand: brcmnand: add parameter parameter-page-big-endian

The parameter page isn't always in big endian, so we add
an option to choose the endiannes of the parameter page.

Change-I

UPSTREAM: drivers: nand: brcmnand: add parameter parameter-page-big-endian

The parameter page isn't always in big endian, so we add
an option to choose the endiannes of the parameter page.

Change-Id: I58c8ce2f6a2d4ac71c0b832a76e2ec5b943004e2
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 317d40eb01a8e194e6e321e71e811d6da03b8365)

show more ...


# 625940fe 15-Mar-2019 Philippe Reynes <philippe.reynes@softathome.com>

UPSTREAM: drivers: nand: brcmnand: add initial support

The driver brcmnand come from linux kernel 4.18.
Only SoC bcm6838 and bcm6858 are supported.

Change-Id: I0337600b164da018c1236ef9cbdd90ecc0904

UPSTREAM: drivers: nand: brcmnand: add initial support

The driver brcmnand come from linux kernel 4.18.
Only SoC bcm6838 and bcm6858 are supported.

Change-Id: I0337600b164da018c1236ef9cbdd90ecc0904ee7
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 22daafba25592b79112d21d1662d7b8381827c56)

show more ...