| c52b4f79 | 29-Apr-2011 |
Mike Frysinger <vapier@gentoo.org> |
serial: drop serial_register return value
The serial_register function never fails (always return 0), so change it to a void function to avoid wasting overhead on it.
Signed-off-by: Mike Frysinger
serial: drop serial_register return value
The serial_register function never fails (always return 0), so change it to a void function to avoid wasting overhead on it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 6c768ca7 | 29-Apr-2011 |
Mike Frysinger <vapier@gentoo.org> |
serial: push default_serial_console to drivers
Rather than sticking arch/board/driver specific logic in the common serial code, push it all out to the respective drivers. The serial drivers declare
serial: push default_serial_console to drivers
Rather than sticking arch/board/driver specific logic in the common serial code, push it all out to the respective drivers. The serial drivers declare these funcs weak so that boards can still override things with their own definition.
Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Heiko Schocher <hs@denx.de> CC: Anatolij Gustschin <agust@denx.de> CC: Tom Rix <Tom.Rix@windriver.com> CC: Minkyu Kang <mk7.kang@samsung.com> CC: Craig Nauman <cnauman@diagraph.com> CC: Prafulla Wadaskar <prafulla@marvell.com> CC: Mahavir Jain <mjain@marvell.com> Tested-by: Minkyu Kang <mk7.kang@samsung.com>
show more ...
|
| e84ffddb | 23-Apr-2011 |
Mike Frysinger <vapier@gentoo.org> |
cmd_usage: constify
The usage helper doesn't modify the command, so constify its input arg.
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| 147c7169 | 23-Apr-2011 |
Mike Frysinger <vapier@gentoo.org> |
constify default env
I can't see any obvious needs for the default environment to be writable, so make it const.
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| c3eb3fe4 | 08-Jul-2011 |
Mike Frysinger <vapier@gentoo.org> |
env: allow people to force envcrc building
For people who want to manually extract the embedded environment so that it can be manually packed into the final u-boot image, add a config opt to force b
env: allow people to force envcrc building
For people who want to manually extract the embedded environment so that it can be manually packed into the final u-boot image, add a config opt to force building of the envcrc tool.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 05bad4aa | 13-Jul-2011 |
Aneesh V <aneesh@ti.com> |
scaled down version of generic libraries for SPL
Signed-off-by: Aneesh V <aneesh@ti.com> |
| a16a84b7 | 18-Jul-2011 |
Jens Scharsig <esw@bus-elektronik.de> |
Fix: watchdog timed out, if using md5 command
* Fix: if using md5 command watchdog timed out * change function call md5(..) to the watchdog-safe variant md5_wd(..) to support watchdog reset
Signe
Fix: watchdog timed out, if using md5 command
* Fix: if using md5 command watchdog timed out * change function call md5(..) to the watchdog-safe variant md5_wd(..) to support watchdog reset
Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
show more ...
|
| 3e499b6a | 18-Jul-2011 |
Jens Scharsig <esw@bus-elektronik.de> |
Fix: watchdog timed out, if using sha1 command
* Fix: if using sha1 command watchdog timed out * change function call sha1_csum(..) to the watchdog-safe variant sha1_csum_wd(..) to support watchdo
Fix: watchdog timed out, if using sha1 command
* Fix: if using sha1 command watchdog timed out * change function call sha1_csum(..) to the watchdog-safe variant sha1_csum_wd(..) to support watchdog reset
Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
show more ...
|
| d0c4c338 | 24-May-2011 |
Matthew McClintock <msm@freescale.com> |
command/cmd_cache.c: Add optional flush arguments
It might be desirable to have the ability to flush icache/dcache within u-boot, this patch gives each arch the ability to provide a flush_dcache/flu
command/cmd_cache.c: Add optional flush arguments
It might be desirable to have the ability to flush icache/dcache within u-boot, this patch gives each arch the ability to provide a flush_dcache/flush_icache function to let u-boot flush caches from the prompt
Signed-off-by: Matthew McClintock <msm@freescale.com>
show more ...
|
| 0e0996ef | 24-May-2011 |
Matthew McClintock <msm@freescale.com> |
common/cmd_ximg.c: add ifdef protection for gzip uncompression
Print a message if we do not have the ability to uncompress a gzip image. Before, u-boot would just assume the routines were available
common/cmd_ximg.c: add ifdef protection for gzip uncompression
Print a message if we do not have the ability to uncompress a gzip image. Before, u-boot would just assume the routines were available
Signed-off-by: Matthew McClintock <msm@freescale.com>
show more ...
|
| df3fc526 | 24-May-2011 |
Matthew McClintock <msm@freescale.com> |
disk/part.c: Make features optional
If we don't want to build support for any partition types we can now add #undef CONFIG_PARTITIONS in a board config file to keep this from being compiled in. Othe
disk/part.c: Make features optional
If we don't want to build support for any partition types we can now add #undef CONFIG_PARTITIONS in a board config file to keep this from being compiled in. Otherwise boards assume this is compiled in by default
Signed-off-by: Matthew McClintock <msm@freescale.com>
show more ...
|
| 07c07635 | 14-Jul-2011 |
Laurence Withers <lwithers@guralp.com> |
miiphy: use strncpy() not sprintf()
In miiphy_register() the new device's name was initialised by passing a string parameter as the format string to sprintf(). As this would cause problems if it eve
miiphy: use strncpy() not sprintf()
In miiphy_register() the new device's name was initialised by passing a string parameter as the format string to sprintf(). As this would cause problems if it ever contained a '%' symbol, switch to using strncpy() instead.
Signed-off-by: Laurence Withers <lwithers@guralp.com> Cc: Andy Fleming <afleming@freescale.com>
show more ...
|
| 39c6e039 | 18-Jul-2011 |
Jens Scharsig <esw@bus-elektronik.de> |
Fix: if using crc32 command watchdog timed out
* Fix: if using crc32 command watchdog timed out * change function call crc32(..) to the watchdog-safe variant crc_32_wd(..) to support watchdog rese
Fix: if using crc32 command watchdog timed out
* Fix: if using crc32 command watchdog timed out * change function call crc32(..) to the watchdog-safe variant crc_32_wd(..) to support watchdog reset
Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
show more ...
|
| 942e3143 | 06-Jul-2011 |
Rob Herring <rob.herring@calxeda.com> |
scsi/ahci: add support for non-PCI controllers
Add support for AHCI controllers that are not PCI based.
Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: Wolfgang Denk <wd@denx.de> |
| 370d1e3e | 23-Jun-2011 |
Jason Hobbs <jason.hobbs@calxeda.com> |
cosmetic, main: correct indentation/spacing issues
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> |
| 3c766dcc | 29-Jun-2011 |
Jason Hobbs <jason.hobbs@calxeda.com> |
cosmetic, main: clean up declarations of abortboot
Remove an unneeded prototype declaration from the top of main.c, and use plain inline instead of __inline__ to please checkpatch.
Signed-off-by: J
cosmetic, main: clean up declarations of abortboot
Remove an unneeded prototype declaration from the top of main.c, and use plain inline instead of __inline__ to please checkpatch.
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
show more ...
|
| 67d668bf | 05-Jun-2011 |
Mike Frysinger <vapier@gentoo.org> |
autostart: unify duplicated logic into the bootm code
Rather than having a bunch of random commands handle autostart behavior, unify the logic in a single place. This also fixes building of these
autostart: unify duplicated logic into the bootm code
Rather than having a bunch of random commands handle autostart behavior, unify the logic in a single place. This also fixes building of these
different commands when bootm is disabled.
Acked-by: Matthew McClintock <msm@freescale.com> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 74fac700 | 19-Jul-2011 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
* 'master' of git://git.denx.de/u-boot-mmc: mmc: rescan fails on empty slot AT91:mmc:fix multiple read/write error mmc: Access mode valida
Merge branch 'master' of git://git.denx.de/u-boot-mmc
* 'master' of git://git.denx.de/u-boot-mmc: mmc: rescan fails on empty slot AT91:mmc:fix multiple read/write error mmc: Access mode validation for eMMC cards > 2 GiB mmc: sh_mmcif: add support for Renesas MMCIF mmc: fix the condition for MMC version 4 MMC: add marvell sdhci driver MMC: add sdhci generic framework MMC: add erase function to both mmc and sd MMC: unify mmc read and write operation mmc: Tegra2: Enable SD/MMC driver for Seaboard and Harmony mmc: Tegra2: SD/MMC driver for Seaboard - eMMC on SDMMC4, SDIO on SDMMC3
show more ...
|
| 1bb5e907 | 18-Jul-2011 |
Matthew McClintock <msm@freescale.com> |
Fix typo from 'mb_alloc' -> 'lmb_alloc'
Signed-off-by: Matthew McClintock <msm@freescale.com> |
| cdf1a232 | 18-Jul-2011 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
* 'master' of git://git.denx.de/u-boot-arm: ARM: MX5: Fix broken leftover TO-2 errata workaround MX31: Cleanup clock function scb9328: Add
Merge branch 'master' of git://git.denx.de/u-boot-arm
* 'master' of git://git.denx.de/u-boot-arm: ARM: MX5: Fix broken leftover TO-2 errata workaround MX31: Cleanup clock function scb9328: Add ARM relocation support am3517evm: change console device from ttyS2 to ttyO2 Remove volatile qualifier in get_ram_size() calls TI: TNETV107X Fix Build Error ARM: add missing CONFIG_SKIP_LOWLEVEL_INIT for armv7 arm: add CONFIG_MACH_TYPE setting and documentation arm: add __ilog2 function Timer: Fix misuse of ARM *timer_masked() functions outside arch/arm EfikaMX: Enable EXT2 booting EfikaMX: Add missing CONFIG_SYS_TEXT_BASE EfikaMX: Use correct imximage.cfg MX27: Update to autogenerated asm-offsets.h MX5: Update to autogenerated asm-offsets.h imx: Add support for zmx25 board imx: Make imx25 compatible to mxc_gpio driver and fix in tx25 imx: Add auto generation of asm-offsets.h for imx25 imx: Add support for USB EHCI on imx25 imx: Use correct imx25 reset.c imx: Add get_tbclk() function for imx25 ARM: Update maintainer of board scb9328 mx27: Make the UART port number explicit build: Add targets for auto gen of asm-offsets.h and use it in imx35 mx31pdk: cosmetic: Fix line over 80 characters
show more ...
|
| a55d23cc | 03-Jul-2011 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Remove volatile qualifier in get_ram_size() calls
Checkpatch.pl complains about the volatile qualifier in calls to get_ram_size(). Remove this qualifier in the prototype and in the calls where it is
Remove volatile qualifier in get_ram_size() calls
Checkpatch.pl complains about the volatile qualifier in calls to get_ram_size(). Remove this qualifier in the prototype and in the calls where it is useless, and leave it only in the function body where it is needed.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
show more ...
|
| a28afca5 | 09-Jul-2011 |
David A. Long <dave.long@linaro.org> |
Add uboot "fdt_high" enviroment variable
Add a new "fdt_high" enviroment variable. This can be used to control (or prevent) the relocation of the flattened device tree on boot. It can be used to pre
Add uboot "fdt_high" enviroment variable
Add a new "fdt_high" enviroment variable. This can be used to control (or prevent) the relocation of the flattened device tree on boot. It can be used to prevent relocation of the fdt into highmem. The variable behaves similarly to the existing "initrd_high" variable.
Signed-off-by: David A. Long <dave.long@linaro.org>
show more ...
|
| 8fd01b8f | 14-Jul-2011 |
Michael Jones <michael.jones@matrix-vision.de> |
mmc: rescan fails on empty slot
Fail in 'mmc rescan' if mmc_init() returns error
Signed-off-by: Michael Jones <michael.jones@matrix-vision.de> Acked-by: Andy Fleming <afleming@freescale.com> |
| e6f99a56 | 22-Jun-2011 |
Lei Wen <leiwen@marvell.com> |
MMC: add erase function to both mmc and sd
Erase is a very basic function since the begin of sd specification is announced. Although we could write a bulk of full 0xff memory to the range to take pl
MMC: add erase function to both mmc and sd
Erase is a very basic function since the begin of sd specification is announced. Although we could write a bulk of full 0xff memory to the range to take place of erase, it is more convenient and safe to implement the erase function itself.
Signed-off-by: Lei Wen <leiwen@marvell.com> Signed-off-by: Andy Fleming <afleming@freescale.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 6be95ccf | 22-Jun-2011 |
Lei Wen <leiwen@marvell.com> |
MMC: unify mmc read and write operation
mmc read and write command has so many in common, unfiy those two to force consistency across the those two.
Signed-off-by: Lei Wen <leiwen@marvell.com> Acke
MMC: unify mmc read and write operation
mmc read and write command has so many in common, unfiy those two to force consistency across the those two.
Signed-off-by: Lei Wen <leiwen@marvell.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Andy Fleming <afleming@freescale.com>
show more ...
|