Re: [PATCH 001/149] exynos: Rework legacy PWM usage

2022-12-23 Thread Tom Rini
On Sun, Dec 04, 2022 at 10:03:26AM -0500, Tom Rini wrote: > The way that the timer support is currently done for exynos/nexell > platforms relies on the legacy PWM infrastructure, and that needs to be > updated. However, we really cannot safely undef CONFIG_DM_PWM to build > the timer.c file

[PATCH 5/5] configs: am62a: use kernel fitImage when using secure bootflow

2022-12-23 Thread Bryan Brattlof
In order to maintain the chain of trust, each stage of the boot process will first authenticate each binary it loads before continuing. To extend this to the kernal and its dtbs we can package the kernal and its dtbs into another fitImage for Uboot to authenticate and extend the chain of trust all

[PATCH 0/5] add support for hs bootflows to am62a

2022-12-23 Thread Bryan Brattlof
Hello everyone! Texas Instruments has started to enable security settings inside all the boot ROM and TIFS firmware in all of their SoCs. One of the few changes this brings is ROM and TIFS will now begin protecting the RAM regions they're using with firewalls. This means the wakeup domain's SPL

[PATCH 2/5] configs: am62a: move stack and heap to HSM RAM

2022-12-23 Thread Bryan Brattlof
Texas Instruments has begun enabling security setting on the SoCs they produce to instruct ROM and TIFS to begin protecting the Security Management Subsystem (SMS) from other binaries we load into the chip by default. One way ROM does this is by enabling firewalls to protect the OCSRAM region

[PATCH 3/5] arm: mach-k3: copy bootindex to OCRAM for main domain SPL

2022-12-23 Thread Bryan Brattlof
Texas Instruments has begun enabling security settings on the SoCs it produces to instruct ROM and TIFS to begin protecting the Security Management Subsystem (SMS) from other binaries we load into the chip by default. One way ROM and TIFS do this is by enabling firewalls to protect the OCSRAM and

[PATCH 4/5] configs: am62a: convert bootcmd to distro_bootcmd

2022-12-23 Thread Bryan Brattlof
We're currently using CONFIG_BOOTCOMMAND to run custom boot scripts to jump into linux. While this works, let's begin the transition to more distribution friendly jumps to linux by enabling distro_bootcmd. Convert the custom bootcmd to a distro_bootcmd Signed-off-by: Judith Mendez

[PATCH 1/5] configs: restrict am62ax wakup SPL size

2022-12-23 Thread Bryan Brattlof
In its current form, the am62a's wakeup SPL is fairly small, however this will not remain as more boot modes are eventually added. To protect us from overflowing our ~256k of HSM SRAM, add limits and check during the wakeup SPL build. Signed-off-by: Bryan Brattlof ---

Re: [PATCH v2 u-boot] doc: board: qemu-ppce500: Update supported and unsupported

2022-12-23 Thread Bin Meng
On Sat, Dec 24, 2022 at 3:15 AM Pali Rohár wrote: > > qemu can emulate also e500v1 core but cannot emulate CPUs from Freescale > PowerPC QorIQ T and P series. > > Signed-off-by: Pali Rohár > > --- > Changes in v2: > * sed 's/P2O4x/P204x/' > --- > doc/board/emulation/qemu-ppce500.rst | 8

[PATCH v2 3/3] eficonfig: add vertical scroll support

2022-12-23 Thread Masahisa Kojima
The current eficonfig menu does not support vertical scroll, so it can not display the menu entries greater than the console row size. This commit add the vertial scroll support. The console size is retrieved by SIMPLE_TEXT_OUTPUT_PROTOCOL.QueryMode() service, then calculates the row size for

[PATCH v2 2/3] eficonfig: refactor change boot order implementation

2022-12-23 Thread Masahisa Kojima
This commit removes the change boot order specific menu implementation. The change boot order implementation calls eficonfig_process_common() same as other menus. The change boot order menu requires own item_data_print and item_choice implementation, but display_statusline function can be a same

[PATCH v2 1/3] eficonfig: refactor eficonfig_process_common function

