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>
show more ...
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>