platform/kernel/u-boot.git
14 months agoMerge tag 'efi-2023-07-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Tom Rini [Sat, 22 Apr 2023 22:32:08 +0000 (18:32 -0400)]
Merge tag 'efi-2023-07-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi

Pull request for efi-2023-07-rc1-2

Documentation:

* Describe Python coding style

UEFI:

* Enable tests for authenticated capsules on the sandbox
* Fix pylint warnings
* Correct struct efi_hii_keyboard_layout definition

14 months agoMerge https://source.denx.de/u-boot/custodians/u-boot-riscv
Tom Rini [Sat, 22 Apr 2023 22:31:46 +0000 (18:31 -0400)]
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv

* Add StarFive VisionFive v2 Board support
* Support CONFIG_REMAKE_ELF
* Code cleanups for RISC-V architecture

14 months agoMerge https://source.denx.de/u-boot/custodians/u-boot-watchdog
Tom Rini [Sat, 22 Apr 2023 22:31:21 +0000 (18:31 -0400)]
Merge https://source.denx.de/u-boot/custodians/u-boot-watchdog

- watchdog: arm_smc_wdt: add watchdog support (Lionel)
- watchdog: ftwdt010: return a previously deleted driver now ported to
  DM (Sergei)
- watchdog: Add a watchdog driver for Raspberry Pi boards (Etienne)

14 months agoMerge tag 'u-boot-stm32-20230419' of https://source.denx.de/u-boot/custodians/u-boot-stm
Tom Rini [Sat, 22 Apr 2023 22:30:56 +0000 (18:30 -0400)]
Merge tag 'u-boot-stm32-20230419' of https://source.denx.de/u-boot/custodians/u-boot-stm

configs:
_ Add usb_pgood_delay for ST boards
_ increase malloc size for pre-reloc for stm32mp15
_ Set CONFIG_USB_HUB_DEBOUNCE_TIMEOUT=2s for stm32mp15

dts:
_ Add QSPI support on STM32MP13x SoC family
_ Add FMC support on STM32MP13x SoC family

drivers/machine:
_ pinctrl_stm32: Add slew rate support for stm32_pinctrl_get_pin_muxing()
_ spi: stm32_qspi: Remove useless struct stm32_qspi_flash
_ rawnand: stm32_fmc2: remove unsupported EDO mode
_ stm32mp: fix various array bounds checks

14 months agoMerge tag 'u-boot-nand-20230422' of https://source.denx.de/u-boot/custodians/u-boot...
Tom Rini [Sat, 22 Apr 2023 22:30:31 +0000 (18:30 -0400)]
Merge tag 'u-boot-nand-20230422' of https://source.denx.de/u-boot/custodians/u-boot-nand-flash

Pull request for u-boot-nand-20230422

Replaces a patch by Linus Walleij merged with pull request
u-boot-nand-20230417, with a newer version that contains fixes for tests
run by Tom Rini.

14 months agomtd: rawnand: nand_base: Handle algorithm selection
Linus Walleij [Fri, 7 Apr 2023 13:40:05 +0000 (15:40 +0200)]
mtd: rawnand: nand_base: Handle algorithm selection

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 = <512>;

This is handled by the Linux kernel but U-Boot core does
not respect this. Fix it up by parsing the algorithm and
preserve the behaviour using this property to select
software BCH as far as possible.

Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Acked-by: William Zhang <william.zhang@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Tom Rini <trini@konsulko.com> [am335x_evm]
Link: https://lore.kernel.org/all/20230407134008.1939717-3-linus.walleij@linaro.org/
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
14 months agoRevert "mtd: rawnand: nand_base: Handle algorithm selection"
Dario Binacchi [Sat, 22 Apr 2023 20:58:10 +0000 (22:58 +0200)]
Revert "mtd: rawnand: nand_base: Handle algorithm selection"

It will be replaced by a more recent version which contains fixes for
tests run by Tom Rini.

This reverts commit ff33d3c87c2a1ab576607c2f67a9cb7690a4e7ca.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
14 months agoefi_loader: Fix flexible array member definitions
Ilias Apalodimas [Thu, 6 Apr 2023 19:37:06 +0000 (22:37 +0300)]
efi_loader: Fix flexible array member definitions

When a structure contains a flexible array member, it is not supposed to be
included in arrays or other structs.
Quoting the C spec [0]
"Such a structure (and any union containing, possibly recursively, a
member that is such a structure) shall not be a member of a structure
or an element of an array."

