Enable the led support in the configuration
of the board bcm968580xref.
Signed-off-by: Philippe Reynes
---
configs/bcm968580xref_ram_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/bcm968580xref_ram_defconfig
b/configs/bcm968580xref_ram_defconfig
index e8cb3a0..887ccb8
Enable the led controller in the device tree
of the board bcm963158.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm963158.dts | 49 ++
1 file changed, 49 insertions(+)
diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts
index
The driver add the support of the led IP on bcm6858.
This led IP can drive up to 32 leds, and can handle
blinking.
Signed-off-by: Philippe Reynes
---
doc/device-tree-bindings/leds/leds-bcm6858.txt | 51 +
drivers/led/Kconfig| 7 +
drivers/led/Makefile
Add the led controller in the bcm6858 device tree.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm6858.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dts/bcm6858.dtsi
index 23b80c6..0359417 100644
--- a/arch/arm/dts/bcm6858.dtsi
+++ b
The pointer checksum were used before checking that it
isn't NULL. We move the code that use it after the check.
Reported-by: Coverity (CID: 185835)
Signed-off-by: Philippe Reynes
---
lib/rsa/rsa-verify.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/rsa/rsa-verify.c
From: Marc Gonzalez
Linux commit d45bc58dd3b ("mtd: nand: import nand_hw_control_init()")
The code to initialize a struct nand_hw_control is duplicated across
several drivers. Factorize it using an inline function.
Signed-off-by: Marc Gonzalez
Signed-off-by: Boris Brezillon
[Phili
nflicts]
Signed-off-by: Miquel Raynal
Acked-by: Masahiro Yamada
[Philippe Reynes: adapt code to u-boot and only keep new function]
Signed-off-by: Philippe Reynes
---
drivers/mtd/nand/raw/nand_base.c | 1013 --
include/linux/mtd/rawnand.h | 30 ++
2 files chan
Enable the nand support (driver and command)
in the configuration of the board bcm968580xref.
Signed-off-by: Philippe Reynes
---
configs/bcm968580xref_ram_defconfig | 7 +++
include/configs/broadcom_bcm968580xref.h | 7 +++
2 files changed, 14 insertions(+)
diff --git a/configs
Add the nand controller in the bcm63158 device tree.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm63158.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi
index 6a3fbc9..12ade2a 100644
--- a/arch/arm/dts/bcm63158
Enable the nand support (driver and command)
in the configuration of the board bcm963158.
Signed-off-by: Philippe Reynes
---
configs/bcm963158_ram_defconfig | 6 ++
include/configs/broadcom_bcm963158.h | 7 +++
2 files changed, 13 insertions(+)
diff --git a/configs
Enable the nand controller in the device tree
of the board bcm963158.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm963158.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts
index dc5afb5..abb44a6 100644
Enable the nand controller in the device tree
of the board bcm968580xref.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm968580xref.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dts/bcm968580xref.dts
index 0c59f94..2085c18
The option write-protect may only change on the kernel command line,
we add a property in the device tree to be more flexible.
Signed-off-by: Philippe Reynes
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mtd/nand/raw/brcmnand
Add the nand controller in the bcm6858 device tree.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm6858.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dts/bcm6858.dtsi
index 23b80c6..f48f93b 100644
--- a/arch/arm/dts/bcm6858.dtsi
Enable the nand controller in the device tree
of the board bcm96838gerg.
Signed-off-by: Philippe Reynes
---
arch/mips/dts/brcm,bcm968380gerg.dts | 12
1 file changed, 12 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm968380gerg.dts
b/arch/mips/dts/brcm,bcm968380gerg.dts
index
Enable the nand support (driver and command)
in the configuration of the board bcm96838gerg.
Signed-off-by: Philippe Reynes
---
configs/bcm968380gerg_ram_defconfig | 7 +++
include/configs/broadcom_bcm968380gerg.h | 7 +++
2 files changed, 14 insertions(+)
diff --git a/configs
The driver brcmnand come from linux kernel 4.18.
Only SoC bcm6838 and bcm6858 are supported.
Signed-off-by: Philippe Reynes
---
drivers/mtd/nand/raw/Kconfig| 25 +
drivers/mtd/nand/raw/Makefile |1 +
drivers/mtd/nand/raw/brcmnand/Makefile
Add the nand controller in the bcm6838 device tree.
Signed-off-by: Philippe Reynes
---
arch/mips/dts/brcm,bcm6838.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi
index b6f9559..2b7baf9 100644
--- a/arch
This patch port the function readX_relaxed and
writeX_relaxed from kernel 4.18.
Signed-off-by: Philippe Reynes
---
arch/arm/include/asm/io.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index 12bc7fb..e6d27b6
The macro devm_ioremap is only defined for configuration
that doesn't have ioremap. But this macro may also be
defined on configuration with ioremap.
This patch remove the condition for the macro devm_ioremap,
so it's always defined.
Signed-off-by: Philippe Reynes
---
include/linux/io.h | 2
The parameter page isn't always in big endian, so we add
an option to choose the endiannes of the parameter page.
Signed-off-by: Philippe Reynes
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand
This patch port the file include/linux/completion.h
from linux 4.18 to u-boot. It define the structure
but all the function are stubbed.
Signed-off-by: Philippe Reynes
---
include/linux/completion.h | 173 +
1 file changed, 173 insertions(+)
create
ian Norris (1):
mtd: add get/set of_node/flash_node helpers
Marc Gonzalez (1):
mtd: nand: import nand_hw_control_init()
Philippe Reynes (15):
arm: asm: io.h: define readX_relaxed and writeX_relaxed
include: linux: io: define devm_ioremap on board with ioremap
compat linux: import compl
) too, so get that ready
with their own helpers.
Signed-off-by: Brian Norris
Reviewed-by: Boris Brezillon
[Philippe Reynes: only add function nand_set_flash_node and
nand_get_flash_node because others were already backported]
Signed-off-by: Philippe Reynes
---
include/linux/mtd/rawnand.h | 12 +++
Enable all the gpio controllers in the device tree
of the board bcm963158.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm963158.dts | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts
index dc5afb5
Enable the gpio support (driver and command)
in the configuration of the board bcm963158.
Signed-off-by: Philippe Reynes
---
configs/bcm963158_ram_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/bcm963158_ram_defconfig b/configs/bcm963158_ram_defconfig
index fc55e98
As no gpio.h is defined for this architecture, to avoid
a compilation failure, do not include
for arch bcm63158.
Signed-off-by: Philippe Reynes
---
arch/arm/include/asm/gpio.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include
This IP is also used on some arm SoC, so we allow
to use this driver on arch bcm63158.
Signed-off-by: Philippe Reynes
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 42b15f7..b3e4ecc 100644
Enable the gpio support (driver and command)
in the configuration of the board bcm968580xref.
Signed-off-by: Philippe Reynes
---
configs/bcm968580xref_ram_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/bcm968580xref_ram_defconfig
b/configs/bcm968580xref_ram_defconfig
Add 8 gpio controllers in the bcm63158 device tree.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm63158.dtsi | 80 ++
1 file changed, 80 insertions(+)
diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi
index 6a3fbc9..4f41f62
Enable all the gpio controllers in the device tree
of the board bcm968580xref.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm968580xref.dts | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dts/bcm968580xref.dts
As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include for
arch bcm6858.
Signed-off-by: Philippe Reynes
---
arch/arm/include/asm/gpio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm
This IP is also used on some arm SoC, so we allow
to use this driver on arch bcm6858.
Signed-off-by: Philippe Reynes
---
drivers/gpio/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index b103180..42b15f7 100644
Add 8 gpio controllers in the bcm6858 device tree.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm6858.dtsi | 80 +++
1 file changed, 80 insertions(+)
diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dts/bcm6858.dtsi
index 23b80c6..5d5e64d
Enable the gpio support (driver and command)
in the configuration of the board bcm968380gerg
Signed-off-by: Philippe Reynes
---
configs/bcm968380gerg_ram_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/bcm968380gerg_ram_defconfig
b/configs/bcm968380gerg_ram_defconfig
Enable the gpio controllers in the device tree
of the board bcm968380gerg.
Signed-off-by: Philippe Reynes
---
arch/mips/dts/brcm,bcm968380gerg.dts | 12
1 file changed, 12 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm968380gerg.dts
b/arch/mips/dts/brcm,bcm968380gerg.dts
index
Add gpio controllers in bcm6838 device tree.
Signed-off-by: Philippe Reynes
---
arch/mips/dts/brcm,bcm6838.dtsi | 27 +++
1 file changed, 27 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi
index b6f9559..c060802 100644
This driver is used on several big endian mips board.
So we could use raw I/O function instead of forcing
big endian access.
Signed-off-by: Philippe Reynes
---
drivers/gpio/bcm6345_gpio.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpio
We use TARGET_BCM63158 in the Kconfig instead of ARCH_BCM63158,
so we could add other board that use a bcm63158.
Signed-off-by: Philippe Reynes
---
board/broadcom/bcm963158/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/broadcom/bcm963158/Kconfig b/board
The name of the board is bcm968580xref,
so rename the config to bcm968580xref too.
Signed-off-by: Philippe Reynes
---
board/broadcom/bcm968580xref/MAINTAINERS | 4 ++--
configs/bcm968580_ram_defconfig | 35
configs/bcm968580xref_ram_defconfig | 35
The option OF_EMBED is deprecated,
so we switch to CONFIG_OF_SEPARATE
Signed-off-by: Philippe Reynes
---
configs/bcm968580xref_ram_defconfig | 1 -
1 file changed, 1 deletion(-)
Changelog:
v2:
- no change
diff --git a/configs/bcm968580xref_ram_defconfig
b/configs/bcm968580xref_ram_defconfig
The name of the board is bcm968580xref,
so rename the config to bcm968580xref too.
Signed-off-by: Philippe Reynes
---
configs/bcm968580_ram_defconfig | 35 ---
configs/bcm968580xref_ram_defconfig | 35 +++
2 files changed, 35
The option OF_EMBED is deprecated,
so we switch to CONFIG_OF_SEPARATE
Signed-off-by: Philippe Reynes
---
configs/bcm968580xref_ram_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/bcm968580xref_ram_defconfig
b/configs/bcm968580xref_ram_defconfig
index 56e0a56..b66a295
This commit add watchdog and sysreset watchdog
in the bcm63158 device tree.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm63158.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi
index be68205..6a3fbc9 100644
Enable watchdog and reboot with watchdog in the configuration.
Signed-off-by: Philippe Reynes
---
configs/bcm963158_ram_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/bcm963158_ram_defconfig b/configs/bcm963158_ram_defconfig
index 6e3b688..9083f1d 100644
--- a/configs
This IP is also used on some arm SoC, so we allow to
use it on arm bcm63158 too.
Signed-off-by: Philippe Reynes
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 9456abd..115fc45 100644
This add the initial support of the broadcom reference
board bcm963158 with a bcm63158 SoC.
This board has 1 GB of ram, 512 MB of flash (nand),
2 usb port, 1 uart, 4 ethernet ports (LAN), 1 ethernet port (WAN).
Signed-off-by: Philippe Reynes
---
arch/arm/Kconfig | 1
This add the initial support of the broadcom bcm63158 SoC family,
only the cpu, dram and uart are supported.
Signed-off-by: Philippe Reynes
---
arch/arm/Kconfig | 6
arch/arm/dts/bcm63158.dtsi | 85 ++
2 files changed, 91 insertions
Enable watchdog and reboot with watchdog in the configuration.
Signed-off-by: Philippe Reynes
---
configs/bcm968580_ram_defconfig | 2 ++
1 file changed, 2 insertions(+)
Changelog:
v2:
- add a commit message (thanks Marek)
v3:
- no change
diff --git a/configs/bcm968580_ram_defconfig b/configs
This commit add watchdog and sysreset watchdog
in the bcm6858 device tree.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm6858.dtsi | 17 +
1 file changed, 17 insertions(+)
Changelog:
v2:
- add a commit message (thanks Marek)
v3:
- no change
diff --git a/arch/arm/dts
Enable watchdog and reboot with watchdog in the configuration.
Signed-off-by: Philippe Reynes
---
configs/bcm968380gerg_ram_defconfig | 2 ++
1 file changed, 2 insertions(+)
Changelog:
v2:
- add a commit message (thanks Marek)
v3:
- no change
diff --git a/configs/bcm968380gerg_ram_defconfig
This IP is also used on some arm SoC, so we allow to
use it on arm bcm6858 too.
Signed-off-by: Philippe Reynes
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changelog:
v2:
- add a commit message (thanks Marek)
v3:
- only enable this driver on bcm6858
This commit add watchdog and sysreset watchdog
in the bcm6838 device tree.
Signed-off-by: Philippe Reynes
---
arch/mips/dts/brcm,bcm6838.dtsi | 17 +
1 file changed, 17 insertions(+)
Changelog:
v2:
- add a commit message (thanks Marek)
v3:
- no change
diff --git a/arch/mips
This driver is used on several big endian mips board.
So we could use raw I/O function instead of forcing
big endian access.
Signed-off-by: Philippe Reynes
Reviewed-by: Daniel Schwierzeck
---
drivers/watchdog/bcm6345_wdt.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions
Enable watchdog and reboot with watchdog in the configuration.
Signed-off-by: Philippe Reynes
---
configs/bcm968580_ram_defconfig | 2 ++
1 file changed, 2 insertions(+)
Changelog:
v2:
- add a commit message (thanks Marek)
diff --git a/configs/bcm968580_ram_defconfig b/configs
Enable watchdog and reboot with watchdog in the configuration.
Signed-off-by: Philippe Reynes
---
configs/bcm968380gerg_ram_defconfig | 2 ++
1 file changed, 2 insertions(+)
Changelog:
v2:
- add a commit message (thanks Marek)
diff --git a/configs/bcm968380gerg_ram_defconfig
b/configs
This commit add watchdog and sysreset watchdog
in the bcm6858 device tree.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm6858.dtsi | 17 +
1 file changed, 17 insertions(+)
Changelog:
v2:
- add a commit message (thanks Marek)
diff --git a/arch/arm/dts/bcm6858.dtsi b/arch
This commit add watchdog and sysreset watchdog
in the bcm6838 device tree.
Signed-off-by: Philippe Reynes
---
arch/mips/dts/brcm,bcm6838.dtsi | 17 +
1 file changed, 17 insertions(+)
Changelog:
v2:
- add a commit message (thanks Marek)
diff --git a/arch/mips/dts/brcm,bcm6838
This driver is used on several big endian mips board.
So we could use raw I/O function instead of forcing
big endian access.
Signed-off-by: Philippe Reynes
---
drivers/watchdog/bcm6345_wdt.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
Changelog:
v2:
- add a commit message
This IP is also used on some arm SoC, so we allow to
use it on arm too.
Signed-off-by: Philippe Reynes
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changelog:
v2:
- add a commit message (thanks Marek)
diff --git a/drivers/watchdog/Kconfig b/drivers
The board bcm968380gerg don't have a spi flash so
we disable the spi flash support.
Signed-off-by: Philippe Reynes
---
configs/bcm968380gerg_ram_defconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/configs/bcm968380gerg_ram_defconfig
b/configs/bcm968380gerg_ram_defconfig
index
Signed-off-by: Philippe Reynes
---
configs/bcm968580_ram_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/bcm968580_ram_defconfig b/configs/bcm968580_ram_defconfig
index 56e0a56..b23f960 100644
--- a/configs/bcm968580_ram_defconfig
+++ b/configs/bcm968580_ram_defconfig
Signed-off-by: Philippe Reynes
---
configs/bcm968380gerg_ram_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/bcm968380gerg_ram_defconfig
b/configs/bcm968380gerg_ram_defconfig
index fdecc0f..d98fe51 100644
--- a/configs/bcm968380gerg_ram_defconfig
+++ b/configs
Signed-off-by: Philippe Reynes
---
arch/mips/dts/brcm,bcm6838.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi
index 77d6a8e..b6f9559 100644
--- a/arch/mips/dts/brcm,bcm6838.dtsi
+++ b/arch/mips/dts/brcm
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm6858.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dts/bcm6858.dtsi
index d78d34d..23b80c6 100644
--- a/arch/arm/dts/bcm6858.dtsi
+++ b/arch/arm/dts/bcm6858.dtsi
@@ -81,5 +81,22
Signed-off-by: Philippe Reynes
---
drivers/watchdog/bcm6345_wdt.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/watchdog/bcm6345_wdt.c b/drivers/watchdog/bcm6345_wdt.c
index e1bd73d..44f5662 100644
--- a/drivers/watchdog/bcm6345_wdt.c
+++ b/drivers
Signed-off-by: Philippe Reynes
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 10fd303..e723c5e 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -88,7 +88,7 @@ config
Signed-off-by: Philippe Reynes
---
drivers/mtd/nand/raw/Kconfig| 19 +
drivers/mtd/nand/raw/Makefile |1 +
drivers/mtd/nand/raw/brcmnand/Makefile |6 +
drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c| 124 +
drivers/mtd/nand/raw/brcmnand
504956ad2]
[Philippe Reynes: adapt code to u-boot and only keep new function]
Signed-off-by: Philippe Reynes
Signed-off-by: Philippe Reynes
---
drivers/mtd/nand/raw/nand_base.c | 1013 --
include/linux/mtd/rawnand.h | 30 ++
2 files changed, 883 i
The parameter page isn't always in big endian, so we add
an option to choose the endiannes of the parameter page.
Signed-off-by: Philippe Reynes
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/brcmnand
Signed-off-by: Philippe Reynes
---
arch/arm/include/asm/io.h | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index 5df7472..ab6bc59 100644
--- a/arch/arm/include/asm/io.h
+++ b/arch/arm/include/asm/io.h
@@ -123,6 +123,21
The option write-protect may only change on the kernel command line,
we add a property in the device tree to be more flexible.
Signed-off-by: Philippe Reynes
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mtd/nand/raw/brcmnand
this code for others driver (adding compat file for platform device,
...)
Boris Brezillon (1):
mtd: nand: provide several helpers to do common NAND operations
Brian Norris (1):
mtd: add get/set of_node/flash_node helpers
Marc Gonzalez (1):
mtd: nand: import nand_hw_control_init()
Philippe
From: Marc Gonzalez
The code to initialize a struct nand_hw_control is duplicated across
several drivers. Factorize it using an inline function.
Signed-off-by: Marc Gonzalez
Signed-off-by: Boris Brezillon
[Linux commit: d45bc58dd3bdcaabc1d7d8d9b0b8dee826635cc6]
[Philippe Reynes: adapt code
wed-by: Boris Brezillon
[Linux commit: 28b8b26b308e656edfa9467867d5f79212da2ec3]
[Philippe Reynes: adapt code to u-boot]
Signed-off-by: Philippe Reynes
Signed-off-by: Philippe Reynes
---
include/linux/mtd/rawnand.h | 12
1 file changed, 12 insertions(+)
diff --git a/include/linux/
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
---
doc/uImage.FIT/signature.txt | 3 +++
1 file changed, 3 insertions(+)
Changelog:
v4:
- remove Reviewed-by Clement Peron (added by mistake)
v3:
- no change
v2:
- no change
diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT
: "Clément Péron"
À: "philippe reynes"
Cc: s...@chromium.org, "joe hershberger" , "michal
simek" , "yamada masahiro"
, "Marek Vasut" , "Adam Ford"
, "woods technical" , "Teddy
Reed V" , "jun
This update the its file used in vboot test to respect the new
node style name defined in doc/uImage.FIT (for example: replace
kernel@1 by kernel and fdt@1 by fdt-1)
Signed-off-by: Philippe Reynes
---
test/py/tests/test_vboot.py | 2 +-
test/py/tests/vboot/sign-configs-sha1
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
Changelog:
v4:
- remove Reviewed-by Clement Peron (added by mistake)
v3:
- no change
v2:
- new patch in the serie
diff --git a/configs/sandbox_defconfig b/configs
We add the support of the padding pss for rsa signature.
This new padding is often recommended instead of pkcs-1.5.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
---
Kconfig | 8 +++
common/image-sig.c | 6 ++
include/image.h | 1 +
include/u-boot/rsa.h
The padding pss is now supported for rsa signature.
This add test with padding pss on vboot test.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
---
test/py/tests/test_vboot.py | 12 ---
test/py/tests/vboot/sign-configs-sha1-pss.its | 46
Previous implementation of the rsa signature was using
the openssl API EVP_Sign*, but the new openssl API
EVP_DigestSign* is more flexible. So we move to this
new API.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
---
lib/rsa/rsa-sign.c | 17 +++--
1 file changed, 11
The rsa signature use a padding algorithm. By default, we use the
padding pkcs-1.5. In order to add some new padding algorithm, we
add a padding framework to manage several padding algorithm.
The choice of the padding is done in the file .its.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon
We add the support of the padding pss for rsa signature.
This new padding is often recommended instead of pkcs-1.5.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
Reviewed-by: Clément Péron
---
Kconfig | 8 +++
common/image-sig.c | 6 ++
include/image.h | 1
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
Reviewed-by: Clément Péron
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
Changelog:
v3:
- no change
v2:
- new patch in the serie
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 2ce336f
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
Reviewed-by: Clément Péron
---
doc/uImage.FIT/signature.txt | 3 +++
1 file changed, 3 insertions(+)
Changelog:
v3:
- no change
v2:
- no change
diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt
index a765722
This update the its file used in vboot test to respect the new
node style name defined in doc/uImage.FIT (for example: replace
kernel@1 by kernel and fdt@1 by fdt-1)
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
Reviewed-by: Clément Péron
---
test/py/tests/test_vboot.py
The padding pss is now supported for rsa signature.
This add test with padding pss on vboot test.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
Reviewed-by: Clément Péron
---
test/py/tests/test_vboot.py | 12 ---
test/py/tests/vboot/sign-configs-sha1-pss.its
Previous implementation of the rsa signature was using
the openssl API EVP_Sign*, but the new openssl API
EVP_DigestSign* is more flexible. So we move to this
new API.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
Reviewed-by: Clément Péron
---
lib/rsa/rsa-sign.c | 17
The rsa signature use a padding algorithm. By default, we use the
padding pkcs-1.5. In order to add some new padding algorithm, we
add a padding framework to manage several padding algorithm.
The choice of the padding is done in the file .its.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon
Hi Clément,
You're right, those its are in an old-format style.
I can add a patch in this serie or send a separate
patch to clean the style.
What solution do you prefer ?
Regards,
Philippe
- Mail original -
De: "Clément Péron"
À: s...@chromium.org
Cc: "philippe re
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
---
doc/uImage.FIT/signature.txt | 3 +++
1 file changed, 3 insertions(+)
Changelog:
v2:
- no change
diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt
index a765722..bfff6fd 100644
--- a/doc/uImage.FIT
The padding pss is now supported for rsa signature.
This add test with padding pss on vboot test.
Signed-off-by: Philippe Reynes
---
test/py/tests/test_vboot.py | 10 +++---
test/py/tests/vboot/sign-configs-sha1-pss.its | 46 +
test/py/tests/vboot
Signed-off-by: Philippe Reynes
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
Changelog:
v2:
- new patch in the serie
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 2ce336f..b2565e1 100644
--- a/configs/sandbox_defconfig
+++ b/configs
The rsa signature use a padding algorithm. By default, we use the
padding pkcs-1.5. In order to add some new padding algorithm, we
add a padding framework to manage several padding algorithm.
The choice of the padding is done in the file .its.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon
We add the support of the padding pss for rsa signature.
This new padding is often recommended instead of pkcs-1.5.
Signed-off-by: Philippe Reynes
---
Kconfig | 8 +++
common/image-sig.c | 6 ++
include/image.h | 1 +
include/u-boot/rsa.h | 15
lib/rsa/rsa-sign.c
Previous implementation of the rsa signature was using
the openssl API EVP_Sign*, but the new openssl API
EVP_DigestSign* is more flexible. So we move to this
new API.
Signed-off-by: Philippe Reynes
Reviewed-by: Simon Glass
---
lib/rsa/rsa-sign.c | 17 +++--
1 file changed, 11
This add the initial support of the broadcom bcm6858 SoC family,
only the cpu, dram and uart are supported.
Signed-off-by: Philippe Reynes
---
arch/arm/Kconfig | 7
arch/arm/dts/bcm6858.dtsi | 85 +++
2 files changed, 92 insertions
This add the initial support of the broadcom reference
board bcm968580xref with a bcm6858 SoC.
This board has 512 MB of ram, 256 MB of flash (nand),
2 usb port, 1 uart, 4 ethernet ports (LAN), 1 ethernet port (WAN).
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm968580xref.dts
This driver add the support of serial on bcm6858.
It's based on serial for bcm6345.
Signed-off-by: Philippe Reynes
---
drivers/serial/Kconfig | 6 +
drivers/serial/Makefile | 1 +
drivers/serial/serial_bcm6858.c | 300
3 files
401 - 500 of 583 matches
Mail list logo