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>
show more ...
bcm281xx: boot0 hook: adjust to unified boot0 semanticsThis updates the BCM281xx boot0-hook to the updated boot0 semanticsby emitting _start and the vector table before the boot0 hook (aswas the
bcm281xx: boot0 hook: adjust to unified boot0 semanticsThis updates the BCM281xx boot0-hook to the updated boot0 semanticsby emitting _start and the vector table before the boot0 hook (aswas the case before).Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
ARM: boot0 hook: remove macro, include whole header fileFor prepending some board specific header area to U-Boot images wewere so far including a header file with a macro definition containingthe
ARM: boot0 hook: remove macro, include whole header fileFor prepending some board specific header area to U-Boot images wewere so far including a header file with a macro definition containingthe actual header specification.This works fine if there are just a few statements and if there is onlyone alternative.However adding more complex code quickly gets messy with this approach,so let's just drop that intermediate macro and let the #include actuallyinsert the code directly.This converts the callers and the callees, but doesn't change anythingat this point.Signed-off-by: Andre Przywara <andre.przywara@arm.com>Reviewed-by: Simon Glass <sjg@chromium.org>Tested-by: Steve Rae <steve.rae@raedomain.com>Reviewed-by: Jagan Teki <jagan@openedev.com>
arm/arm64: implement a boot header capabilitySome SPL loaders (like Allwinner's boot0, and Broadcom's boot0)require a header before the actual U-Boot binary to both check itsvalidity and to find
arm/arm64: implement a boot header capabilitySome SPL loaders (like Allwinner's boot0, and Broadcom's boot0)require a header before the actual U-Boot binary to both check itsvalidity and to find other data to load. Sometimes this header mayonly be a few bytes of information, and sometimes this might simplybe space that needs to be reserved for a post-processing tool.Introduce a config option to allow assembler preprocessor commandsto be inserted into the code at the appropriate location; typicalassembler preprocessor commands might be: .space 1000 .word 0x12345678Signed-off-by: Andre Przywara <andre.przywara@arm.com>Signed-off-by: Steve Rae <srae@broadcom.com>Commit Notes:Please note that the current code: start.S (arm64) and vectors.S (arm)already jumps over some portion of data already, so this option basicallyjust increases the size of this region (and the resulting binary).For use with Allwinner's boot0 blob there is a tool called boot0img[1],which fills the header to allow booting A64 based boards.For the Pine64 we need a 1536 byte header (including the branchinstruction) at the moment, so we add this to the defconfig.[1] https://github.com/apritzel/pine64/tree/master/toolsENDReviewed-by: Tom Rini <trini@konsulko.com>
usb: gadget: bcm_udc_otg filesAdd the required files for the Broadcom UDC OTG interface.Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>Signed-off-by: Steve Rae <srae@broadcom.com>
bcm281xx: add support for "USB OTG clock"enable this clock with the following: clk_usb_otg_enable((void *)HSOTG_BASE_ADDR)Signed-off-by: Steve Rae <srae@broadcom.com>Reviewed-by: Felipe Balbi
bcm281xx: add support for "USB OTG clock"enable this clock with the following: clk_usb_otg_enable((void *)HSOTG_BASE_ADDR)Signed-off-by: Steve Rae <srae@broadcom.com>Reviewed-by: Felipe Balbi <balbi@ti.com>
arm: bcm281xx: Add Ethernet Clock supportEnable Ethernet clock when Broadcom StarFighter2 Ethernet block(CONFIG_BCM_SF2_ETH) is enabled.Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>Signe
arm: bcm281xx: Add Ethernet Clock supportEnable Ethernet clock when Broadcom StarFighter2 Ethernet block(CONFIG_BCM_SF2_ETH) is enabled.Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>Signed-off-by: Steve Rae <srae@broadcom.com>
arch: bcm281xx: Initial commit of bcm281xx architecture codeAdd bcm281xx architecture support code including a clock framework andchip reset. Define register block base addresses for the bcm281xx
arch: bcm281xx: Initial commit of bcm281xx architecture codeAdd bcm281xx architecture support code including a clock framework andchip reset. Define register block base addresses for the bcm281xxarchitecture and create an empty gpio header file required whenCONFIG_CMD_GPIO is set.Signed-off-by: Darwin Rambo <drambo@broadcom.com>Reviewed-by: Steve Rae <srae@broadcom.com>Reviewed-by: Tim Kryger <tkryger@linaro.org>