IOW efi_hii_keyboard_layout should not include
struct efi_key_descriptor descriptors[]; since we use it at the
declaration of struct efi_hii_keyboard_package.

[0] https://www.dii.uchile.cl/~daespino/files/Iso_C_1999_definition.pdf
chapter 6.7.2.1

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
14 months agotest: fix launch_efi()
Heinrich Schuchardt [Thu, 20 Apr 2023 17:49:47 +0000 (19:49 +0200)]
test: fix launch_efi()

We cannot use old_dtb in the finally block if it has not been assigned
before the try block.

test/py/tests/test_efi_fit.py:458:30:
E0601: Using variable 'old_dtb' before assignment (used-before-assignment)

Fixes: 8391f955494e ("test/py: Create a test for launching UEFI binaries from FIT images")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
14 months agosandbox: enable CONFIG_EFI_CAPSULE_AUTHENTICATE
Heinrich Schuchardt [Fri, 14 Apr 2023 08:39:18 +0000 (10:39 +0200)]
sandbox: enable CONFIG_EFI_CAPSULE_AUTHENTICATE

Without CONFIG_EFI_CAPSULE_AUTHENTICATE=y the following tests are skipped:

* test/py/tests/test_efi_capsule/test_capsule_firmware_signed_fit.py
* test/py/tests/test_efi_capsule/test_capsule_firmware_signed_raw.py

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
14 months agotest: fix pylint warning for capsule tests
Heinrich Schuchardt [Thu, 13 Apr 2023 16:13:32 +0000 (18:13 +0200)]
test: fix pylint warning for capsule tests

Fix pylint warnings like:

* Class inherits from object
* Missing module description
* Missing class description
* First line of comment blank
* Superfluous imports

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
14 months agoefi_loader: remove unused efi_capsule_authenticate
Heinrich Schuchardt [Tue, 11 Apr 2023 18:18:07 +0000 (20:18 +0200)]
efi_loader: remove unused efi_capsule_authenticate

Remove an unused implementation of efi_capsule_authenticate().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
14 months agodoc: codingstyle: Python coding style
Heinrich Schuchardt [Wed, 19 Apr 2023 06:45:34 +0000 (08:45 +0200)]
doc: codingstyle: Python coding style

Indicate that we follow PEP8 and PEP257.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
14 months agoriscv: Support CONFIG_REMAKE_ELF
Samuel Holland [Mon, 20 Feb 2023 06:02:39 +0000 (00:02 -0600)]
riscv: Support CONFIG_REMAKE_ELF

Add flags to tell objcopy what kind of ELF to create.

Signed-off-by: Samuel Holland <samuel@sholland.org>
14 months agoriscv: Update alignment for some sections in linker scripts
Bin Meng [Thu, 13 Apr 2023 06:20:08 +0000 (14:20 +0800)]
riscv: Update alignment for some sections in linker scripts

Some sections in the linker scripts are aligned to 4 bytes, which
may cause misaligned exception on some platforms, e.g.: clearing
the bss section on 64-bit hardware if __bss_start does not start
from a naturally 8 bytes aligned address.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
14 months agoriscv: spl: Remove relocation sections
Bin Meng [Thu, 13 Apr 2023 06:20:07 +0000 (14:20 +0800)]
riscv: spl: Remove relocation sections

U-Boot SPL is not relocable. Drop these relocation sections.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
14 months agoriscv: Avoid updating the link register
Bin Meng [Thu, 13 Apr 2023 06:20:06 +0000 (14:20 +0800)]
riscv: Avoid updating the link register

board_init_r does not return for U-Boot SPL hence there is no need
to update the link register when jumping to board_init_r.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
14 months agoriscv: Change to use positive offset to access relocation entries
Bin Meng [Thu, 13 Apr 2023 06:20:05 +0000 (14:20 +0800)]
riscv: Change to use positive offset to access relocation entries

The codes currently skip the very first relocation entry, and have
an inaccurate comment "skip first reserved entry" indicating that
the first entry is reserved, but later it references the elements
in the first relocation entry using a minus offset.

Change to use a positive offset so that there is no need to skip
the first relocation entry.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
14 months agomakefile: riscv: Drop useless argument of prelink-riscv
Bin Meng [Thu, 13 Apr 2023 06:20:04 +0000 (14:20 +0800)]
makefile: riscv: Drop useless argument of prelink-riscv

The argv[2] is never used in prelink-riscv. Drop it.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
14 months agotools: prelink-riscv: Unmap the ELF image when done
Bin Meng [Thu, 13 Apr 2023 06:20:03 +0000 (14:20 +0800)]
tools: prelink-riscv: Unmap the ELF image when done