2022-12-23 Thread Masahisa Kojima
Current change boot order implementation does not call eficonfig_process_common() and call own menu functions for display_statusline, item_data_print and item_choice. Change boot order functionality should call eficonfig_process_common() to improve maintenanceability. This commit is a preparation

[PATCH v2 0/3] eficonfig: add vertical scroll support

2022-12-23 Thread Masahisa Kojima
This series aims to add the vertical scroll for the eficonfig menu. Before adding scroll support, this series does the refactoring of change boot order implementation since it has own menu handling and it should be removed to improve maintenanceability. The eficonfig menu handles file selection

Re: Broken commit d433c74eecdce1e4952ef4e8c712a9289c0dfcc2

2022-12-23 Thread Pali Rohár
On Friday 23 December 2022 22:39:00 Pali Rohár wrote: > On Friday 23 December 2022 14:18:32 Tom Rini wrote: > > On Fri, Dec 23, 2022 at 08:10:14PM +0100, Pali Rohár wrote: > > > On Thursday 22 December 2022 13:22:50 Tom Rini wrote: > > > > On Thu, Dec 22, 2022 at 06:56:40PM +0100, Pali Rohár

Re: Broken commit d433c74eecdce1e4952ef4e8c712a9289c0dfcc2

2022-12-23 Thread Pali Rohár
On Thursday 22 December 2022 12:33:32 Tom Rini wrote: > So, is it really just the 3 platforms that use p1_p2_rdb.h that need > neither SDCARD nor SPIFLASH for the NAND and no extra suffix defconfigs? > Or is it the P1010RDB ones too? I have looked at d433c74eecdce1e4952ef4e8c712a9289c0dfcc2 again

Re: Broken commit d433c74eecdce1e4952ef4e8c712a9289c0dfcc2

2022-12-23 Thread Pali Rohár
On Friday 23 December 2022 14:18:32 Tom Rini wrote: > On Fri, Dec 23, 2022 at 08:10:14PM +0100, Pali Rohár wrote: > > On Thursday 22 December 2022 13:22:50 Tom Rini wrote: > > > On Thu, Dec 22, 2022 at 06:56:40PM +0100, Pali Rohár wrote: > > > > On Thursday 22 December 2022 12:33:32 Tom Rini

Re: Broken commit d433c74eecdce1e4952ef4e8c712a9289c0dfcc2

2022-12-23 Thread Tom Rini
On Fri, Dec 23, 2022 at 08:10:14PM +0100, Pali Rohár wrote: > On Thursday 22 December 2022 13:22:50 Tom Rini wrote: > > On Thu, Dec 22, 2022 at 06:56:40PM +0100, Pali Rohár wrote: > > > On Thursday 22 December 2022 12:33:32 Tom Rini wrote: > > > > I'm sorry you're frustrated here. I'm also

[PATCH v2 u-boot] doc: board: qemu-ppce500: Update supported and unsupported

2022-12-23 Thread Pali Rohár
qemu can emulate also e500v1 core but cannot emulate CPUs from Freescale PowerPC QorIQ T and P series. Signed-off-by: Pali Rohár --- Changes in v2: * sed 's/P2O4x/P204x/' --- doc/board/emulation/qemu-ppce500.rst | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

Re: Broken commit d433c74eecdce1e4952ef4e8c712a9289c0dfcc2

2022-12-23 Thread Pali Rohár
On Thursday 22 December 2022 13:22:50 Tom Rini wrote: > On Thu, Dec 22, 2022 at 06:56:40PM +0100, Pali Rohár wrote: > > On Thursday 22 December 2022 12:33:32 Tom Rini wrote: > > > I'm sorry you're frustrated here. I'm also frustrated here because the > > > #ifdef games that PowerPC used, in a

Re: Pull request for tpm-23122022

2022-12-23 Thread Tom Rini
On Fri, Dec 23, 2022 at 01:08:50PM +0200, Ilias Apalodimas wrote: > Hi Tom, > > The following changes since commit 1154e965d0bd16cf438afdaa4118e1455fd71a44: > > Merge tag 'efi-2023-01-rc5' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2022-12-20 12:50:48 > -0500) > > are

