Re: [PATCH u-boot-marvell 00/10] PCI mvebu and aardvark changes

2021-12-12 Thread Stefan Roese
Hi Pali, On 12/12/21 12:23, Pali Rohár wrote: On Thursday 11 November 2021 16:35:39 Marek Behún wrote: From: Marek Behún Hello Stefan, we have some more fixes for PCI (mvebu and aardvark), and one patch for Turris MOX board code. Marek Hello Stefan, patches 1, 2 and 7 still needs some

Re: [PATCH u-boot-marvell 02/10] arm: mvebu: a38x: serdes: Move non-serdes PCIe code to pci_mvebu.c

2021-12-12 Thread Stefan Roese
Hi Pali, On 12/10/21 15:23, Pali Rohár wrote: So I think the correct behavior should be: 1. pci-mvebu.c configures all controller registers to correct values 2. PCIe port is enabled via SoC-specific register 3. pci-mvebu.c waits for link up I guess that reset-controller does not help, as

[PATCHv2] Convert CONFIG_ZYNQMP_PSU_INIT_ENABLED to Kconfig

2021-12-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_ZYNQMP_PSU_INIT_ENABLED Signed-off-by: Tom Rini --- .../avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0_defconfig| 1 + configs/xilinx_zynqmp_mini_emmc0_defconfig| 1 + configs/xilinx_zynqmp_mini_emmc1_defconfig

[PATCH] Convert CONFIG_ZYNQMP_PSU_INIT_ENABLED to Kconfig

2021-12-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_ZYNQMP_PSU_INIT_ENABLED Signed-off-by: Tom Rini --- include/configs/xilinx_zynqmp.h | 4 1 file changed, 4 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index e21480578750..d683d12e95b9 100644

[PATCH 06/11] Finish CONFIG_VID et al conversion to Kconfig

2021-12-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_VID CONFIG_VOL_MONITOR_INA220 CONFIG_VOL_MONITOR_IR36021_READ CONFIG_VOL_MONITOR_IR36021_SET CONFIG_VOL_MONITOR_LTC3882_READ CONFIG_VOL_MONITOR_LTC3882_SET To finish this migration, we first need to introduce CONFIG_SPL_VID as some

[PATCH 10/11] Convert CONFIG_TEGRA_NAND to Kconfig

2021-12-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_TEGRA_NAND Signed-off-by: Tom Rini --- configs/colibri_t20_defconfig | 2 +- configs/harmony_defconfig | 2 +- configs/medcom-wide_defconfig | 2 +- configs/plutux_defconfig | 2 +- configs/seaboard_defconfig| 2 +-

[PATCH 09/11] Finish converting CONFIG_SYS_FSL_CLK to Kconfig

2021-12-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FSL_CLK We move the exiting option to common/Kconfig near the other options to control the contents of board_init_f() and note that this is a legacy option. We further restrict this to where the call is going to be non-empty, for the SoCs

[PATCH 07/11] Convert CONFIG_SYS_PCI_64BIT to Kconfig

2021-12-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_PCI_64BIT Signed-off-by: Tom Rini --- arch/arm/Kconfig | 2 ++ arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 2 ++ arch/arm/mach-octeontx/Kconfig| 4 arch/arm/mach-octeontx2/Kconfig | 4

[PATCH 11/11] Finish conversion CONFIG_SYS_NAND_SELF_INIT to Kconfig

2021-12-12 Thread Tom Rini
In order to finish this conversion we need to add a symbols for SPL_SYS_NAND_SELF_INIT and TPL_SYS_NAND_SELF_INIT as there are cases there where we need to, or need to not, use that framework as things stand. Signed-off-by: Tom Rini --- drivers/mtd/nand/raw/Kconfig | 27

[PATCH 08/11] warp7, pic32mzdask: Remove SYS_FDT_ADDR/SYS_ENV_ADDR from CONFIG namespace

2021-12-12 Thread Tom Rini
In the case of CONFIG_SYS_FDT_ADDR this was being used to modify the default value of fdt_addr / fdt_addr_r, which is not something to expose in this manner and is not otherwise done. The case of SYS_ENV_ADDR is similar but only done on the pic32mzdask platform, for scriptaddr. Signed-off-by:

[PATCH 05/11] Convert CONFIG_SYS_IMMR to Kconfig

2021-12-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_IMMR We do this by consolidating the SYS_IMMR options we have and providing defaults. We also, in the few places where M68K was also sharing code with these platforms, define it within the file to CONFIG_SYS_MBAR to match usage. This should

