- 28 4月, 2009 23 次提交
-
-
由 Anatolij Gustschin 提交于
Fix bug in drawing long version/info strings: U-Boot version string like "U-Boot 2009.03-05647-g7c51e06 (Apr 23 2009 - 12:40:00) MPC83XX" is long and doesn't wrap around correctly while drawing beside the logo. Such long strings partially overwrite the logo. This patch is an attempt to fix it. Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Heiko Schocher 提交于
because legacy NAND support is deprecated converting to current NAND interface. !This just compile, because I have no more the hardware to test it. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
由 Ricardo Ribalda Delgado 提交于
If the memory used to copy the link_make is "dirty" the string wont be ended with NULL, throwing out multiple memory bugs. Signed-off-by: NRicardo Ribalda Delgado <ricardo.ribalda@uam.es> Acked-by: NStefan Roese <sr@denx.de>
-
由 Peter Tyser 提交于
Add basic error handling to fread() function calls. This prevents compililation warnings such as: bmp_logo.c: In function ‘main’: bmp_logo.c:71: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result ... Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 Peter Tyser 提交于
This prevents the compilation warning: ncb.c: In function 'main': ncb.c:32: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 Stefan Roese 提交于
With this patch the NAND and OneNAND devices are registered in the MTD subsystem and can then be referenced by the mtdcore code (e.g. get_mtd_device_nm()). This is needed for the new "ubi part" command syntax without the flash type parameter (nor|nand|onenand). Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
This patch removes this compilation warning when CONFIG_MTD_PARTITIONS is defined: nand_base.c: In function 'nand_release': nand_base.c:2922: warning: implicit declaration of function 'del_mtd_partitions' Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
This patch removes the now unnecessary flash type parameter from the "ubi part" command. Currently the user has to define the type of flash he will be using UBI on. Example: => ubi part nor partition1 With this patch this type parameter is not needed anymore. The user can now select the partition directly without the flash type paramter. Example: => ubi part partition1 This breaks backward compatibility right now because of the change in the command syntax. But UBI support is still quite fresh and the advantage of this new command is syntax big enough for this change. Additionally the code is much cleaner now. Signed-off-by: NStefan Roese <sr@denx.de> CC: Kyungmin Park <kyungmin.park@samsung.com>
-
由 Detlev Zundel 提交于
As the common code also handles baudrate switching, which the board specific vct.c driver did not support, this is one of the rare occassions where deleting code actually adds a feature :) Signed-off-by: NDetlev Zundel <dzu@denx.de> Acked-by: NStefan Roese <sr@denx.de> Acked-by: NShinya Kuribayashi <shinya.kuribayashi@necel.com>
-
由 Ladislav Michl 提交于
On Thu, Mar 19, 2009 at 01:30:36PM +0100, Stefan Roese wrote: > Currently the mtdparts commands are included in the jffs2 command support. > This doesn't make sense anymore since other commands (e.g. UBI) use this > infrastructure as well now. This patch separates the mtdparts commands from > the jffs2 commands making it possible to only select mtdparts when no JFFS2 > support is needed. One more leftover... Let nboot command know about partitions even if JFFS2 support is not enabled. Signed-off-by: NLadislav Michl <ladis@linux-mips.org> Acked-by: NStefan Roese <sr@denx.de>
-
由 Peter Tyser 提交于
The output_data_short() and input_data_short() functions for the AmigaOneG3SE are unused and result in compiler warnings. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 Peter Tyser 提交于
Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 Peter Tyser 提交于
__asm__ follows gcc's documented syntax and is generally more common than __asm. This change is only asthetic and should not affect functionality. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 Peter Tyser 提交于
__attribute__ follows gcc's documented syntax and is generally more common than __attribute. This change is only asthetic and should not affect functionality. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 David Brownell 提交于
Make the headers in the "mtdparts" command output line up with their columns ... strike the extra TAB character. Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
-
由 Shinya Kuribayashi 提交于
sa1100.h is not used anywhere, then remove it. $ find . -name '*.h' -empty -print ./include/sa1100.h $ git grep 'sa1100.h' . $ Signed-off-by: NShinya Kuribayashi <shinya.kuribayashi@necel.com> Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Stefan Roese 提交于
I missed removing this file while implementing the UBIFS support. It's not referenced at all, so let's remove it. Thanks to Artem Bityutskiy for spotting. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Adrian Hunter 提交于
UBIFS did not recovery in a situation in which it could have. The relevant function assumed there could not be more nodes in an eraseblock after a corrupted node, but in fact the last (NAND) page written might contain anything. The correct approach is to check for empty space (0xFF bytes) from then on. Signed-off-by: NAdrian Hunter <adrian.hunter@nokia.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Gao Guanhua 提交于
The filelen should be signed type, not unsigned type. otherwise, The condition as below never take. if (filelen < 0) Signed-off-by: NGao Guanhua <B22826@freescale.com> Signed-off-by: NDave Liu <daveliu@freescale.com>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 David Brownell 提交于
Make the U-Boot dm9000 driver read addresses from EEPROM just like Linux does ... read six bytes, instead of reading twelve bytes and then discarding every other one. Using the right Ethernet address is a big win. Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Yoshihiro Shimoda 提交于
Fix the problem that cannot access actual data when CPU data cache enabled. Signed-off-by: NYoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Tested-by: NNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Acked-by: NBen Warren <biggerbadderben@gmail.com>
-
-
- 27 4月, 2009 1 次提交
-
-
由 Wolfgang Denk 提交于
For a long time, the print_cpuinfo() declaration in lib_arm/board.c had been marked as "test-only", which is plain wrong considering current usage. Delete this misleading comment. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 25 4月, 2009 1 次提交
-
-
由 Heiko Schocher 提交于
if using CONFIG_BOOTCOUNT_LIMIT feature on a MPC8360 CPU in the muram-data node, the reg entry needs to be updated. This is done in fdt_fixup_muram(), but we should use the compatible "fsl,qe-muram-data" for searching the node instead of searching the muram-data node with an absolute path. Signed-off-by: NHeiko Schocher <hs@denx.de> Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
- 24 4月, 2009 3 次提交
-
-
-
-
由 Anatolij Gustschin 提交于
The size of U-Boot binary for MPC8360ERDK increased (> 2 flash sectors now), so 'saveenv' will partially overwrite U-Boot in flash and will brick the board. This patch moves environment offset to fourth flash sector and also fixes CONFIG_SYS_MONITOR_LEN. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
- 20 4月, 2009 2 次提交
-
-
由 Michael Zaidman 提交于
The patch fixes the bug of partial initialization of global network parameters. Upon u-boot's start up the first ping command causes a failure of the consequent TFTP command. It happens in the recently added mechanism of the NetLoop initialization where initialization of global network parameters is separated in the NetInitLoop routine which is called per env_id change. Thus, ping request will initialize the network parameters necessary for ping operation only, afterwards the env_changed_id will be set to the env_id that will prevent all following initialization requests from other protocols. The problem is that the initialized by ping subset of network parameters is not sufficient for other protocols and particularly for TFTP which requires the NetServerIp also. Signed-off-by: NMichael Zaidman <michael.zaidman@gmail.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Timur Tabi 提交于
Change netdev.h to use CONFIG_ULI526X instead of CONFIG_ULI526. CONFIG_ULI526X is used everywhere else, so that's the correct macro name. Without this fix, Ethernet will not work on the Freescale MPC8610 HPCD. Signed-off-by: NTimur Tabi <timur@freescale.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 17 4月, 2009 6 次提交
-
-
由 David Brownell 提交于
Update the DaVinci DM6446 boards to use the new convention for CONFIG_SYS_NS16550_REG_SIZE ... the size hasn't changed from the original 4 bytes, but these chips are little-endian. (Resolves a regression added recently by the include/ns16550.h patch to "Unify structure declaration for registers". The code previously worked just fine because the registers were accessed as host-endian words, not as bytes.) Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
-
由 Mike Frysinger 提交于
The first if statement checks for NULL ptrs, so there is no need to check it again in later else cases (such as .oob). Signed-off-by: NMike Frysinger <vapier@gentoo.org> CC: Scott Wood <scottwood@freescale.com>
-
由 David Brownell 提交于
Fix dependency goofage: it should certainly be possible to have the partition support without bringing in UBI commands. Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Acked-by: NStefan Roese <sr@denx.de>
-
The timer has been rewrote with a precision at ~0,18% Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Tested-by: NSergey Lapin <slapin@ossfans.org> Tested-by: NEric BENARD <ebenard@free.fr>
-
由 Ilko Iliev 提交于
The PM9263 board is based on the AT91SAM9263-EK board. Here is the page on Ronetix website: http://www.ronetix.at/starter_kit_9263.htmlSigned-off-by: NIlko Iliev <iliev@ronetix.at> Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
calculate dynamically the clock rate and pllb setting for usb Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 16 4月, 2009 4 次提交
-
-
由 Stefan Roese 提交于
Don't run the memory POST on the NAND-booting version. It will overwrite part of the U-Boot image which is already loaded from NAND to SDRAM. We were just lucky that it booted at all with this SDRAM test enabled. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
Don't run the memory POST on the NAND-booting version. It will overwrite part of the U-Boot image which is already loaded from NAND to SDRAM. We were just lucky that it booted at all with this SDRAM test enabled. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
The current define of get_bus_freq() in the CONFIG_NAND_SPL #ifdef is not used at all. This patch changes it's define to the currently used value of 133333333 and removes the unnecessary code. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
This additional text in the bootup log helps to see if the board is configured for NAND-booting. Especially helpful for boards that can boot from NOR and NAND (e.g. most of the AMCC eval boards). Signed-off-by: NStefan Roese <sr@denx.de>
-