- Jan 09, 2011
-
-
Mike Frysinger authored
Some ports set up the board info structure at the same time as the global data structure, and largely keep them together. So generate a define for the board info struct too. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The include/miiphy.h header duplicates a lot of things from linux/mii.h. So punt all the things that overlap to keep the API simple and to make merging between U-Boot and Linux simpler. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The flash_verbose logic is only used by the CFI MTD layer, so if we aren't using that, disable the logic completely. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
These strings are only read, so no need to have them be writable. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
These "last" variables aren't used outside of this file, so add static. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Rather than keep the load_addr definition with the bootm code (which just happens to use this), move it to the common env code. This way we can disable bootm support completely while retaining load_addr usage with many other commands. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
We have config_defaults.h which are random configuration settings that everyone gets by default. We also have config_cmd_default.h which is a recommended list of defaults but boards have to opt into. Now we have config_cmd_defaults.h which is a list of defaults that everyone gets and has to actively opt out of. For now, we populate it with the bootm command which previously was unable to be disabled. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Mike Frysinger authored
Currently, only basic completion is supported (no globs), but this is what we had previously. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Wolfgang Denk authored
Commit 98e69567 "mpc52xx: add support for tqm52xx based board charon" caused build warnings on some systems. Fix these. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
-
Mike Frysinger authored
One more place that was missed during the do_reset() unification. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Dec 23, 2010
-
-
Wolfgang Denk authored
Commit 722b061b "autocomplete: remove runtime handler install" caused some boards (like NETTA2_V2) to break with errors like these: cmd_net.c:296: error: expected expression before ',' token Fix this. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Mike Frysinger <vapier@gentoo.org>
-
- Dec 22, 2010
-
-
Wolfgang Denk authored
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Dec 21, 2010
-
-
John Rigby authored
It can be optimised out by the compiler otherwise resulting in obscure errors like a board not booting. This has been documented in README since 2006 when these were first fixed up for GCC 4.x. Signed-off-by:
John Rigby <john.rigby@linaro.org> Fix some additional places. Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-By:
Albert ARIBAUD <albert.aribaud@free.fr>
-
- Dec 18, 2010
-
-
Wolfgang Denk authored
-
Dirk Behme authored
Convert the variable omap3_evm_version to u32 to work around some broken linkers from older tool chains. E.g. CodeSourcery's 2009q1-203 ld 2.19.51.20090205. Without this, these linkers stop linking 'omap3_evm' or at least issue a warning. Like arm-none-linux-gnueabi-ld: section .bss [8003f5e0 -> 8007e337] overlaps section .rel.dyn [8003f5e0 -> 80044e57] arm-none-linux-gnueabi-ld: section .dynsym [80044e58 -> 80044ef7] overlaps section.bss [8003f5e0 -> 8007e337] arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003f5e0 overlaps previous sections CC: Sanjeev Premi <premi@ti.com> Signed-off-by:
Dirk Behme <dirk.behme@googlemail.com>
-
Li Yang authored
The current code use all the voltage range support by the host controller to do the validation. This will cause problem when the host supports Low Voltage Range. Change the validation voltage to be based on board setup. Signed-off-by:
Li Yang <leoli@freescale.com> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Jerry Huang authored
The max clock of MMC is 52MHz Signed-off-by:
Jerry Huang <Changm-Ming.Huang@freescale.com> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Jerry Huang authored
After booting the u-boot, and first using some SD card (such as Sandisk 2G SD card), because the field 'clock' of struct mmc is zero, this will cause the read transfer is always active and SDHC DATA line is always active, therefore, driver can't handle the next command. Therefore, we use mmc_set_clock to setup both the data structure and HW to the initial clock speed of 400000Hz. Signed-off-by:
Jerry Huang <Chang-Ming.Huang@freescale.com> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Matthew McClintock authored
Add reginfo as a default command for p1022ds boards Signed-off-by:
Matthew McClintock <msm@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Li Yang authored
The current code use all the voltage range support by the host controller to do the validation. This will cause problem when the host supports Low Voltage Range. Change the validation voltage to be based on board setup. Signed-off-by:
Li Yang <leoli@freescale.com> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Jerry Huang authored
The max clock of MMC is 52MHz Signed-off-by:
Jerry Huang <Changm-Ming.Huang@freescale.com> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Jerry Huang authored
After booting the u-boot, and first using some SD card (such as Sandisk 2G SD card), because the field 'clock' of struct mmc is zero, this will cause the read transfer is always active and SDHC DATA line is always active, therefore, driver can't handle the next command. Therefore, we use mmc_set_clock to setup both the data structure and HW to the initial clock speed of 400000Hz. Signed-off-by:
Jerry Huang <Chang-Ming.Huang@freescale.com> Tested-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Dec 17, 2010
-
-
Florian Fainelli authored
This command is used to read the device ONFI parameters page. Signed-off-by:
Florian Fainelli <florian@openwrt.org>
-
Lei Wen authored
Yaffs image require to use the oob to store some info, so when we burn the yaffs image, we need to also write the image's oob part into flash. This patch add addition suffix to onenand write to give the uboot the power to directly burn the yaffs image to onenand. Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
Reinhard Meyer authored
This is part of the timer cleanup effort. In the future we only use get_timer() in its intended way to program timeout loops. reset_timer() shall not be used anymore. Signed-off-by:
Reinhard Meyer <u-boot@emk-elektronik.de>
-
Mike Frysinger authored
These id tables need not be writable. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Stefano Babic authored
Fix clock divider for COM57H5M10XRC display. The previous setting caused flicker. Tested on Qong (EVBLite with COM57H5M10XRC). Signed-off-by:
Stefano Babic <sbabic@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Anatolij Gustschin <agust@denx.de>
-
Mike Frysinger authored
Multiple rules are using the expanded AFLAGS/CFLAGS settings and some are getting so long that the rules need to be line wrapped. So unify them in one variable, use that variable in the rule, and then unwrap things. This makes the actual `make` output nicer as it doesn't have line continuations in it anymore. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Timur Tabi authored
In some usages of inline assembly, hard-coded registers were specified when a scratch register should have been used instead. Signed-off-by:
Timur Tabi <timur@freescale.com>
-
Mike Frysinger authored
The non-reentrant versions of the hashtable functions operate on a single shared hashtable. So if two different people try using these funcs for two different purposes, they'll cause problems for the other. Avoid this by converting all existing hashtable consumers over to the reentrant versions and then punting the non-reentrant ones. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Peter Tyser authored
The following commit: commit 882b7d72 Author: Mike Frysinger <vapier@gentoo.org> Date: Wed Oct 20 03:41:17 2010 -0400 do_reset: unify duplicate prototypes missed the 74xx_7xx and mpc86xx arches and the ppmc7xx board do_reset() functions which resulted in build errors such as: cpu.c:128: error: conflicting types for 'do_reset' include/command.h:102: error: previous declaration of 'do_reset' was here Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
Joakim Tjernlund authored
By rearranging the linker script we get support for relocation of -fpic for free. Move __got2_entries outside _GOT2_TABLE_ defining scope matching the rest of PowerPC Signed-off-by:
Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Acked-by:
Scott Wood <scottwood@freescale.com> Acked-by:
Kim Phillips <kim.phillips@freescale.com>
-
Joakim Tjernlund authored
By rearranging the linker script we get support for relocation of -fpic for free. Signed-off-by:
Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Acked-by:
Scott Wood <scottwood@freescale.com> Acked-by:
Kim Phillips <kim.phillips@freescale.com>
-
Priyanka Jain authored
PT7C4338 chip is being manufactured by Pericom Technology Inc. It is a serial real-time clock which provides: 1)Low-power clock/calendar. 2)Programmable square-wave output. It has 56 bytes of nonvolatile RAM. Signed-off-by:
Priyanka Jain <Priyanka.Jain@freescale.com> Acked-by:
Timur Tabi <timur@freescale.com>
-
Heiko Schocher authored
New default partitions on nor flash: 640k (firmware) 1408k (kernel) 2m (initrd) 4m (small-fs) 24320k (big-fs) 256k (dts) Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
Signed-off-by:
Heiko Schocher <hs@denx.de>
-