Re: [PATCH] pylibfdt: Fix version normalization warning

2022-12-23 Thread Tom Rini
On Thu, Dec 15, 2022 at 11:37:59PM +0100, Marek Vasut wrote: > Fix the following version normalization warning: > " > /usr/lib/python3/dist-packages/setuptools/dist.py:530: UserWarning: > Normalizing '2023.01' to '2023.1' > " > > Using suggestion from Richard Jones: >

Re: [PATCH u-boot] powerpc/mpc85xx: Disable AltiVec and VSX instructions

2022-12-23 Thread Tom Rini
On Mon, Dec 19, 2022 at 10:46:22PM +0100, Pali Rohár wrote: > All vector instructions on powerpc mpc85xx must not be used because U-Boot > does not enable them. Usage cause random crashes. SPE vector instructions > are already disabled by compiler flags, so disable also AltiVec and VSX > vector

Re: [PATCH u-boot] powerpc/mpc85xx: Improve disabling of SPE instructions

2022-12-23 Thread Tom Rini
On Sun, Dec 11, 2022 at 03:14:59PM +0100, Pali Rohár wrote: > Specifying -mspe=no also disables usage of SPE instructions. It is > documented in "[PATCH,rs6000] make -mno-spe work as expected" email: > http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html > > So replace -mspe=yes by -mspe=no,

Re: [PATCH v2] powerpc/mpc85xx: Pass correct cpu compiler flags

2022-12-23 Thread Tom Rini
On Mon, Dec 19, 2022 at 10:41:52PM +0100, Pali Rohár wrote: > When gcc's default cpu (selected by --with-cpu= during gcc's configure > phase) does not match target U-Boot board cpu then U-Boot binary does not > have to be compiled correctly. Lot of distributions sets gcc's default cpu > to

Re: [PATCH 1/1] net: don't memcpy to NULL

2022-12-23 Thread Tom Rini
On Wed, Dec 07, 2022 at 11:53:29AM +0100, Heinrich Schuchardt wrote: > In ndisc_receive() 7 bytes are copied from a buffer of size 6 to NULL. > > net_nd_packet_mac is a pointer. If it is NULL, we should set it to the > address of the buffer with the MAC address. > > Addresses-Coverity-ID:

Re: [PATCH] net: ipv6: Add missing break into IPv6 protocol handler

2022-12-23 Thread Tom Rini
On Tue, Dec 06, 2022 at 10:08:16AM +0300, Viacheslav Mitrofanov wrote: > IPv6 protocol handler is not terminated with a break statment. > It can lead to running unexpected code. > > Signed-off-by: Viacheslav Mitrofanov > Reviewed-by: Daniel Schwierzeck Applied to u-boot/master, thanks! --

Re: [PATCH v2 1/3] spl: Kconfig: Fix SPL_OPTEE_IMAGE dependency

2022-12-23 Thread Tom Rini
On Thu, Nov 03, 2022 at 11:49:47AM +0530, Jagan Teki wrote: > fdt_addr will build as part of SPL_LOAD_FIT or SPL_LOAD_FIT_FULL > which is indeed required to build optee image support in SPL. > > common/spl/spl.c: In function ‘jump_to_image_optee’: > common/spl/spl.c:220:46: error: ‘struct

Re: [PATCH v1] net: nuvoton: fix build broken for use phy_get_interface_by_name

2022-12-23 Thread Tom Rini
On Tue, Sep 13, 2022 at 02:25:21PM +0800, Jim Liu wrote: > The original patch is use phy_get_interface_by_name to set interface. > The new patch is use dev_read_phy_mode to replace it. > > Signed-off-by: Jim Liu > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom

Re: [PATCH V2 12/12] include: configs: Update env for selecting right dtb

2022-12-23 Thread Tom Rini
On Wed, Dec 21, 2022 at 07:22:19PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > Now that single defconfig shall be used for booting J721S2 EVM and > AM68 SK, the default device tree will not work for selecting dtb for > kernel. Update the findfdt env to select right dtb based on >

