- May 07, 2024
-
-
The DM37 and OMAP35 SOM-LV share a few files, but both of them can be migrated to OF_UPSTREAM with a small update to their respective u-boot.dtsi files to address changes made the aliases. Both defconfigs need to properly point to the upstream directory structure for the device trees. With those updated, the U-Boot device tree files can be deleted. Signed-off-by:
Adam Ford <aford173@gmail.com> V2: Remove DT from Makefile
-
The DM37 and OMAP35 Torpedo share a few files, but both of them can be migrated to OF_UPSTREAM with a small update to their respective u-boot.dtsi files to address changes made the aliases. Both defconfigs need to properly point to the upstream directory structure for the device trees. With those updated, the U-Boot device tree files can be deleted. Signed-off-by:
Adam Ford <aford173@gmail.com> V2: Remove DT from Makefile
-
With the feature of OF_UPSTREAM now available, the device trees for the SOM and baseboard can now deleted and the device tree locations need to point to the ti/omap directory. Signed-off-by:
Adam Ford <aford173@gmail.com> V2: Remove DT reference from Makefile.
-
The da850-evm can remove the U-Boot device trees if migrated to OF_UPSTREAM. This means pointing the device trees to the ti/davinci directory. Signed-off-by:
Adam Ford <aford173@gmail.com> v2: Remove DTS from Makefile.
-
- May 01, 2024
-
-
Lukas Funke authored
Rename spl_soc_init() to spl_dram_init() because the generic function name does not reflect what the function actually does. Also spl_dram_init() is commonly used for dram initialization and should be called from board_init_f(). Signed-off-by:
Lukas Funke <lukas.funke@weidmueller.com> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Lukas Funke authored
Rename spl_soc_init() to spl_dram_init() because the generic function name does not reflect what the function actually does. Also spl_dram_init() is commonly used for dram initialization and should be called from board_init_f(). Signed-off-by:
Lukas Funke <lukas.funke@weidmueller.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Add configs related to spi nor flash for Sophgo Milk-V Duo board Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Add spi nor flash controller node for cv18xx SoCs Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Add spi nor flash controller driver for cv1800b SoC Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Add configs related to ethernet and ethernet boot command for Sophgo Milk-V Duo board Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Add ethernet node for cv1800b SoC Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Initialize register in cv1800b ethernet phy to make it compatible with generic phy driver Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Heinrich Schuchardt authored
Let the sbi command detect the coreboot and oreboot SBI Implementation IDs defined in SBI specification v2.0. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Heinrich Schuchardt authored
OpenSBI has implemented the Supervisor Software Events Extension. Allow detecting it in the sbi command. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Add sysreset configs as well as poweroff and reset commands for Sophgo Milk-V Duo board. Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Bind cv1800b sysreset driver for Sophgo Milk-V Duo board in board_init function. Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Add sysreset driver for cv1800b SoC Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
Kongyang Liu authored
Currently, only the receive delay is configured while the transmit delay is not set, which may result in errors when writing to the file. This issue can be resolved by setting PHY_TX_SRC_INVERT to SDHCI_PHY_TX_RX_DLY. Signed-off-by:
Kongyang Liu <seashell11234455@gmail.com> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
-
Yu Chien Peter Lin authored
The instruction and data cache line sizes of Andes core are 64-byte. Select SYS_CACHE_SHIFT_6 for RISCV_NDS so the SYS_CACHELINE_SIZE is enabled with a default value. Signed-off-by:
Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
-
- Apr 29, 2024
-
-
Tom Rini authored
Daniel Schultz <d.schultz@phytec.de> says: This patch series extends PHYTEC's SOM detection by minor fixes, a generic helper function and a new valid flag. Moreover, it adds a module to provide access to the SOM detection for our TI AM6 products.
-
Add all functions to read each SOM option from the EEPROM image and detect whether it's the correct product for this image. Signed-off-by:
Daniel Schultz <d.schultz@phytec.de>
-
The ptr variable is currently defined as int and sizeof returns the size of the eeprom data struct as Byte (32 in total). In case the eeprom is empty, the check, if the eeprom is empty, will most likely stop after 8 iterations because it will continue with the stack which should contain some data. Therefore, the init function will detect an empty EEPROM as API0 and return with the valid flag set to True. Fixes: dc22188c ("board: phytec: Add common PHYTEC SoM detection") Signed-off-by:
Daniel Schultz <d.schultz@phytec.de> Reviewed-by:
Teresa Remmet <t.remmet@phytec.de>
-
For all of the functions that access the eeprom_data, make sure these data are valid. Use the valid member of the phytec_eeprom_data struct. This fixes a bug where only the API revision check guarded against accessing rubbish. But if API revision was e.g. 6, eeprom setup failed before, but phytec_get_imx8m_eth would still happily access the data. Fixes: dc22188c ("board: phytec: Add common PHYTEC SoM detection") Signed-off-by:
Yannic Moog <y.moog@phytec.de> Signed-off-by:
Daniel Schultz <d.schultz@phytec.de> Reviewed-by:
Teresa Remmet <t.remmet@phytec.de>
-
Add a new nember to the eeprom_data that indicates whether the associated data is valid or not. Make use of this new member in the phytec_eeprom_data_init function by setting the valid value appropriately. Move the eeprom data to a new struct payload that holds the payload of the eeprom. Signed-off-by:
Yannic Moog <y.moog@phytec.de> Signed-off-by:
Daniel Schultz <d.schultz@phytec.de> Reviewed-by:
Teresa Remmet <t.remmet@phytec.de>
-
Add a generic function to apply overlays in our board code to not implement the same logic in different PHYTEC products. Signed-off-by:
Daniel Schultz <d.schultz@phytec.de> Reviewed-by:
Teresa Remmet <t.remmet@phytec.de>
-
Tom Rini authored
Wadim Egorov <w.egorov@phytec.de> says: Migrate the boards I maintain to OF_UPSTREAM.
-
The phycore-rk3288 can be migrated to OF_UPSTREAM. Drop redundant device tree files, update MAINTAINERS and defconfig's DEFAULT_DEVICE_TREE for rockchip vendor prefix accordingly. Move device tree nodes required for u-boot to rk3288-phycore-rdk-u-boot.dtsi such as chosen, i2c_eeprom_id and it's alias. Signed-off-by:
Wadim Egorov <w.egorov@phytec.de>
-
The phycore-am64x can be migrated to OF_UPSTREAM. Drop redundant device tree files, update MAINTAINERS and defconfig's DEFAULT_DEVICE_TREE for ti vendor prefix accordingly. While at it, drop the redundant definitions of AM642_PHYBOARD_ELECTRA_DTB & SPL_AM642_PHYBOARD_ELECTRA_DTB from the binman dtsi file. Signed-off-by:
Wadim Egorov <w.egorov@phytec.de>
-
The phycore-am62x can be migrated to OF_UPSTREAM. Drop redundant device tree files, update MAINTAINERS and defconfig's DEFAULT_DEVICE_TREE for ti vendor prefix accordingly. Signed-off-by:
Wadim Egorov <w.egorov@phytec.de>
-
Tom Rini authored
Judith Mendez <jm@ti.com> says: The following patch series includes a MMC tuning algorithm fix according to the following published paper [0]. This seris also includes fixes for OTAP/ITAP delay values in j721e_4bit_sdhci_set_ios_post and for HS400 mode. For DDR52 mode, also set ENDLL=1 and call am654_sdhci_setup_dll() instead of am654_sdhci_setup_delay_chain() according to device datasheet[1]. [0] https://www.ti.com/lit/an/spract9/spract9.pdf [1] https://www.ti.com/lit/ds/symlink/am62p.pdf
-
At HS400 mode the ITAPDLY value is that from High Speed mode which is incorrect and may cause boot failures. The ITAPDLY for HS400 speed mode should be the same as ITAPDLY as HS200 timing after tuning is executed. Add the functionality to save ITAPDLY from HS200 tuning and save as HS400 ITAPDLY. Fixes: c964447e ("mmc: am654_sdhci: Add support for input tap delay") Signed-off-by:
Judith Mendez <jm@ti.com>
-
According to the device datasheet [0], ENDLL=1 for DDR52 mode, so call am654_sdhci_setup_dll() and write itapdly after since we do not carry out tuning. [0] https://www.ti.com/lit/ds/symlink/am62p.pdf Fixes: c964447e ("mmc: am654_sdhci: Add support for input tap delay") Signed-off-by:
Judith Mendez <jm@ti.com> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
-
Set itap_del_ena if ITAPDLY is found in DT or if the tuning algorithm was executed and found the optimal ITAPDLY. Add the functionality to save ITAPDLYENA that can be referenced later by storing the bit in array itap_del_ena[]. Signed-off-by:
Judith Mendez <jm@ti.com>
-
U-Boot is failing to boot class U1 UHS SD cards due to incorrect OTAP and ITAP delay select values. Update OTAP and ITAP delay select values from DT. Fixes: c7d106b4 ("mmc: am654_sdhci: Update output tap delay writes") Signed-off-by:
Nitin Yadav <n-yadav@ti.com> Signed-off-by:
Judith Mendez <jm@ti.com>
-
Currently the sdhci_am654 driver only supports one tuning algorithm which should be used only when DLL is enabled. The ITAPDLY is selected from the largest passing window and the buffer is viewed as a circular buffer. The new tuning algorithm should be used when the delay chain is enabled; the ITAPDLY is selected from the largest passing window and the buffer is not viewed as a circular buffer. This implementation is based off of the following paper: [1]. Also add support for multiple failing windows. [1] https://www.ti.com/lit/an/spract9/spract9.pdf Fixes: a759abf5 ("mmc: am654_sdhci: Add support for software tuning") Signed-off-by:
Judith Mendez <jm@ti.com>
-
Tom Rini authored
Caleb Connolly <caleb.connolly@linaro.org> says: This is a subset of [1]. With more platform maintainers switching to OF_UPSTREAM I didn't want to get in the way (it has also proven more difficult than I hoped to remove only the fully compatible header files). This series removes only the dt-bindings headers which contain generic data like GPIO flags, input event codes, etc. It then implements support for building all DTBs for a vendor with OF_UPSTREAM_BUILD_VENDOR. This removes the need to maintain a set list of DTBs that can be built by U-Boot and opens up the possibility of new boards becoming supported "by default" just by landing their DT upstream. [1]: https://lore.kernel.org/u-boot/20240321-b4-upstream-dt-headers-v2-0-1eac0df875fe@linaro.org
-
This adjusts OF_UPSTREAM to behave more like the kernel by allowing for all the devicetree files for a given vendor to be compiled. This is useful for Qualcomm in particular as most boards are supported by a single U-Boot build just provided with a different DT. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org> Reviewed-by:
Neil Armstrong <neil.armstrong@linaro.org> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on Amlogic boards builds
-
Drop all the subsystem headers that are compatible with the headers in dts/upstream. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org> Reviewed-by:
Neil Armstrong <neil.armstrong@linaro.org>
-
The "include" directory was included in the include path... Remove it. Signed-off-by:
Caleb Connolly <caleb.connolly@linaro.org>
-
Tom Rini authored
MD Danish Anwar <danishanwar@ti.com> says: The series introduces device tree and config changes and AM65x to enable ICSSG driver. The series also enables SPL_LOAD_FIT_APPLY_OVERLAY for AM65x in order to load overlay over spl. The ICSSG2 node is added in device tree overlay so that it remains in sync with linux kernel. This series has been tested on AM65x SR2.0, and the ICSSG interface is able to ping / dhcp and boot kernel using tftp in uboot. The users need to set env variables fw_storage_interface, fw_dev_part, fw_ubi_mtdpart, fw_ubi_volume to indicate which storage medium and partition they want to use to load firmware files from. By default the env fw_storage_interface=mmc and fw_dev_part=1:2 but users can modify these envs as per their requirements.
-