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 ...
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>
mips: ath79: Rename get_bootstrap into ath79_get_bootstrapAdd a platform prefix for function name in order to make more readable,and move it into ath79.hSigned-off-by: Wills Wang <wills.wang@liv
mips: ath79: Rename get_bootstrap into ath79_get_bootstrapAdd a platform prefix for function name in order to make more readable,and move it into ath79.hSigned-off-by: Wills Wang <wills.wang@live.com>Acked-by: Marek Vasut <marex@denx.de>
mips: ath79: ar933x: Avoid warning with gcc5GCC 5.3 report a warning: 'upper' and 'lower' may be useduninitialized in this function [-Wmaybe-uninitialized].Compiler might need explicit initialize
mips: ath79: ar933x: Avoid warning with gcc5GCC 5.3 report a warning: 'upper' and 'lower' may be useduninitialized in this function [-Wmaybe-uninitialized].Compiler might need explicit initializer.Signed-off-by: Wills Wang <wills.wang@live.com>
ath79: ar933x: use BIT macro for bit shift operationused a uniform BIT macro for register bit-field shiftSigned-off-by: Wills Wang <wills.wang@live.com>
mips: ath79: add support for AR933x SOCsThis patch enable work for ar933x SOC.Signed-off-by: Wills Wang <wills.wang@live.com>