The codes forget to call munmap() to unmap the ELF image that was
mapped by previous mmap().

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
14 months agotools: prelink-riscv: Cosmetic style fixes
Bin Meng [Thu, 13 Apr 2023 06:20:02 +0000 (14:20 +0800)]
tools: prelink-riscv: Cosmetic style fixes

Some coding convention fixes.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
14 months agoriscv: Optimize loading relocation type
Bin Meng [Thu, 13 Apr 2023 06:20:01 +0000 (14:20 +0800)]
riscv: Optimize loading relocation type

't5' already contains relocation type so don't bother reloading it.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
14 months agoriscv: Optimize source end address calculation in start.S
Bin Meng [Thu, 13 Apr 2023 06:20:00 +0000 (14:20 +0800)]
riscv: Optimize source end address calculation in start.S

The __bss_start is the source end address hence load its address
directly into register 't2' for optimization.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
14 months agoriscv: Enforce DWARF4 output
Bin Meng [Fri, 7 Apr 2023 05:44:59 +0000 (13:44 +0800)]
riscv: Enforce DWARF4 output

Since commit 409e4b547872 ("Makefile: Enforce DWARF4 output") the
whole U-Boot build switched to enforce DWARF4 output, but RISC-V
is still on its own setting. Let's switch to use U-Boot's setting.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
14 months agoriscv: Correct a comment in io.h
Bin Meng [Mon, 3 Apr 2023 03:37:32 +0000 (11:37 +0800)]
riscv: Correct a comment in io.h

Replace NDS32 with RISC-V in the comments.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
14 months agoconfigs: starfive: add starfive_visionfive2_defconfig
Yanhong Wang [Thu, 16 Mar 2023 02:53:32 +0000 (10:53 +0800)]
configs: starfive: add starfive_visionfive2_defconfig

This is the initial basic config for StarFive VisionFive v2 board. It
includes consol, Norflash, sdio, ddr etc.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoriscv: dts: jh7110: Add initial StarFive VisionFive v2 board device tree
Yanhong Wang [Wed, 29 Mar 2023 03:42:23 +0000 (11:42 +0800)]
riscv: dts: jh7110: Add initial StarFive VisionFive v2 board device tree

Add initial device tree for StarFive VisionFive v2 board.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoriscv: dts: jh7110: Add initial u-boot device tree
Yanhong Wang [Wed, 29 Mar 2023 03:42:22 +0000 (11:42 +0800)]
riscv: dts: jh7110: Add initial u-boot device tree

Add initial u-boot device tree for the JH7110 RISC-V SoC.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoriscv: dts: jh7110: Add initial StarFive JH7110 device tree
Yanhong Wang [Wed, 29 Mar 2023 03:42:21 +0000 (11:42 +0800)]
riscv: dts: jh7110: Add initial StarFive JH7110 device tree

Add initial device tree for the JH7110 RISC-V SoC.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoboard: starfive: Add TARGET_STARFIVE_VISIONFIVE2 to Kconfig
Yanhong Wang [Wed, 29 Mar 2023 03:42:20 +0000 (11:42 +0800)]
board: starfive: Add TARGET_STARFIVE_VISIONFIVE2 to Kconfig

Add board support for StarFive VisionFive v2.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoboard: starfive: Add Kconfig for StarFive VisionFive v2 Board
Yanhong Wang [Wed, 29 Mar 2023 03:42:19 +0000 (11:42 +0800)]
board: starfive: Add Kconfig for StarFive VisionFive v2 Board

Add Kconfig to select the basic functions for StarFive VisionFive v2 Board.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoriscv: cpu: jh7110: Add Kconfig for StarFive JH7110 SoC
Yanhong Wang [Wed, 29 Mar 2023 03:42:18 +0000 (11:42 +0800)]
riscv: cpu: jh7110: Add Kconfig for StarFive JH7110 SoC

Add Kconfig to select the basic functions for StarFive JH7110 SoC.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoboard: starfive: add StarFive VisionFive v2 board support
Yanhong Wang [Wed, 29 Mar 2023 03:42:17 +0000 (11:42 +0800)]
board: starfive: add StarFive VisionFive v2 board support

Add board support for StarFive VisionFive v2.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoram: starfive: add ddr driver
Yanhong Wang [Wed, 29 Mar 2023 03:42:16 +0000 (11:42 +0800)]
ram: starfive: add ddr driver

