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 ...
trace: Improve the trace test number recognitionThe awk tool can be confused by return character (ASCII 13) in its inputsince it thinks there is a separate field. These can appear if the terminal
trace: Improve the trace test number recognitionThe awk tool can be confused by return character (ASCII 13) in its inputsince it thinks there is a separate field. These can appear if the terminalis in raw mode, perhaps due to a previous U-Boot crash with sandbox. Thisis very confusing. Remove these so that the trace test passes.Signed-off-by: Simon Glass <sjg@chromium.org>
test: Add a test for command repeatThis performs a command, then repeats it, and checks that the repeathappens.Signed-off-by: Simon Glass <sjg@chromium.org>
test: Remove tabs from trace testThese cause U-Boot to print a list of available commands. It doesn't breakthe test, but it is best to remove them from the output.Signed-off-by: Simon Glass <sjg
test: Remove tabs from trace testThese cause U-Boot to print a list of available commands. It doesn't breakthe test, but it is best to remove them from the output.Signed-off-by: Simon Glass <sjg@chromium.org>
Add GPL-2.0+ SPDX-License-Identifier to source filesSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Fixup common/cmd_io.c]Signed-off-by: Tom Rini <trini@ti.com>
Add a simple test for sandbox traceIt is difficult to automatically test tracing on most architectures, butwith sandbox it is easy enough to do a simple sanity check.Signed-off-by: Simon Glass <
Add a simple test for sandbox traceIt is difficult to automatically test tracing on most architectures, butwith sandbox it is easy enough to do a simple sanity check.Signed-off-by: Simon Glass <sjg@chromium.org>