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: clock: avoid possible NULL dereferenceIt does not make sense first to dereference c and thento check if it is NULL.The problem was indicated by cppcheck.Signed-off-by: Heinrich Schuc
bcm281xx: clock: avoid possible NULL dereferenceIt does not make sense first to dereference c and thento check if it is NULL.The problem was indicated by cppcheck.Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
treewide: replace #include <asm/errno.h> with <linux/errno.h>Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h havethe same content. (both just wrap <asm-generic/errno.h>)Replace
treewide: replace #include <asm/errno.h> with <linux/errno.h>Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h havethe same content. (both just wrap <asm-generic/errno.h>)Replace all include directives for <asm/errno.h> with <linux/errno.h>.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>[trini: Fixup include/clk.]Signed-off-by: Tom Rini <trini@konsulko.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>
include: move various macros to include/linux/kernel.hU-Boot has imported various utility macros from Linuxscattering them to various places without consistency.In include/common.h are min, max,
include: move various macros to include/linux/kernel.hU-Boot has imported various utility macros from Linuxscattering them to various places without consistency.In include/common.h are min, max, min3, max3, ARRAY_SIZE, ALIGN,container_of, DIV_ROUND_UP, etc.In include/linux/compat.h are min_t, max_t, round_up, round_down,etc.We also have duplicated defines of min_t in some *.c files.Moreover, we are suffering from too cluttered include/common.h.This commit moves various macros that originate ininclude/linux/kernel.h of Linux to their original position.Note:This commit simply moves the macros; the macros roundup,min, max, min2, max3, ARRAY_SIZE are differentfrom those of Linux at this point.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.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>