Add driver for StarFive JH7110 to support ddr initialization in SPL.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agopinctrl: starfive: Add StarFive JH7110 driver
Kuan Lim Lee [Wed, 29 Mar 2023 03:42:15 +0000 (11:42 +0800)]
pinctrl: starfive: Add StarFive JH7110 driver

Add pinctrl driver for StarFive JH7110 SoC.

Signed-off-by: Kuan Lim Lee <kuanlim.lee@linux.starfivetech.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agodt-bindings: pinctrl: Add StarFive JH7110 pinctrl definitions
Jianlong Huang [Wed, 29 Mar 2023 03:42:14 +0000 (11:42 +0800)]
dt-bindings: pinctrl: Add StarFive JH7110 pinctrl definitions

Add pinctrl definitions for StarFive JH7110 SoC.

Signed-off-by: Kuan Lim Lee <kuanlim.lee@linux.starfivetech.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoclk: starfive: Add StarFive JH7110 clock driver
Yanhong Wang [Wed, 29 Mar 2023 03:42:13 +0000 (11:42 +0800)]
clk: starfive: Add StarFive JH7110 clock driver

Add a DM clock driver for StarFive JH7110 SoC.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agodt-bindings: clock: Add StarFive JH7110 clock definitions
Yanhong Wang [Wed, 29 Mar 2023 03:42:12 +0000 (11:42 +0800)]
dt-bindings: clock: Add StarFive JH7110 clock definitions

Add all clock outputs for the StarFive JH7110 clock generator.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Acked-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoreset: starfive: jh7110: Add reset driver for StarFive JH7110 SoC
Yanhong Wang [Wed, 29 Mar 2023 03:42:11 +0000 (11:42 +0800)]
reset: starfive: jh7110: Add reset driver for StarFive JH7110 SoC

Add a DM reset driver for StarFive JH7110 SoC.

Note that the register base address of reset controller is the
same with the clock controller. Therefore, there is no device
tree node alone for reset driver.It binds device node in
the clock driver

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agodt-bindings: reset: Add StarFive JH7110 reset definitions
Yanhong Wang [Wed, 29 Mar 2023 03:42:10 +0000 (11:42 +0800)]
dt-bindings: reset: Add StarFive JH7110 reset definitions

Add resets for the StarFive JH7110 system(SYS),system-top-group(STG) and
always-on(AON) reset controller.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agocache: starfive: Add StarFive JH7110 support
Yanhong Wang [Wed, 29 Mar 2023 03:42:09 +0000 (11:42 +0800)]
cache: starfive: Add StarFive JH7110 support

This adds support for the StarFive JH7110 SoC which also
feature this SiFive cache controller.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoriscv: cpu: jh7110: Add support for jh7110 SoC
Yanhong Wang [Wed, 29 Mar 2023 03:42:08 +0000 (11:42 +0800)]
riscv: cpu: jh7110: Add support for jh7110 SoC

Add StarFive JH7110 SoC to support RISC-V arch.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
14 months agoconfigs: stm32mp15: set CONFIG_USB_HUB_DEBOUNCE_TIMEOUT=2s
Patrick Delaunay [Fri, 9 Sep 2022 09:45:24 +0000 (11:45 +0200)]
configs: stm32mp15: set CONFIG_USB_HUB_DEBOUNCE_TIMEOUT=2s

With some USB devices connected on USB HUB for the STMicroelectronics
boards, set the usb_pgood_delay=2 is not enough to ensure a correct
detection for all cases; but it is solved with USB_HUB_DEBOUNCE_TIMEOUT=2s.

For example, issue encountered with the USB flash disk:
    ID 058f:6387 Alcor Micro Corp. Flash Drive

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
14 months agostm32mp: fix various array bounds checks
Rasmus Villemoes [Fri, 24 Mar 2023 07:55:19 +0000 (08:55 +0100)]
stm32mp: fix various array bounds checks

In all these cases, the index on the LHS is immediately afterwards
used to access the array appearing in the ARRAY_SIZE() on the RHS - so
if that index is equal to the array size, we'll access
one-past-the-end of the array.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
14 months agomtd: rawnand: stm32_fmc2: remove unsupported EDO mode
Christophe Kerello [Thu, 30 Mar 2023 09:16:21 +0000 (11:16 +0200)]
mtd: rawnand: stm32_fmc2: remove unsupported EDO mode

Remove the EDO mode support from as the FMC2 controller does not
support the feature.

Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
14 months agoARM: dts: stm32: add FMC support on STM32MP13x SoC family
Christophe Kerello [Thu, 30 Mar 2023 09:26:17 +0000 (11:26 +0200)]
ARM: dts: stm32: add FMC support on STM32MP13x SoC family

