Use _AC and UL macros from linux/const.hDrop the _AC and UL macros from common.h. Linux headers is the originalsource of this macro, so keep its definition in the same header.Update existing use
Use _AC and UL macros from linux/const.hDrop the _AC and UL macros from common.h. Linux headers is the originalsource of this macro, so keep its definition in the same header.Update existing users of these macros to include const.h directly.Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>Cc: Rick Chen <rick@andestech.com>Reviewed-by: Tom Rini <trini@konsulko.com>Reviewed-by: Rick Chen <rick@andestech.com>Signed-off-by: Baruch Siach <baruch@tkos.co.il>Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>Signed-off-by: Stefan Roese <sr@denx.de>
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>
MIPS: sync I/O related header files with linux-4.4Mainly sync asm/io.h to get a working ioremap() implementationas well as the full set of I/O accessors. Pull in additionalheader files to make th
MIPS: sync I/O related header files with linux-4.4Mainly sync asm/io.h to get a working ioremap() implementationas well as the full set of I/O accessors. Pull in additionalheader files to make this work.Furthermore port over the directory 'arch/mips/include/asm/mach-generic/'with contains default definitions for I/O and memory spaces and defaultimplementations for mapping those spaces. All files in that directorycan be overwritten by a SoC/machine.Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>