| a8d2a75d | 15-Jul-2011 |
Gerald Van Baren <gvb@unssw.com> |
fdt: introduce fdt_create_phandle()
The ePAPR specification says that phandle properties should be called "phandle", and not "linux,phandle". To facilitate the migration from "linux,phandle" to "ph
fdt: introduce fdt_create_phandle()
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>
show more ...
|
| bb682001 | 03-May-2011 |
Timur Tabi <timur@freescale.com> |
fdt: introduce fdt_verify_alias_address() and fdt_get_base_address()
Introduce two functions, fdt_verify_alias_address() and fdt_get_base_address(), which can be used to verify the physical address
fdt: introduce fdt_verify_alias_address() and fdt_get_base_address()
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>
show more ...
|
| 635f330f | 30-Apr-2011 |
Mike Frysinger <vapier@gentoo.org> |
Blackfin: uart: add multiple serial support
This brings CONFIG_SERIAL_MULTI support to the Blackfin on-chip UARTs. Ends up adding only ~512bytes per additional UART.
Signed-off-by: Mike Frysinger <
Blackfin: uart: add multiple serial support
This brings CONFIG_SERIAL_MULTI support to the Blackfin on-chip UARTs. Ends up adding only ~512bytes per additional UART.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| e47f2db5 | 16-Jun-2011 |
Aneesh V <aneesh@ti.com> |
armv7: rename cache related CONFIG flags
Replace the cache related CONFIG flags with more meaningful names. Following are the changes:
CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF CONFIG_SYS_NO_ICA
armv7: rename cache related CONFIG flags
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
show more ...
|
| c9494866 | 14-Jun-2011 |
Ben Gardiner <bengardiner@nanometrics.ca> |
cmd_nand: add nand write.trimffs command
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 eraseblock
cmd_nand: add nand write.trimffs command
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>
show more ...
|
| a6c9aa1f | 24-May-2011 |
Ben Gardiner <bengardiner@nanometrics.ca> |
nand_util: convert nand_write_skip_bad() to flags
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_
nand_util: convert nand_write_skip_bad() to flags
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>
show more ...
|
| 566e5cf4 | 01-May-2011 |
Wolfgang Denk <wd@denx.de> |
ARM: drop unsupported 'trab' board
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
ARM: drop unsupported 'trab' board
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>
show more ...
|
| b7900362 | 22-May-2011 |
Haojian Zhuang <haojian.zhuang@gmail.com> |
common/cmd_fdt.c: fix wrong data displayed in fdt print
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, d
common/cmd_fdt.c: fix wrong data displayed in fdt print
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>
show more ...
|
| d6840e3d | 16-May-2011 |
Luuk Paulussen <luuk.paulussen@alliedtelesis.co.nz> |
sntp: avoid use of uninitialized variable
When we use the ntpserverip environment variable argv[1] may not be set. Printing the error message using the NetNtpServerIP variable ensures the correct ou
sntp: avoid use of uninitialized variable
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>
show more ...
|
| eb3abce8 | 19-May-2011 |
Daniel Hobi <daniel.hobi@schmid-telecom.ch> |
cmd_nand: fix help of nand erase subcommand
Since commit 30486322 (nand erase: .spread, .part, .chip subcommands) the arguments off and size are no longer optional.
Signed-off-by: Daniel Hobi <dani
cmd_nand: fix help of nand erase subcommand
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>
show more ...
|
| 3b250ffb | 18-May-2011 |
Daniel Hobi <daniel.hobi@schmid-telecom.ch> |
env_nand: zero-initialize variable nand_erase_options
Commit 30486322 (nand erase: .spread, .part, .chip subcommands) added a new field to struct nand_erase_options, but forgot to update common/env_
env_nand: zero-initialize variable nand_erase_options
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>
show more ...
|
| cd6881b5 | 19-May-2011 |
Wolfgang Denk <wd@denx.de> |
Minor coding style cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 7a83af07 | 17-May-2011 |
Luca Ceresoli <luca.ceresoli@comelit.it> |
TFTP: add tftpsrv command
Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de> |
| bc897b1d | 02-May-2011 |
Lei Wen <leiwen@marvell.com> |
mmc: enable partition switch function for emmc
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 JE
mmc: enable partition switch function for emmc
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>
show more ...
|
| ea6ebe21 | 02-May-2011 |
Lei Wen <leiwen@marvell.com> |
cmd_mmc: eliminate device num in the mmc command
mmc command applied device, like ide and usb...
Signed-off-by: Lei Wen <leiwen@marvell.com> Acked-by: Andy Fleming <afleming@freescale.com> |
| 5902e8f7 | 27-Apr-2011 |
Macpaul Lin <macpaul@andestech.com> |
cosmetic: cmd_bdinfo.c: clean up by using checkpatch.pl
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> |
| a02a884b | 04-May-2011 |
Wolfgang Denk <wd@denx.de> |
cmd_nvedit.c: make error message more helpful
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 d
cmd_nvedit.c: make error message more helpful
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>
show more ...
|
| eae3b064 | 08-Apr-2011 |
Holger Brunck <holger.brunck@keymile.com> |
common/hush: make get_local_var visible for other users
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Acked-by: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de> cc: Detlev Zunde
common/hush: make get_local_var visible for other users
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>
show more ...
|
| 62a813bc | 03-May-2011 |
Heiko Schocher <hs@denx.de> |
cramfs: make cramfs usable without a NOR flash
cc: Wolfgang Denk <wd@denx.de> cc: Detlev Zundel <dzu@denx.de> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Holger Brunck <holger.brunck
cramfs: make cramfs usable without a NOR flash
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>
show more ...
|
| ee8bc961 | 03-May-2011 |
Heiko Schocher <hs@denx.de> |
cramfs: fix bug in using CONFIG_CRAMFS_CMDLINE
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
cramfs: fix bug in using CONFIG_CRAMFS_CMDLINE
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>
show more ...
|
| 96d04c31 | 30-Apr-2011 |
Wolfgang Denk <wd@denx.de> |
IDE: fix compiler warnings
The changes introduced by commit 0abddf8 ``cmd_ide: enhance new feature "CONFIG_IDE_AHB"'' caused compiler warnings like
cmd_ide.c: In function 'ide_init': cmd_ide.c:716:
IDE: fix compiler warnings
The changes introduced by commit 0abddf8 ``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>
show more ...
|
| a621b167 | 30-Apr-2011 |
Anatolij Gustschin <agust@denx.de> |
common/cmd_mdio.c: fix compile warning
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 Gusts
common/cmd_mdio.c: fix compile warning
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>
show more ...
|
| d67d5d52 | 30-Apr-2011 |
Anatolij Gustschin <agust@denx.de> |
miiphy: miiphyutil.c: fix compile warning
Fix warning introduced while recent PHY Lib changes:
miiphyutil.c: In function 'miiphy_read': miiphyutil.c:304: warning: comparison is always false due to
miiphy: miiphyutil.c: fix compile warning
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>
show more ...
|
| f3c615b8 | 26-Apr-2011 |
Macpaul Lin <macpaul@andestech.com> |
cmd_nvedit.c: clean up with checkpatch
Code clean up of cmd_nvedit.c by using checkpatch.pl.
Signed-off-by: Macpaul Lin <macpaul@andestech.com> Acked-by: Detlev Zundel <dzu@denx.de> |
| 0abddf82 | 11-Apr-2011 |
Macpaul Lin <macpaul@andestech.com> |
cmd_ide: enhance new feature "CONFIG_IDE_AHB"
Although most IDE controller is designed to be connected to PCI bridge, there are still some IDE controller support AHB interface for SoC design.
The d
cmd_ide: enhance new feature "CONFIG_IDE_AHB"
Although most IDE controller is designed to be connected to PCI bridge, there are still some IDE controller support AHB interface for SoC design.
The driver implementation of these IDE-AHB controllers differ from other IDE-PCI controller, some additional registers and commands access is required during CMD/DATA I/O. Hence a configuration "CONFIG_IDE_AHB" in cmd_ide.c is required to be defined to support these kinds of SoC controllers. Such as Faraday's FTIDE020 series and Global Unichip's UINF-0301.
Signed-off-by: Macpaul Lin <macpaul@andestech.com>
show more ...
|