Add FMC support on STM32MP13x SoC family.

Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
14 months agoconfigs: stm32mp15: increase malloc size for pre-reloc
Patrick Delaunay [Fri, 7 Apr 2023 09:37:08 +0000 (11:37 +0200)]
configs: stm32mp15: increase malloc size for pre-reloc

The early malloc usage increased so the associated defined
CONFIG_SYS_MALLOC_F_LEN need to be increased.

For example, for stm32mp15_defconfig and
stm32mp157c-dk2-scmi.dtsi, we have:

Early malloc usage: 280b8 / 80000

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
14 months agospi: stm32_qspi: Remove useless struct stm32_qspi_flash
Patrice Chotard [Mon, 3 Apr 2023 06:04:43 +0000 (08:04 +0200)]
spi: stm32_qspi: Remove useless struct stm32_qspi_flash

Currently, in stm32_qspi_claim_bus(), QSPI_CR and QSPI_DCR registers
are saved in stm32_ospi_flash struct on first flash memory initialization
and restored on each flash accesses.

As the logic of spi-uclass.c changed since 'commit 741280e9accd
("spi: spi-uclass: Fix spi_claim_bus() speed/mode setup logic")'
set_speed() and set_mode() callbacks are called systematically when bus
speed or bus mode need to be updated, QSPI_CR and QSPI_DCR registers are
set accordingly.

So stm32_qspi_claim_bus() can be updated by removing QSPI_CR and QSPI_DCR
save/restore code and struct stm32_ospi_flash can be removed as well.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
14 months agoARM: dts: stm32: Add QSPI support on STM32MP13x SoC family
Patrice Chotard [Mon, 3 Apr 2023 06:04:11 +0000 (08:04 +0200)]
ARM: dts: stm32: Add QSPI support on STM32MP13x SoC family

Add QSPI support on STM32MP13x SoC family

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
14 months agopinctrl: pinctrl_stm32: Add slew rate support for stm32_pinctrl_get_pin_muxing()
Patrice Chotard [Mon, 27 Mar 2023 07:46:41 +0000 (09:46 +0200)]
pinctrl: pinctrl_stm32: Add slew rate support for stm32_pinctrl_get_pin_muxing()

For debug purpose, it should be useful to indicate the slew rate for
each pins.
Add ospeed register information for pins which are configured in
either alternate function or gpio output.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
14 months agoconfigs: stm32mp13: Increase usb_pgood_delay for ST boards
Patrice Chotard [Thu, 16 Mar 2023 07:03:43 +0000 (08:03 +0100)]
configs: stm32mp13: Increase usb_pgood_delay for ST boards

With some USB device, the current usb_pgood_delay value is not long
enough to ensure a correct detection.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
14 months agoconfigs: stm32mp15: Add usb_pgood_delay for ST boards
Patrice Chotard [Thu, 16 Mar 2023 07:03:42 +0000 (08:03 +0100)]
configs: stm32mp15: Add usb_pgood_delay for ST boards

Add usb_pgood_delay to ensure a correct detection of USB devices.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
14 months agowatchdog: arm_smc_wdt: add watchdog support
Lionel Debieve [Fri, 14 Apr 2023 13:49:15 +0000 (15:49 +0200)]
watchdog: arm_smc_wdt: add watchdog support

Implement a ARM SMCCC based driver that allow to use
a secure watchdog on the platform.

Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
14 months agowatchdog: ftwdt010: return a previously deleted driver now ported to DM
Sergei Antonov [Wed, 12 Apr 2023 11:01:58 +0000 (14:01 +0300)]
watchdog: ftwdt010: return a previously deleted driver now ported to DM

The ftwdt010 watchdog driver was deleted by
commit 11232139e399 ("nds32: Remove the architecture")

Return it to the codebase in a DM compatible form. Enable it in
sandbox_defconfig to test compilability.
Another platform using ftwdt010 will be submitted later.

Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
14 months agowatchdog: Add a watchdog driver for Raspberry Pi boards
ETIENNE DUBLE [Wed, 25 Jan 2023 09:57:28 +0000 (10:57 +0100)]
watchdog: Add a watchdog driver for Raspberry Pi boards

This driver supports the bcm2835 watchdog found on
Raspberry Pi boards.
It is derived from the Linux driver and was tested
on two Raspberry Pi board versions (B+ and 3B+).

