x86: Update mtrr functions to allow leaving cache aloneAt present the mtrr functions disable the cache before making changes andenable it again afterwards. This is fine in U-Boot, but does not wor
x86: Update mtrr functions to allow leaving cache aloneAt present the mtrr functions disable the cache before making changes andenable it again afterwards. This is fine in U-Boot, but does not work ifrunning in CAR (such as we are in SPL).Update the functions so that the caller can request that caches be leftalone.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
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>
x86: Move commands from under arch/x86 to cmd/x86/We only need to compile and link these files when building for fullU-Boot. Move them to under cmd/x86/ to make sure they aren't linked inand und
x86: Move commands from under arch/x86 to cmd/x86/We only need to compile and link these files when building for fullU-Boot. Move them to under cmd/x86/ to make sure they aren't linked inand undiscarded due to u_boot_list_2_cmd_* being included).Cc: Bin Meng <bmeng.cn@gmail.com>Signed-off-by: Tom Rini <trini@konsulko.com>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>