summaryrefslogtreecommitdiff
path: root/board/storopack
Commit message (Collapse)AuthorAgeFilesLines
* smegw01: Convert CFG_EXTRA_ENV_SETTINGS to an env fileFabio Estevam2023-05-021-0/+89
| | | | | | | | | Currently, it is recommended to move from CFG_EXTRA_ENV_SETTINGS to an env file, so do the conversion. Suggested-by: Tom Rini <trini@konsulko.com> Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
* smegw01: Read the second MAC addressFabio Estevam2023-05-021-0/+6
| | | | | | | | | | | | Currently, only the first MAC address is read from the fuses. The second MAC address is not read and Linux assigns a random one. To prevent this behavior, read the second MAC address from the fuses and store it into the eth1addr environment variable so that it can be passed to Linux. Signed-off-by: Fabio Estevam <festevam@denx.de>
* smegw01: Add lockdown U-Boot env supportEduard Strehlau2023-05-022-0/+24
| | | | | | | | Add lockdown U-Boot env support so that only certain U-Boot environment variables are allowed to be modified. Signed-off-by: Eduard Strehlau <eduard@lionizers.com> Signed-off-by: Fabio Estevam <festevam@denx.de>
* smegw01: Enable EMMC boot from multiple partitionsEduard Strehlau2023-05-021-0/+10
| | | | | | | | | | | | | | | | GPT Partition labels are used for determining the right root filesystem to boot from. The U-Boot environment is configured to reside in the eMMC hardware boot partition we are currently booted from. This should enable a dual copy approach for upgrading the bootloader. One can overwrite the inactive hardware partition with new bootloader and environment and afterwards switch the eMMC boot partition for an atomic bootloader switch. Signed-off-by: Eduard Strehlau <eduard@lionizers.com> Signed-off-by: Fabio Estevam <festevam@denx.de>
* imx: Don't define __ASSEMBLY__ in source filesSimon Glass2022-02-081-1/+0
| | | | | | | This is supposed to be a build-system flag. Move it there so we can define it before linux/kconfig.h is included. Signed-off-by: Simon Glass <sjg@chromium.org>
* smegw01: Update DDR initializationFabio Estevam2022-02-051-16/+39
| | | | | | | | | | Sync with the latest DDR initialization from Phytec, which uses version 1.2 of NXP's i.MX7D DRAM Register Programming Aid spreadsheet. This updated DDR initialization fixes occasional system freeze. Signed-off-by: Fabio Estevam <festevam@denx.de>
* imx: Finish migration of IMX_CONFIG to KconfigTom Rini2021-08-311-0/+3
| | | | | | | | | - Provide a default Kconfig value of the default script - Largely continue to define this via the board Kconfig file - For the boards that select a script based on defconfig rather than TARGET, keep this within the defconfig. Signed-off-by: Tom Rini <trini@konsulko.com>
* mx7d: Add Storopack's SMEGW01 boardFabio Estevam2021-06-095-0/+218
Add support for Storopack's SMEGW01 board, which is an IoT gateway based on the i.MX7D SoC. Based on the original U-Boot work done by Phytec. Signed-off-by: Fabio Estevam <festevam@denx.de>