Signed-off-by: Etienne Dublé <etienne.duble@imag.fr>
Reviewed-by: Stefan Roese <sr@denx.de>
14 months agoMerge tag 'u-boot-amlogic-20230417' of https://source.denx.de/u-boot/custodians/u...
Tom Rini [Mon, 17 Apr 2023 20:32:17 +0000 (16:32 -0400)]
Merge tag 'u-boot-amlogic-20230417' of https://source.denx.de/u-boot/custodians/u-boot-amlogic

- Add initial support for BPI-CM4
- Spring Cleanup of Amlogic board documentation
- add support for BananaPi M2-Pro
- add support for BananaPi M2S
- add support for Radxa Zero2
- add support for WeTek Hub and WeTek Play2
- switch LibreTech-CC v2 and WeTek Core2 to EE powerdomain
- add support for Beelink GT1 Ultimate

14 months agoMerge tag 'u-boot-nand-20230417' of https://source.denx.de/u-boot/custodians/u-boot...
Tom Rini [Mon, 17 Apr 2023 14:47:33 +0000 (10:47 -0400)]
Merge tag 'u-boot-nand-20230417' of https://source.denx.de/u-boot/custodians/u-boot-nand-flash

Pull request for u-boot-nand-20230417

The first two patches are by Frieder Schrempf who joins as a reviewer for
the SPI NAND framework and drivers.

The following 2 patches are by Linus Walleij and are taken by the series
"Add Broadcom Northstar basic support".

Bin Meng makes static a list for octeontx.

Francesco Dolcini specifies MTD partitions on command line for
colibri-{imx6ull,imx7}.

14 months agodoc: boards: amlogic: add documentation for Beelink GT1 Ultimate
Karl Chan [Mon, 27 Mar 2023 20:15:15 +0000 (04:15 +0800)]
doc: boards: amlogic: add documentation for Beelink GT1 Ultimate

Add build instructions for the Beelink GT1 Ultimate board.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
Link: https://lore.kernel.org/r/8760391a-3506-5ac5-8d55-92c23cccff44@yahoo.com
[narmstrong: fixed MAINTAINERS indentation, added doc to index]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoboards: amlogic: add Beelink GT1 Ultimate defconfig
Karl Chan [Mon, 27 Mar 2023 20:13:14 +0000 (04:13 +0800)]
boards: amlogic: add Beelink GT1 Ultimate defconfig

Add configuration for the Beelink GT1 Ultimate board.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
Link: https://lore.kernel.org/r/e3c87efd-4ac1-24a7-503d-71669aae5177@yahoo.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoARM: dts: add support for Beelink GT1 Ultimate
Karl Chan [Mon, 27 Mar 2023 20:11:52 +0000 (04:11 +0800)]
ARM: dts: add support for Beelink GT1 Ultimate

Import the device-tree from linux-amlogic/for-next (Linux 6.3-rc1).

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
Link: https://lore.kernel.org/r/f5a8db4e-b2d0-e00a-cc4f-01a4f794c761@yahoo.com
[narmstrong: fixed imported dt file]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoboards: amlogic: switch LibreTech-CC v2 and WeTek Core2 to EE powerdomain
Christian Hewitt [Sun, 26 Mar 2023 06:06:25 +0000 (06:06 +0000)]
boards: amlogic: switch LibreTech-CC v2 and WeTek Core2 to EE powerdomain

The LibreTech-CC (LePotato) v2 and WeTek Core2 boards are still using
the older GX VPU powerdomain driver. Update their configs to use the
newer EE driver like other Amlogic boards [0].

[0] https://lore.kernel.org/all/20201106101901.2472557-5-narmstrong@baylibre.com/T/#u

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230326060625.2734090-1-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: add documentation for WeTek Hub and WeTek Play2
Christian Hewitt [Thu, 23 Mar 2023 14:31:42 +0000 (14:31 +0000)]
doc: boards: amlogic: add documentation for WeTek Hub and WeTek Play2

Add build instructions for the WeTek Hub and WeTek Play2 boards.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-15-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoboards: amlogic: add WeTek Hub and WeTek Play2 defconfig
Christian Hewitt [Thu, 23 Mar 2023 14:31:41 +0000 (14:31 +0000)]
boards: amlogic: add WeTek Hub and WeTek Play2 defconfig

Add configurations for the WeTek Hub and WeTek Play2 boards.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-14-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoARM: dts: add support for WeTek Hub and WeTek Play2
Christian Hewitt [Thu, 23 Mar 2023 14:31:40 +0000 (14:31 +0000)]
ARM: dts: add support for WeTek Hub and WeTek Play2

