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>
show more ...
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>