SPDX: Convert all of our multiple license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. S
SPDX: Convert all of our multiple license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have multiple licenses (inthese cases, dual license) declared in the SPDX-License-Identifier tag.In this case we change from listing "LICENSE-A LICENSE-B" or "LICENSE-Aor LICENSE-B" or "(LICENSE-A OR LICENSE-B)" to "LICENSE-A OR LICENSE-B"as per the Linux Kernel style document. Note that parenthesis areallowed so when they were used before we continue to use them.Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTRWe have a large number of places where while we historically referencedgd in the code we no longer do, as well as cases where the code added
Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTRWe have a large number of places where while we historically referencedgd in the code we no longer do, as well as cases where the code addedthat line "just in case" during development and never dropped it.Signed-off-by: Tom Rini <trini@konsulko.com>
rockchip: board: lion-rk3368: reduce env-size default to 8KiBWe want to have the same configuration defaults for the RK3368-uQ7as for the RK3399-Q7: this change reduces the default env-size to8Ki
rockchip: board: lion-rk3368: reduce env-size default to 8KiBWe want to have the same configuration defaults for the RK3368-uQ7as for the RK3399-Q7: this change reduces the default env-size to8KiB to ensure that it does not overlap the boot-payload on SD/MMCconfigurations.References: commit fe529e6597c0 ("rockchip: rk3399-puma: reduce env size to 8kiB")Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
rockchip: board: lion-rk3368: update .its fileFor the RK3368-uQ7, we can now update the .its file to mark theTrusted Firmware as out 'firmware' bootable and annotate both ATF andU-Boot with an OS
rockchip: board: lion-rk3368: update .its fileFor the RK3368-uQ7, we can now update the .its file to mark theTrusted Firmware as out 'firmware' bootable and annotate both ATF andU-Boot with an OS-type.Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>Reviewed-by: Simon Glass <sjg@chromium.org>
rockchip: board: lion-rk3368: avoid ATF overwriting active SPL stageThe RK3368-uQ7 ATF has been moved back to 0x100000 (1MB from the startof DRAM) to avoid it overwriting the active SPL stage duri
rockchip: board: lion-rk3368: avoid ATF overwriting active SPL stageThe RK3368-uQ7 ATF has been moved back to 0x100000 (1MB from the startof DRAM) to avoid it overwriting the active SPL stage during FIT imageloading. This change adapts the .its to match up (again) with our ATFrepository for the RK3368-uQ7.Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>Reviewed-by: Simon Glass <sjg@chromium.org>
rockchip: board: lion_rk3368: update README flash instructionsAdd a section to the README on how to flash the on-board eMMCwith the rkdeveloptool.Signed-off-by: Klaus Goger <klaus.goger@theobrom
rockchip: board: lion_rk3368: update README flash instructionsAdd a section to the README on how to flash the on-board eMMCwith the rkdeveloptool.Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
rockchip: lion-rk3368: defconfig: enable DM timer for all stagesThere is no reasonably robust way (this will be needed so early thatdiagnostics will be limited) to specify the base-address of the
rockchip: lion-rk3368: defconfig: enable DM timer for all stagesThere is no reasonably robust way (this will be needed so early thatdiagnostics will be limited) to specify the base-address of the securetimer through the DTS for TPL and SPL. In order to allow us a cleanerway to structure our SPL and TPL stage, we now move to a DM timerdriver.Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>Reviewed-by: Simon Glass <sjg@chromium.org>
rockchip: board: lion-rk3368: add support for the RK3368-uQ7The RK3368-uQ7 (codenamed 'Lion') is a micro-Qseven (40mm x 70mm,MXM-230 edge connector compatible with the Qseven specification)form-f
rockchip: board: lion-rk3368: add support for the RK3368-uQ7The RK3368-uQ7 (codenamed 'Lion') is a micro-Qseven (40mm x 70mm,MXM-230 edge connector compatible with the Qseven specification)form-factor system-on-module based on the octo-core Rockchip RK3368.It is designed, supported and manufactured by Theobroma Systems.It provides the following features: - 8x Cortex-A53 (in 2 clusters of 4 cores each) - (on-module) up to 4GB of DDR3 memory - (on-module) SPI-NOR flash - (on-module) eMMC - Gigabit Ethernet (with an on-module KSZ9031 PHY) - USB - HDMI - MIPI-DSI/single-channel LVDS (muxed on the 'LVDS-A' pin-group) - various 'slow' interfaces (e.g. UART, SPI, I2C, I2S, ...)Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>Reviewed-by: Simon Glass <sjg@chromium.org>