Import the dts files from linux-amlogic/for-next (Linux 6.4-rc1) and
add the old PHY reset bindings for dwmac to the u-boot.dtsi until we
support the new bindings in the PHY node. Without this the PHY is not
functional in u-boot or Linux.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-13-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: add documentation for Radxa Zero2
Christian Hewitt [Thu, 23 Mar 2023 14:31:39 +0000 (14:31 +0000)]
doc: boards: amlogic: add documentation for Radxa Zero2

Add build docs for the Radxa Zero2 board.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-12-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoboards: amlogic: add Radxa Zero2 defconfig
Christian Hewitt [Thu, 23 Mar 2023 14:31:38 +0000 (14:31 +0000)]
boards: amlogic: add Radxa Zero2 defconfig

Add board configuration for the Radxa Zero2.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-11-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoARM: dts: add support for Radxa Zero2
Christian Hewitt [Thu, 23 Mar 2023 14:31:37 +0000 (14:31 +0000)]
ARM: dts: add support for Radxa Zero2

Import the device-tree from linux-amlogic/for-next (Linux 6.4-rc1)
to support the Radxa-Zero2 board.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-10-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodocs: boards: amlogic: add documentation for BananaPi M2S
Christian Hewitt [Thu, 23 Mar 2023 14:31:36 +0000 (14:31 +0000)]
docs: boards: amlogic: add documentation for BananaPi M2S

Add build docs for the BPI-M2S board.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-9-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoboards: add BananaPi M2S defconfig
Christian Hewitt [Thu, 23 Mar 2023 14:31:35 +0000 (14:31 +0000)]
boards: add BananaPi M2S defconfig

Add configuration for the Bananapi BPI-M2S.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-8-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoARM: dts: add support for BananaPi M2S
Christian Hewitt [Thu, 23 Mar 2023 14:31:34 +0000 (14:31 +0000)]
ARM: dts: add support for BananaPi M2S

Import the device-tree from linux-amlogic/for-next (Linux 6.4-rc1)
and omit the NPU node from the A311D board variant dts as this is
not supported under U-Boot.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-7-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodocs: boards: amlogic: add documentation for BananaPi M2-Pro
Christian Hewitt [Thu, 23 Mar 2023 14:31:33 +0000 (14:31 +0000)]
docs: boards: amlogic: add documentation for BananaPi M2-Pro

Add build docs for the BPI-M2-PRO board.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-6-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoboards: add BananaPi M2-Pro defconfig
Christian Hewitt [Thu, 23 Mar 2023 14:31:32 +0000 (14:31 +0000)]
boards: add BananaPi M2-Pro defconfig

Add configuration for the BananaPi M2-Pro board.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-5-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agoARM: dts: add support for BananaPi M2-Pro
Christian Hewitt [Thu, 23 Mar 2023 14:31:31 +0000 (14:31 +0000)]
ARM: dts: add support for BananaPi M2-Pro

Import the board dts from the linux-amlogic/for-next (6.4-rc1)
branch. This involves spliting the BPI-M5 dts into a dtsi and
then reusing this for the M2-Pro.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-4-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodocs: boards: amlogic: add bananapi-m5 to u200 maintainer file
Christian Hewitt [Thu, 23 Mar 2023 14:31:29 +0000 (14:31 +0000)]
docs: boards: amlogic: add bananapi-m5 to u200 maintainer file

The bananapi-m5 docs are missing from the file, so add them.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323143142.780306-2-christianshewitt@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: add documentation for ODROID-HC4
Christian Hewitt [Mon, 20 Mar 2023 11:46:09 +0000 (11:46 +0000)]
doc: boards: amlogic: add documentation for ODROID-HC4

Add separate documentation for the ODROID-HC4 board to ensure
users build U-Boot using the HC4 defconfig that enables PCIe
SATA boot. This avoids user frustration trying to boot after
using the C4 recipe which only works from SD card.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-34-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: add documentation for GS-King-X
Christian Hewitt [Mon, 20 Mar 2023 11:46:08 +0000 (11:46 +0000)]
doc: boards: amlogic: add documentation for GS-King-X

GS-King-X is also supported with the beelink-s922x FIP sources and can use
the GT-King defconfig. Add a board document with instructions.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-33-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: add documentation for BananaPi M5
Christian Hewitt [Mon, 20 Mar 2023 11:46:07 +0000 (11:46 +0000)]
doc: boards: amlogic: add documentation for BananaPi M5