Re: [PATCH V2 08/12] board: ti: j721s2: Add board_init and support for selecting DT based on EEPROM

2022-12-23 Thread Tom Rini
On Wed, Dec 21, 2022 at 07:22:15PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > Add the board_init_f API for SPL and run the platform-required SoC > initialization. > > Add the functionality for board name-based DTB selection from FIT within SPL. > This > will make it easier to utilise

Re: [PATCH V2 07/12] arch: mach-k3: Update board specific API name to K3 generic API name

2022-12-23 Thread Tom Rini
On Wed, Dec 21, 2022 at 07:22:14PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > Although the board_init_f API initialises the SoC, the API name is > incorrectly specified and misleads the functionality. This file should > only include k3-specific functionality. Change the API's name to

Re: [PATCH V2 06/12] oboard: ti: j721s2: Add support for detecting multiple device trees

2022-12-23 Thread Tom Rini
On Wed, Dec 21, 2022 at 07:22:13PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > Update the board_fit_config_name_match() to choose the right dtb > based on the board name read from EEPROM. > > Also restrict multpile EEPROM reads by verifying if EEPROM is already > read > > Signed-off-by:

Re: [PATCH V2 05/12] board: ti: j721s2: Enable support for reading EEPROM at next alternate address

2022-12-23 Thread Tom Rini
On Wed, Dec 21, 2022 at 07:22:12PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > J721S2 EVM has EEPROM populated at 0x50. AM68 SK has EEPROM populated at > next address 0x51 in order to be compatible with RPi. So start looking > for TI specific EEPROM at 0x50, if not found look for EEPROM

Re: [PATCH V2 04/12] board: ti: j721s2: Add support to update board_name for am68-sk

2022-12-23 Thread Tom Rini
On Wed, Dec 21, 2022 at 07:22:11PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > Update setup_board_eeprom_env() to choose the right board name > for am68-sk. > > Signed-off-by: Sinthu Raja Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

[PATCH] ARM: dts: at91: sam9x60: add sdhci1 node and pinctrl

2022-12-23 Thread Mihai Sain
Add node for sdhci1 controller and its pinctrl. Signed-off-by: Mihai Sain --- arch/arm/dts/sam9x60.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi index 64d58f80af..fd203faf45 100644 ---

[PATCH] configs: sam9x60: add mmc config for sdmmc1

2022-12-23 Thread Mihai Sain
Add new config for storing environment from SDMMC1. Signed-off-by: Mihai Sain --- board/atmel/sam9x60_curiosity/MAINTAINERS | 1 + configs/sam9x60_curiosity_mmc1_defconfig | 92 +++ 2 files changed, 93 insertions(+) create mode 100644

