- Jul 26, 2011
-
-
Aneesh V authored
Signed-off-by:
Aneesh V <aneesh@ti.com>
-
Jens Scharsig authored
* 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>
-
Jens Scharsig authored
* 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>
-
Matthew McClintock authored
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>
-
Matthew McClintock authored
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>
-
Matthew McClintock authored
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>
-
Laurence Withers authored
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>
-
- Jul 25, 2011
-
-
Jens Scharsig authored
* 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>
-
Rob Herring authored
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>
-
Jason Hobbs authored
Signed-off-by:
Jason Hobbs <jason.hobbs@calxeda.com>
-
Jason Hobbs authored
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>
-
Mike Frysinger authored
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>
-
- Jul 19, 2011
-
-
Matthew McClintock authored
Signed-off-by:
Matthew McClintock <msm@freescale.com>
-
- Jul 17, 2011
-
-
Albert ARIBAUD authored
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>
-
- Jul 16, 2011
-
-
David A. Long authored
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>
-
Michael Jones authored
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>
-
Lei Wen authored
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>
-
Lei Wen authored
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>
-
- Jul 15, 2011
-
-
Gerald Van Baren authored
The ePAPR specification says that phandle properties should be called "phandle", and not "linux,phandle". To facilitate the migration from "linux,phandle" to "phandle", introduce function fdt_create_phandle(), which creates a phandle in a given node. For now, we create both the "phandle" and "linux,phandle" properties. A later version of this function will remove support for "linux,phandle". Signed-off-by:
Timur Tabi <timur@freescale.com>
-
Timur Tabi authored
Introduce two functions, fdt_verify_alias_address() and fdt_get_base_address(), which can be used to verify the physical address of a device in a device tree. fdt_get_base_address() returns the base address of an SOC or PCI node. fdt_verify_alias_address() prints a message if the address of a node specified by an alias does not match the given physical address. Signed-off-by:
Timur Tabi <timur@freescale.com>
-
- Jul 04, 2011
-
-
Aneesh V authored
Replace the cache related CONFIG flags with more meaningful names. Following are the changes: CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF CONFIG_SYS_NO_ICACHE -> CONFIG_SYS_ICACHE_OFF CONFIG_SYS_NO_DCACHE -> CONFIG_SYS_DCACHE_OFF Signed-off-by:
Aneesh V <aneesh@ti.com> V2: * Changed CONFIG_L2_OFF -> CONFIG_SYS_NO_L2CACHE V4: * Changed all three flags to the final names suggested as above and accordingly changed the commit message
-
- Jul 01, 2011
-
-
Ben Gardiner authored
Add another nand write. variant, trimffs. This command will request of nand_write_skip_bad() that all trailing all-0xff pages will be dropped from eraseblocks when they are written to flash as-per the reccommended behaviour of the UBI FAQ [1]. The function that implements this timming is the drop_ffs() function by Artem Bityutskiy, ported from the mtd-utils tree. [1] http://www.linux-mtd.infradead.org/doc/ubi.html#L_flasher_algo Signed-off-by:
Ben Gardiner <bengardiner@nanometrics.ca> CC: Artem Bityutskiy <dedekind1@gmail.com> CC: Detlev Zundel <dzu@denx.de> Acked-by:
Scott Wood <scottwood@freescale.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Ben Gardiner authored
In a future commit the behaviour of nand_write_skip_bad() will be further extended. Convert the only flag currently passed to the nand_write_ skip_bad() function to a bitfield of only one allocated member. This should avoid an explosion of int's at the end of the parameter list or the ambiguous calls like nand_write_skip_bad(info, offset, len, buf, 0, 1, 1); nand_write_skip_bad(info, offset, len, buf, 0, 1, 0); Instead there will be: nand_write_skip_bad(info, offset, len, buf, WITH_YAFFS_OOB | WITH_OTHER); Signed-off-by:
Ben Gardiner <bengardiner@nanometrics.ca> Acked-by:
Detlev Zundel <dzu@denx.de> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- Jun 22, 2011
-
-
Wolfgang Denk authored
The 'trab' board configuration is broken, and there is nobody who is interested and willing to fix it. Drop it. This includes support for VFD displays which have always been used by this board only. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jun 01, 2011
-
-
Haojian Zhuang authored
All data in dtb is big endian. Some ARM devices are little-endian. In print_data(), it displays data with big-endian format. For ARM device, data should be converted to little-endian first. Signed-off-by:
Haojian Zhuang <haojian.zhuang@marvell.com> Cc: Gerald Van Baren <vanbaren@cideas.com>
-
Luuk Paulussen authored
When we use the ntpserverip environment variable argv[1] may not be set. Printing the error message using the NetNtpServerIP variable ensures the correct output in both cases. Signed-off-by:
Luuk Paulussen <luuk.paulussen@alliedtelesis.co.nz> Acked-by:
Chris Packham <chris.packham@alliedtelesis.co.nz> Cc: Ben Warren <biggerbadderben@gmail.com> Acked-by:
Detlev Zundel <dzu@denx.de>
-
- May 24, 2011
-
-
Daniel Hobi authored
Since commit 30486322 (nand erase: .spread, .part, .chip subcommands) the arguments off and size are no longer optional. Signed-off-by:
Daniel Hobi <daniel.hobi@schmid-telecom.ch> Cc: Scott Wood <scottwood@freescale.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Daniel Hobi authored
Commit 30486322 (nand erase: .spread, .part, .chip subcommands) added a new field to struct nand_erase_options, but forgot to update common/env_nand.c. Depending on the stack state and bad block distribution, saveenv() can thus erase more than CONFIG_ENV_RANGE bytes which may corrupt the following NAND sectors/partitions. Signed-off-by:
Daniel Hobi <daniel.hobi@schmid-telecom.ch> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- May 19, 2011
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Luca Ceresoli authored
Signed-off-by:
Luca Ceresoli <luca.ceresoli@comelit.it> Cc: Wolfgang Denk <wd@denx.de> Acked-by:
Detlev Zundel <dzu@denx.de>
-
- May 18, 2011
-
-
Lei Wen authored
For emmc, it may have up to 7 partitions: two boot partitions, one user partition, one RPMB partition and four general purpose partitions. (Refer to JESD84-A44.pdf/page 154) As bootloader may need to read out or reflashing images on those different partitions, it is better to enable the partition switch with console command support. Also for partition would be restore to user partition(part 0) when CMD0 is used, so change mmc_init routine to perform normal initialization only once for each slot, unless use the rescan command to force init again. Signed-off-by:
Lei Wen <leiwen@marvell.com> Acked-by:
Andy Fleming <afleming@freescale.com>
-
Lei Wen authored
mmc command applied device, like ide and usb... Signed-off-by:
Lei Wen <leiwen@marvell.com> Acked-by:
Andy Fleming <afleming@freescale.com>
-
- May 12, 2011
-
-
Macpaul Lin authored
cmd_bdinfo.c: clean up with 2.6.38 checkpatch.pl Signed-off-by:
Macpaul Lin <macpaul@andestech.com> Acked-by:
Detlev Zundel <dzu@denx.de>
-
Wolfgang Denk authored
When calling getenv_f() with a too small buffer, it would print an error message like this: env_buf too small [32] This is not really helpful as it does not give any indication which of the calls might have failed. Change this into: env_buf [32 bytes] too small for value of "hwconfig" so we know at least which variable caused the overflow; this usually allows to quickly find the related code as well. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- May 10, 2011
-
-
Holger Brunck authored
Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> Acked-by:
Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de> cc: Detlev Zundel <dzu@denx.de> cc: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by:
Valentin Longchamp <valentin.longchamp@keymile.com>
-
Heiko Schocher authored
cc: Wolfgang Denk <wd@denx.de> cc: Detlev Zundel <dzu@denx.de> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Holger Brunck <holger.brunck@keymile.com> Signed-off-by:
Valentin Longchamp <valentin.longchamp@keymile.com>
-
Heiko Schocher authored
do not define own flash_info variable, instead use the flash_info variable defined in your flash driver. Signed-off-by:
Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de> cc: Detlev Zundel <dzu@denx.de> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Holger Brunck <holger.brunck@keymile.com> Signed-off-by:
Valentin Longchamp <valentin.longchamp@keymile.com>
-
- Apr 30, 2011
-
-
Wolfgang Denk authored
The changes introduced by commit 0abddf82 ``cmd_ide: enhance new feature "CONFIG_IDE_AHB"'' caused compiler warnings like cmd_ide.c: In function 'ide_init': cmd_ide.c:716: warning: assignment from incompatible pointer type Constify the respective function arguments to fix this. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Anatolij Gustschin authored
cmd_mdio.c: In function 'mdio_read_ranges': cmd_mdio.c:97: warning: comparison is always false due to limited range of data type Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Andy Fleming <afleming@freescale.com>
-
Anatolij Gustschin authored
Fix warning introduced while recent PHY Lib changes: miiphyutil.c: In function 'miiphy_read': miiphyutil.c:304: warning: comparison is always false due to limited range of data type Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Andy Fleming <afleming@freescale.com>
-