Add missing build documentation for the BPI-M5 board.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-32-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: add documentation for BananaPi CM4IO
Christian Hewitt [Mon, 20 Mar 2023 11:46:06 +0000 (11:46 +0000)]
doc: boards: amlogic: add documentation for BananaPi CM4IO

Add build instructions for the BananaPi BPI-CM4IO carrier board with
BPI-CM4 module.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-31-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for WeTek Core2
Christian Hewitt [Mon, 20 Mar 2023 11:46:05 +0000 (11:46 +0000)]
doc: boards: amlogic: update documentation for WeTek Core2

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-30-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for W400
Christian Hewitt [Mon, 20 Mar 2023 11:46:04 +0000 (11:46 +0000)]
doc: boards: amlogic: update documentation for W400

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-29-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for U200
Christian Hewitt [Mon, 20 Mar 2023 11:46:03 +0000 (11:46 +0000)]
doc: boards: amlogic: update documentation for U200

Improve Documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-28-christianshewitt@gmail.com
[narmstrong: fixed doc build, add commit msg]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for SEI610
Christian Hewitt [Mon, 20 Mar 2023 11:46:02 +0000 (11:46 +0000)]
doc: boards: amlogic: update documentation for SEI610

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-27-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for SEI510
Christian Hewitt [Mon, 20 Mar 2023 11:46:01 +0000 (11:46 +0000)]
doc: boards: amlogic: update documentation for SEI510

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-26-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for S400
Christian Hewitt [Mon, 20 Mar 2023 11:46:00 +0000 (11:46 +0000)]
doc: boards: amlogic: update documentation for S400

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-25-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for Radxa Zero
Christian Hewitt [Mon, 20 Mar 2023 11:45:59 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for Radxa Zero

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-24-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for Q200
Christian Hewitt [Mon, 20 Mar 2023 11:45:58 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for Q200

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-23-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for P201
Christian Hewitt [Mon, 20 Mar 2023 11:45:57 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for P201

Improve documentation. Notably we can now support U-Boot install to
the internal eMMC storage in addition to SD cards.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-22-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for P200
Christian Hewitt [Mon, 20 Mar 2023 11:45:56 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for P200

Improve documentation. Notably we can now support U-Boot install to
the internal eMMC storage in addition to SD cards.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-21-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for ODROID-N2L
Christian Hewitt [Mon, 20 Mar 2023 11:45:55 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for ODROID-N2L

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-20-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for ODROID-N2/N2+
Christian Hewitt [Mon, 20 Mar 2023 11:45:54 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for ODROID-N2/N2+

Improve documentation. Notably mention the ODROID-N2+ and the option
to use FDTDIR not FDT for automatic device-tree selection.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-19-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for ODROID GO ULTRA
Christian Hewitt [Mon, 20 Mar 2023 11:45:53 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for ODROID GO ULTRA

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-18-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for ODROID-C4
Christian Hewitt [Mon, 20 Mar 2023 11:45:52 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for ODROID-C4

Improve documentation. Notably drop references to the ODROID-HC4 board
as its support has evolved and we will add an HC4 specific document in
a later patch.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-17-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for ODROID-C2
Christian Hewitt [Mon, 20 Mar 2023 11:45:51 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for ODROID-C2

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-16-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for NanoPi-K2
Christian Hewitt [Mon, 20 Mar 2023 11:45:50 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for NanoPi-K2

Improve documentation. Notably we can now support U-Boot install to
the removable eMMC storage module in addition to SD cards.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-15-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for LePotato
Christian Hewitt [Mon, 20 Mar 2023 11:45:49 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for LePotato

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-14-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for LaFrite
Christian Hewitt [Mon, 20 Mar 2023 11:45:48 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for LaFrite

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-13-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for Khadas VIM3L
Christian Hewitt [Mon, 20 Mar 2023 11:45:47 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for Khadas VIM3L

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-12-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for Khadas VIM3
Christian Hewitt [Mon, 20 Mar 2023 11:45:46 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for Khadas VIM3

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-11-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for Khadas VIM2
Christian Hewitt [Mon, 20 Mar 2023 11:45:45 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for Khadas VIM2

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-10-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
14 months agodoc: boards: amlogic: update documentation for Khadas VIM
Christian Hewitt [Mon, 20 Mar 2023 11:45:44 +0000 (11:45 +0000)]
doc: boards: amlogic: update documentation for Khadas VIM

Improve documentation.

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Link: https://lore.kernel.org/r/20230320114609.930145-9-christianshewitt@gmail.com
[narmstrong: fixed doc build]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>