fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flagRename fb_set_reboot_flag to fastboot_set_reboot_flag so it matchesall other fastboot code in the global name space. Fix the guards a
fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flagRename fb_set_reboot_flag to fastboot_set_reboot_flag so it matchesall other fastboot code in the global name space. Fix the guards aroundthem so that they're dependent on FASTBOOT, not just USB_FUNCTION_FASTBOOT.Move the weak implementation of fastboot_set_reboot_flag to fb_common.cso we can call it from non-USB fastboot code.Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>Reviewed-by: Simon Glass <sjg@chromium.org>Acked-by: Joe Hershberger <joe.hershberger@ni.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>
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few place
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking awarning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd
env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
ti: boot: Register the MMC controllers in SPL in the same way as in u-bootTo keep a consistent MMC device mapping in SPL and in u-boot, let'sregister the MMC controllers the same way in u-boot and
ti: boot: Register the MMC controllers in SPL in the same way as in u-bootTo keep a consistent MMC device mapping in SPL and in u-boot, let'sregister the MMC controllers the same way in u-boot and in the SPL.In terms of boot time, it doesn't hurt to register more controllers thanneeded because the MMC device is initialized only prior being accessed forthe first time.Having the same device mapping in SPL and u-boot allows us to use theenvironment in SPL whatever the MMC boot device.Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
serial, ns16550: bugfix: ns16550 fifo not enabledcommit: 65f83802b7a5b "serial: 16550: Add getfcr accessor"breaks u-boot commandline working with long commandssending to the board.Since the abo
serial, ns16550: bugfix: ns16550 fifo not enabledcommit: 65f83802b7a5b "serial: 16550: Add getfcr accessor"breaks u-boot commandline working with long commandssending to the board.Since the above patch, you have to setup the fcr register.For board/archs which enable OF_PLATDATA, the new fieldfcr in struct ns16550_platdata is not filled with adefault value ...This leads in not setting up the uarts fifo, which endsin problems, when you send long commands to u-bootscommandline.Detected this issue with automated tbot tests on am335xbased shc board.The error does not popup, if you type commands. You needto copy&paste a long command to u-boots commandshell(or send a long command with tbot)Possible boards/plattforms with problems:./arch/arm/cpu/arm926ejs/lpc32xx/devices.c./arch/arm/mach-tegra/board.c./board/overo/overo.c./board/quipos/cairo/cairo.c./board/logicpd/omap3som/omap3logic.c./board/logicpd/zoom1/zoom1.c./board/timll/devkit8000/devkit8000.c./board/lg/sniper/sniper.c./board/ti/beagle/beagle.c./drivers/serial/serial_rockchip.cSigned-off-by: Heiko Schocher <hs@denx.de>Signed-off-by: Ladislav Michl <ladis@linux-mips.org>Tested-by: Adam Ford <aford173@gmail.com>Reviewed-by: Tom Rini <trini@konsulko.com>
sniper: Change vendor name from lge to lg, matching devicetree vendor prefixThis moves the sniper board from the lge to lg, in order to match the devicetreevendor prefix already defined in the ker
sniper: Change vendor name from lge to lg, matching devicetree vendor prefixThis moves the sniper board from the lge to lg, in order to match the devicetreevendor prefix already defined in the kernel.Signed-off-by: Paul Kocialkowski <contact@paulk.fr>