[[PATCH] board: at91: sam9x60: set blue led on at boot time

2022-12-23 Thread Mihai Sain
Set blue led on at boot time in order to highlight that u-boot is loaded. This is done for all sam9x60 based boards which contain an RGB led. Signed-off-by: Mihai Sain --- board/atmel/sam9x60_curiosity/sam9x60_curiosity.c | 10 ++ board/atmel/sam9x60ek/sam9x60ek.c | 9

Is it possiable to run dm test in local u-boot console?

2022-12-23 Thread sc...@jlogic-ic.com
Hi Maintainers, I'm an engineer who is porting u-boot in my project. Now we find almost dm cases in folder test/dm depend on SANDBOX, is it possiable to run them in local uboot console directly? A big challenge is that there are various hardware peripherals, I have no idea

Re: [PATCH 0/4] Register at91 OHCI into DM and add SAMA7 USB PHY's

2022-12-23 Thread Sergiu.Moga
On 23.12.2022 14:34, Sergiu Moga wrote: > This patch series originates from a bigger patch series: > https://lists.denx.de/pipermail/u-boot/2022-December/502865.html > > Register ohci-at91 driver into Driver Model. In order for the VBUS to > stay enabled, a `child_pre_probe` method has been added

[PATCH 3/3] configs: at91: sama7: Enable USB and RESET functionality

2022-12-23 Thread Sergiu Moga
Enable USB and RESET functionality. In order for USB to work properly on SAMA7, the driver needs to be able to have access to PHY's, which, in turn, need to have access to the RSTC driver's assert/deassert functionalities. Signed-off-by: Sergiu Moga Tested-by: Mihai Sain ---

[PATCH 2/3] configs: at91: sama5d2: Enable OHCI/EHCI related configs

2022-12-23 Thread Sergiu Moga
Enable the OHCI and EHCI related configs required in order to be able to use the USB command properly. Signed-off-by: Sergiu Moga --- configs/sama5d27_giantboard_defconfig | 4 configs/sama5d27_som1_ek_mmc1_defconfig| 4 configs/sama5d27_som1_ek_mmc_defconfig

[PATCH 1/3] configs: at91: sam9x60: Add required configs for the USB command

2022-12-23 Thread Sergiu Moga
Add the configs required to use the USB-related functionalities within the bootloader. Signed-off-by: Sergiu Moga --- configs/sam9x60_curiosity_mmc_defconfig | 7 +++ configs/sam9x60ek_mmc_defconfig | 8 configs/sam9x60ek_nandflash_defconfig | 8

[PATCH 0/3] Enable USB on SAM9X60, SAMA5D2 and SAMA7 defconfigs

2022-12-23 Thread Sergiu Moga
This patch series originates from a bigger patch series: https://lists.denx.de/pipermail/u-boot/2022-December/502865.html This patch series enables the required configs to properly enable USB functionality on SAM9X60, SAMA5D2 and SAMA7 defconfigs. This patch series depends on the following patch

[PATCH 4/4] usb: ohci-at91: Add USB PHY functionality

2022-12-23 Thread Sergiu Moga
Add the ability to enable/disable whatever USB PHY's are passed to the AT91 OHCI driver through DT. Signed-off-by: Sergiu Moga Tested-by: Mihai Sain --- drivers/usb/host/ohci-at91.c | 31 +++ 1 file changed, 31 insertions(+) diff --git

[PATCH 3/4] usb: ohci-at91: Add `ohci_t` field in `ohci_at91_priv`

2022-12-23 Thread Sergiu Moga
From: Cristian Birsan The `ohci_register` function expects that the OHCI driver's priv is a struct whose first field is of type `ohci_t`. The original conversion to DM did not have it and this inconsistency revealed itself whenever U-Boot required multiple memory allocations resulting in a

[PATCH 2/4] usb: ohci-at91: Enable OHCI functionality and register into DM

2022-12-23 Thread Sergiu Moga
Register the OHCI driver into DM by properly initializing the required clocks and pins required by the DT node of OHCI. In order for the VBUS to stay enabled, a `child_pre_probe` method has been added to overcome the DM core disabling it in `usb_scan_device`: when the generic `device_probe` method

[PATCH 0/4] Register at91 OHCI into DM and add SAMA7 USB PHY's

2022-12-23 Thread Sergiu Moga
This patch series originates from a bigger patch series: https://lists.denx.de/pipermail/u-boot/2022-December/502865.html Register ohci-at91 driver into Driver Model. In order for the VBUS to stay enabled, a `child_pre_probe` method has been added to overcome the DM core disabling it in

[PATCH 1/4] phy: at91: Add support for the USB 2.0 PHY's of SAMA7

2022-12-23 Thread Sergiu Moga
In order to have USB functionality, drivers for SAMA7's USB 2.0 PHY's have been added. There is one driver for UTMI clock's SFR and RESET required functionalities and one for its three possible subclocks of the phy's themselves. In order for this layout to properly work in conjunction with CCF and

[PATCH 2/2] reset: at91: Add reset driver for basic assert/deassert operations

2022-12-23 Thread Sergiu Moga
Add support for at91 reset controller's basic assert/deassert operations. Since this driver conflicts with the SYSRESET driver because they both bind to the same RSTC node, implement a custom bind hook that would manually bind the sysreset driver, if enabled, to the same RSTC DT node. Furthermore,

[PATCH 1/2] ARM: at91: add sama7 SFR definitions

2022-12-23 Thread Sergiu Moga
From: Cristian Birsan Special Function Registers(SFR) definitions for SAMA7 product family. Signed-off-by: Cristian Birsan Signed-off-by: Sergiu Moga --- arch/arm/mach-at91/include/mach/sama7-sfr.h | 59 + 1 file changed, 59 insertions(+) create mode 100644

[PATCH 0/2] Add basic reset driver for assert/deassert operations

2022-12-23 Thread Sergiu Moga
This patch series originates from: https://lists.denx.de/pipermail/u-boot/2022-December/502865.html Implement a basic driver to enable assert/deassert operations. Cristian Birsan (1): ARM: at91: add sama7 SFR definitions Sergiu Moga (1): reset: at91: Add reset driver for basic

[PATCH 5/6] ARM: dts: at91: sama5d2_icp: Add pinctrl nodes for USB related DT nodes

2022-12-23 Thread Sergiu Moga
Add the pinctrl subnodes required by the USB related DT nodes. Signed-off-by: Sergiu Moga --- arch/arm/dts/at91-sama5d2_icp.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_icp.dts b/arch/arm/dts/at91-sama5d2_icp.dts index

[PATCH 4/6] ARM: dts: at91: sama7: Add USB related DT nodes

2022-12-23 Thread Sergiu Moga
Add the USB related DT nodes for the sama7g5ek board. Signed-off-by: Sergiu Moga --- arch/arm/dts/at91-sama7g5ek.dts | 34 +++ arch/arm/dts/sama7g5.dtsi | 73 + 2 files changed, 107 insertions(+) diff --git a/arch/arm/dts/at91-sama7g5ek.dts

[PATCH 6/6] ARM: dts: at91: sama5d27_wlsom1_ek: Add pinctrl nodes for USB DT nodes

2022-12-23 Thread Sergiu Moga
Add the pinctrl nodes required by the USB related DT nodes. Signed-off-by: Sergiu Moga --- arch/arm/dts/at91-sama5d27_wlsom1_ek.dts | 25 1 file changed, 25 insertions(+) diff --git a/arch/arm/dts/at91-sama5d27_wlsom1_ek.dts b/arch/arm/dts/at91-sama5d27_wlsom1_ek.dts

[PATCH 3/6] dt-bindings: clk: at91: Define additional UTMI related clocks

2022-12-23 Thread Sergiu Moga
Add definitions for an additional main UTMI clock as well as its respective subclocks. Signed-off-by: Sergiu Moga --- include/dt-bindings/clk/at91.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/dt-bindings/clk/at91.h b/include/dt-bindings/clk/at91.h index

[PATCH 2/6] dt-bindings: reset: add sama7g5 definitions

2022-12-23 Thread Sergiu Moga
Upstream linux commit 5994f58977e0. Add reset bindings for SAMA7G5. At the moment only USB PHYs are included. Signed-off-by: Sergiu Moga --- include/dt-bindings/reset/sama7g5-reset.h | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 include/dt-bindings/reset/sama7g5-reset.h

[PATCH 1/6] ARM: dts: sam9x60: Add OHCI and EHCI DT nodes

2022-12-23 Thread Sergiu Moga
Add the OHCI and EHCI DT nodes for the sam9x60 boards. Signed-off-by: Sergiu Moga --- arch/arm/dts/at91-sam9x60_curiosity.dts | 21 + arch/arm/dts/sam9x60.dtsi | 18 ++ arch/arm/dts/sam9x60ek.dts | 21 + 3 files

[PATCH 0/6] Add DT USB definitions for SAM9X60, SAMA5D2 and SAMA7

2022-12-23 Thread Sergiu Moga
This patch series originates from the bigger patch series: https://lists.denx.de/pipermail/u-boot/2022-December/502865.html Add the basic DT USB definitions for SAM9X60, SAMA5D2 and SAMA7. The required pinctrl definitions have been added as well as additional definitions for the UTMI related

[PATCH 5/5] configs: at91: sam9x60: Add required configs for the USB clock

2022-12-23 Thread Sergiu Moga
Add the configs required to use the SAM9X60's USB clock. Signed-off-by: Sergiu Moga --- configs/sam9x60_curiosity_mmc_defconfig | 1 + configs/sam9x60ek_mmc_defconfig | 1 + configs/sam9x60ek_nandflash_defconfig | 1 + configs/sam9x60ek_qspiflash_defconfig | 1 + 4 files changed, 4

[PATCH 4/5] clk: at91: sam9x60: Add initial setup of UPLL and USBCK rates

2022-12-23 Thread Sergiu Moga
In order for some of the functionalities, such as the USB clocks, to work properly we need some clocks to be properly initialised at the very beginning of booting. Signed-off-by: Sergiu Moga --- drivers/clk/at91/sam9x60.c | 30 ++ 1 file changed, 30 insertions(+)

[PATCH 3/5] clk: at91: pmc: export clock setup to pmc

2022-12-23 Thread Sergiu Moga
From: Claudiu Beznea Clock setup was intended for setting clocks at boot time on SAMA7G5, e.g. for root clocks like PLLs, that were used to feed IPs needed alive in u-boot (e.g. Ethernet clock feed by a PLL). Export this functionality to all at91 clocks as it may be necessary on other SoCs.

[PATCH 1/5] clk: at91: Add support for sam9x60 USB clock

2022-12-23 Thread Sergiu Moga
Implement sam9x60 USB clock driver. This clock has three parents: PLLA, UPLL and MAINXTAL. The driver is aware of the three possible parents with the help of the two mux tables provied to the driver during the registration of the clock. Signed-off-by: Sergiu Moga --- drivers/clk/at91/Kconfig

[PATCH 2/5] clk: at91: sam9x60: Register the required clocks for USB

2022-12-23 Thread Sergiu Moga
Register into DM the clocks required to properly enable USB functionality within the bootloader. Signed-off-by: Sergiu Moga --- drivers/clk/at91/sam9x60.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/clk/at91/sam9x60.c

[PATCH 0/5] Support the required clocks to enable USB on SAM9X60

2022-12-23 Thread Sergiu Moga
This patch series originates from a bigger patch series: https://lists.denx.de/pipermail/u-boot/2022-December/502865.html A driver for clock operations on SAM9X60's USB clock has been added as well as its registration on CCF. In order for USB to work properly, the UPLL and USBCK need an initial

Pull request for tpm-23122022

2022-12-23 Thread Ilias Apalodimas
Hi Tom, The following changes since commit 1154e965d0bd16cf438afdaa4118e1455fd71a44: Merge tag 'efi-2023-01-rc5' of https://source.denx.de/u-boot/custodians/u-boot-efi (2022-12-20 12:50:48 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tpm/

Re: [u-boot][PATCH v2 8/8] mtd: rawnand: omap_elm: u-boot driver model support

2022-12-23 Thread Michael Nazzareno Trimarchi
Hi On Fri, Dec 23, 2022 at 10:34 AM Roger Quadros wrote: > > Hi Michael, > > On 22/12/2022 23:35, Michael Nazzareno Trimarchi wrote: > > Hi Roger > > > > On Wed, Dec 21, 2022 at 9:08 PM Michael Nazzareno Trimarchi > > wrote: > >> > >> Hi > >> > >> On Wed, Dec 21, 2022 at 8:57 PM Roger Quadros

Re: [u-boot][PATCH v2 8/8] mtd: rawnand: omap_elm: u-boot driver model support

2022-12-23 Thread Roger Quadros
Hi Michael, On 22/12/2022 23:35, Michael Nazzareno Trimarchi wrote: > Hi Roger > > On Wed, Dec 21, 2022 at 9:08 PM Michael Nazzareno Trimarchi > wrote: >> >> Hi >> >> On Wed, Dec 21, 2022 at 8:57 PM Roger Quadros wrote: >>> >>> Hi Michael, >>> >>> On 21/12/2022 19:56, Michael Nazzareno

[PATCH v1 1/1] arm64: versal: enable config_of_separate

2022-12-23 Thread Neal Frager
Enable CONFIG_OF_SEPARATE, so that the u-boot.dtb is built by default for versal devices. Signed-off-by: Neal Frager --- configs/xilinx_versal_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig index