summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-10Convert CONFIG_SYS_MONITOR_LEN to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SYS_MONITOR_LEN To do this, we set a default of 0 for everyone because there are a number of cases where we define CONFIG_SYS_MONITOR_LEN but the only impact is that we set TOTAL_MALLOC_LEN to be CONFIG_SYS_MALLOC_LEN + CONFIG_ENV_SIZE, so we must continue to allow all boards to set this value. Update the SPL code to use 200 KB as the default raw U-Boot size directly, if we don't have a real CONFIG_SYS_MONITOR_LEN value. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10Convert CONFIG_SYS_MMC_MAX_DEVICE to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SYS_MMC_MAX_DEVICE Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
2022-11-10Convert CONFIG_SYS_MMC_MAX_BLK_COUNT to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SYS_MMC_MAX_BLK_COUNT Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
2022-11-10Convert CONFIG_SYS_MAX_NAND_DEVICE to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SYS_MAX_NAND_DEVICE Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10rtc: Remove unused driversTom Rini
These drivers are not enabled anywhere, remove them. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10Convert CONFIG_SYS_LOADS_BAUD_CHANGE et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SYS_LOADS_BAUD_CHANGE CONFIG_LOADS_ECHO As part of this, we move CMD_SAVES to be after CMD_LOADS as they are logically related (load or save an s-record format file) and this makes grouping of CONFIG_SYS_LOADS_BAUD_CHANGE easier. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10powerpc: Migrate SYS_L3_SIZE to KconfigTom Rini
Introduce three options, one for each observed L3 cache size, and have the size select'd as needed. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10powerpc: Migrate SYS_L2_SIZE to KconfigTom Rini
Introduce two options, one for each observed L2 cache size, and have the size select'd as needed. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10fs: jffs2: Move SYS_JFFS2_SORT_FRAGMENTS to KconfigTom Rini
Move the symbol SYS_JFFS2_SORT_FRAGMENTS to Kconfig and use the only remaining part of doc/README.JFFS2 that is still relevant and useful to the help for this option. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10Remove unused symbols CONFIG_SYS_JFFS2_FIRST_BANK et alTom Rini
This removes the following symbols: CONFIG_RTC_MCFRRTC CONFIG_SYS_JFFS2_FIRST_BANK CONFIG_SYS_JFFS2_FIRST_SECTOR CONFIG_SYS_JFFS2_NUM_BANKS CONFIG_SYS_LBC_CACHE_BASE CONFIG_SYS_LIME_SIZE CONFIG_SYS_MAMR CONFIG_SYS_MCFRRTC_BASE CONFIG_SYS_MONITOR_SEC Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10Convert CONFIG_SYS_INTERLAKEN et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SYS_INTERLAKEN CONFIG_SYS_ISA_IO CONFIG_SYS_ISA_IO_BASE_ADDRESS Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10Remove dead codeTom Rini
This header is unreferenced, remove. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10Convert CONFIG_SYS_INIT_RAM_LOCK to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SYS_INIT_RAM_LOCK Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-10Convert CONFIG_SYS_I2C_INIT_BOARD to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SYS_I2C_INIT_BOARD Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2022-11-09Convert mx8 u-boot.dtsi to CONFIG_TEXT_BASEStefano Babic
Signed-off-by: Stefano Babic <[email protected]> Signed-off-by: Fabio Estevam <[email protected]>
2022-11-09imx: imx8: apalis: switch to binmanOliver Graute
Switch to use binman to pack images Signed-off-by: Oliver Graute <[email protected]>
2022-11-09imx: imx8x: colibri: switch to binmanOliver Graute
Switch to use binman to pack images Signed-off-by: Oliver Graute <[email protected]>
2022-11-09imx: imx8qxp: deneb switch to binmanOliver Graute
Signed-off-by: Oliver Graute <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2022-11-09imx: imx8qxp: giedi switch to binmanOliver Graute
Switch to use binman to pack images Signed-off-by: Oliver Graute <[email protected]>
2022-11-09imx: imx8qm: imx8qm_mek switch to binmanOliver Graute
Switch to use binman to pack images Signed-off-by: Oliver Graute <[email protected]>
2022-11-09imx: imx8qxp: imx8qxp_mek switch to binmanOliver Graute
Switch to use binman pack images Signed-off-by: Oliver Graute <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2022-11-09imx: imx8qm: cgtqmx8: switch to binmanOliver Graute
Switch to use binman to pack images Signed-off-by: Oliver Graute <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2022-11-09imx: imx8qm-rom7720: switch to binmanOliver Graute
Switch to use binman to pack images Signed-off-by: Oliver Graute <[email protected]>
2022-11-09wandboard: Select DM_SERIALFabio Estevam
The conversion to DM_SERIAL is mandatory, so select this option. Signed-off-by: Fabio Estevam <[email protected]>
2022-11-09wandboard: Pass mmc aliasesFabio Estevam
Originally, the mmc aliases node was present in imx6qdl-wandboard.dtsi. After the sync with Linux in commit d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux"), the aliases node is gone as the upstream version does not have it. This causes a regression in which the SD card cannot be found anymore: Since commit the aliases node has been removed U-Boot 2022.10-00999-gcca41ed3d63f-dirty (Nov 03 2022 - 22:07:38 -0300) CPU: Freescale i.MX6QP rev1.0 at 792 MHz Reset cause: POR DRAM: 2 GiB Core: 62 devices, 17 uclasses, devicetree: separate PMIC: PFUZE100 ID=0x10 MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... MMC: no card present *** Warning - No block device, using default environment Fix it by passing the alias node in the u-boot.dtsi file to restore the original behaviour where the SD card (esdhc3) was mapped to mmc0. Fixes: d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux") Signed-off-by: Fabio Estevam <[email protected]>
2022-11-08configs: imx8mn_beacon: Enable SPL_DM_PMIC_BD71837Adam Ford
To properly operate the Nano with LPDDR4 at 1.6GHz, the voltage needs to be adjusted before DDR is initialized. Enable the PMIC in SPL to do this. Signed-off-by: Adam Ford <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2022-11-08configs: imx8mn_beacon: Re-align memory to standard imx8mn settingsAdam Ford
The imx8mn_beacon board does not use the same memory map as the reference design from NXP or other imx8mn boards. As such, memory is more limited in SPL. Moving SPL_BSS_START_ADDR and SPL_STACK to default locations increases the amount of available meory for the SPL stack. Doing this allows the board to no longer define CONFIG_MALLOC_F_ADDR. Since SYS_LOAD_ADDR also does not align with other boards, move it too. Signed-off-by: Adam Ford <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2022-11-08imx8mm: synchronise device tree with linuxMarcel Ziswiler
Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler <[email protected]> Tested-By: Tim Harvey <[email protected]> #imx8m{m,n,p}-venice-*
2022-11-08imx8mn: synchronise device tree with linuxMarcel Ziswiler
Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler <[email protected]> Tested-By: Tim Harvey <[email protected]> #imx8m{m,n,p}-venice-*
2022-11-08imx8mp: synchronise device tree with linuxMarcel Ziswiler
Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler <[email protected]> Tested-By: Tim Harvey <[email protected]> #imx8m{m,n,p}-venice-*
2022-11-08imx8mq: synchronise device tree with linuxMarcel Ziswiler
Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler <[email protected]>
2022-11-08imx8ulp: synchronise device tree with linuxMarcel Ziswiler
Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler <[email protected]>
2022-11-08imxrt1050: synchronise device tree with linuxMarcel Ziswiler
Synchronise device tree with linux v6.1-rc3. Note: Nowadays, the intent is for them regular device trees to just be synchronised from them Linux kernel device trees and any and all U-Boot specific changes need to go into the -u-boot.dtsi device tree include files which BTW get included automatically by the U-Boot build system. Signed-off-by: Marcel Ziswiler <[email protected]>
2022-11-08imxrt1020: migrate to build system included -u-boot.dtsiMarcel Ziswiler
Migrate to using automatic build system included -u-boot.dtsi device tree include files. Signed-off-by: Marcel Ziswiler <[email protected]> Reviewed-by: Giulio Benetti <[email protected]> Tested-by: Giulio Benetti <[email protected]>
2022-11-08vf610: synchronise device tree with linuxMarcel Ziswiler
Synchronise device tree with linux v6.1-rc3. Signed-off-by: Marcel Ziswiler <[email protected]>
2022-11-08configs: imx8m{m,n,p}_venice: disable autoloadTim Harvey
disable network autoload Signed-off-by: Tim Harvey <[email protected]>
2022-11-08imx: imx8m{m,n,p}_venice: migrate to CONFIG_EXTRA_ENV_TEXTTim Harvey
Move the majority of the environment from the board headers to a separate text file. Signed-off-by: Tim Harvey <[email protected]>
2022-11-08configs: imx8m{m, n}_venice: remove unneeded CONFIG_FEC_MXC_PHYADDRTim Harvey
The IMX8M based Venice boards all have device-tree fec nodes that use proper dt with a phy-handle pointing to a phy with reg assigned to the proper phy address. There is no need to keep using the CONFIG_FEC_MXC_PHYADDR hack when a proper dt is used - remove it. This was previously done in commit 400eebf10d9b ("configs: imx8m{m, n}_venice: remove unneeded CONFIG_FEC_MXC_PHYADDR") but got clobbered by commit 6889412ad5e7 ("Convert CONFIG_SYS_BARGSIZE to Kconfig") Signed-off-by: Tim Harvey <[email protected]>
2022-11-08configs: imx8mn_venice.h: remove unused ifdefTim Harvey
remove unused ifdef left behind after commit ca3369df71d8 ("configs: drop CONFIG_SPL_ABORT_ON_RAW_IMAGE") Signed-off-by: Tim Harvey <[email protected]>
2022-11-08configs: imx8mn_venice: fix include header protectionTim Harvey
Fix typo in the include header protection. Signed-off-by: Tim Harvey <[email protected]>
2022-11-08board: gateworks: venice: remove redundance adjustment of thermal trip pointsTim Harvey
commit 0543a1ed2787 ("imx8m: fixup thermal trips") moved updating the thermal trip points to all IMX8M so we can remove it from our board specific dt config. Signed-off-by: Tim Harvey <[email protected]>
2022-11-08mx6cuboxi: migrate to DM_SERIALBaruch Siach
Add the needed DT overrides to enable UART in SPL. Cc: Fabio Estevam <[email protected]> Signed-off-by: Baruch Siach <[email protected]> Tested-by: Tom Rini <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
2022-11-08ARM: imx: Add version variable to DHSOMMarek Vasut
Enable insertion of version variable into U-Boot environment on DHSOM, to make it possible to check U-Boot version e.g. in U-Boot scripts. Signed-off-by: Marek Vasut <[email protected]>
2022-11-08arm: imx8mp: Initial MSC SM2S iMX8MP supportMartyn Welch
Add support for the MSC SM2S-IMX8PLUS SMARC Module. Tested in conjunction with the MSC SM2-MB-EP1 Mini-ITX Carrier Board. Signed-off-by: Martyn Welch <[email protected]> Signed-off-by: Fabio Estevam <[email protected]>
2022-11-08Merge tag 'dm-pull-7nov22' of https://source.denx.de/u-boot/custodians/u-boot-dmTom Rini
sandbox UCLASS_HOST
2022-11-07dm: blk: Add probe in blk_first_device/blk_next_deviceMichal Suchanek
The description claims that the device is probed but it isn't. Add the device_probe() call. Also consolidate the iteration into one function. Fixes: 8a5cbc065d ("dm: blk: Use uclass_find_first/next_device() in blk_first/next_device()") Signed-off-by: Michal Suchanek <[email protected]>
2022-11-07dm: Add tests for the sandbox host driverSimon Glass
Add some unit tests for this. Signed-off-by: Simon Glass <[email protected]>
2022-11-07dm: Add documentation for host command and implementationSimon Glass
Document the 'host' command and also the internals of how it is implemented. Signed-off-by: Simon Glass <[email protected]>
2022-11-07dm: sandbox: Switch over to using the new host uclassSimon Glass
Update the sandbox implementation to use UCLASS_HOST and adjust all the pieces to continue to work: - Update the 'host' command to use the new API - Replace various uses of UCLASS_ROOT with UCLASS_HOST - Disable test_eficonfig since it doesn't work (this should have a unit test to allow this to be debugged) - Update the blk test to use the new API - Drop the old header file Unfortunately it does not seem to be possible to split this change up further. Signed-off-by: Simon Glass <[email protected]>
2022-11-07dm: sandbox: Create a block driverSimon Glass
Create a block driver for the new HOST uclass. This handles attaching and detaching host files. For now the uclass is not used but this will be plumbed in with future patches. Signed-off-by: Simon Glass <[email protected]>