[PATCH 01/11] pci: Remove unused FSL_PCI_INIT code

2021-12-12 Thread Tom Rini
The symbol CONFIG_FSL_PCI_INIT is no longer enabled anywhere, removed now unused code. Signed-off-by: Tom Rini --- board/xes/common/Makefile | 1 - board/xes/common/fsl_8xxx_pci.c | 22 - drivers/pci/Makefile| 1 - drivers/pci/fsl_pci_init.c | 936

[PATCH 02/11] Finish converting CONFIG_WATCHDOG, HW_WATCHDOG and WDT to Kconfig

2021-12-12 Thread Tom Rini
Because of how these symbols work, and the remaining board config.h file uses, we need to do these at the same time. In some cases we just get to move rather directly to the defconfigs. A few cases require manual intervention. For the case of the eb_cpu5282 we need to select HW_WATCHDOG for the

[PATCH 04/11] Convert CONFIG_SYS_MEMTEST_START et al to Kconfig

2021-12-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_MEMTEST_START CONFIG_SYS_MEMTEST_END This is removing unused defines and correcting the default value to be 0x0 as we are a hex symbol. Signed-off-by: Tom Rini --- cmd/Kconfig | 2 +-

[PATCH 03/11] Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig

2021-12-12 Thread Tom Rini
This converts the following to Kconfig: CONFIG_WATCHDOG_TIMEOUT_MSECS Signed-off-by: Tom Rini --- configs/socfpga_secu1_defconfig| 1 + include/configs/socfpga_arria5_secu1.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configs/socfpga_secu1_defconfig

[PATCH 2/2] sunxi: configs: add defconfig for pine H64 model B

2021-12-12 Thread Daniel Wagenknecht
It almost identical to the defconfig for pine H64 model A with only the CONFIG_DEFUALT_DEVICE_TREE adapted. The differences between the boards model A and model B are irrelevant inside u-boot, but the device-tree name is relevant as default for selecting the correct device-tree when booting

[PATCH 1/2] sunxi: dts: add device-tree for pine H64 model B

2021-12-12 Thread Daniel Wagenknecht
Add the device-tree for pine H64 model B from 5.15 mainline linux. The differences between the pine H64 boards model A and model B are irrelevant inside u-boot, but the device-tree name is relevant as default for selecting the correct device-tree when booting linux. Signed-off-by: Daniel

[PATCH 0/2] Add support for pine H64 model B board

2021-12-12 Thread Daniel Wagenknecht
The following patches add support for the pine H64 model B board. The hardware differences to the pine H64 model A are minimal and not relevant for u-boot. The differences in the device-tree are relevant in linux though and the u-boot preset for the 'fdtfile' variable is infered from

[PATCH] sunxi: add board documentation

2021-12-12 Thread Andre Przywara
Add some long overdue instructions for building and installing U-Boot on Allwinner SoC based boards. This describes the building process, including TF-A and crust, plus installation to SD card, eMMC and SPI flash, both from Linux and U-Boot itself. Also describe FEL booting. Signed-off-by: Andre

[PATCH 1/1] sunxi: SPI: fix pinmuxing for Allwinner H6 SoCs

2021-12-12 Thread Daniel Wagenknecht
The driver for SPI0 on Allwinner H6 SoCs did not use the correct define SUN50I_GPC_SPI0 for the pin function, but one for a different Allwinner SoC series. Fix the conditionals to use the correct define for H6 SoCs. This matches the conditional logic in the SPL spi driver. Tested by probing the

[PATCH 0/1] fix SPI pinmuxing for Allwinner H6 SoCs

2021-12-12 Thread Daniel Wagenknecht
The following patch fixes the SPI not working with H6 SoCs. I encounterd this on a pine H64 model B board when trying to configure u-boot to work with the on-board SPI flash. Register inspection showed that the pins were configured for the wrong function '0b011' which is the SD/eMMC interface

Re: [PATCH u-boot-marvell 00/10] PCI mvebu and aardvark changes

2021-12-12 Thread Pali Rohár
On Thursday 11 November 2021 16:35:39 Marek Behún wrote: > From: Marek Behún > > Hello Stefan, > > we have some more fixes for PCI (mvebu and aardvark), and one patch > for Turris MOX board code. > > Marek Hello Stefan, patches 1, 2 and 7 still needs some modifications. But other remaining