aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-28U-Boot/SPL: omap4: Make ddr pre-calculated timings as default.2011.09.4sricharan
All ddr configurations(geometry/timings) are done automatically by detecting the device connected at run time. Though this is a useful feature, making this as a default setting increases the code size by about 2K bytes. This is quite big, especially in the case of SPL which runs from a smaller SRAM. So do not use this feature as the default setting, instead use the precalculated tables. Signed-off-by: sricharan <r.sricharan@ti.com>
2011-09-28OMAP4: removing fdt_addr from the default env2011.09.3Ricardo Salveti de Araujo
If fdt_addr is available at u-boot's env, PXE will try to use it, and fail at cases the blob is not available. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-09-28pxe: make the first label the implicit defaultJason Hobbs
If no default label is specified, but a situation arises where the default label should be used, treat the first label specified as the default label. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-09-28Allow loading of u-boot.bin for backward compatibilityJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23omap4460: tps initialization changes2011.09.2Aneesh V
Configure both SET0 and SET1 to the right voltage so that kernel can use either one of them. Today only SET1 is configured. Signed-off-by: Aneesh V <aneesh@ti.com>
2011-09-23SAUCE: HACK: move omap spl base address2011.09.1John Rigby
Move NON_SECURE_SRAM_START from 0x40304000 to 0x40303000 and move u-boot-spl load address from 0x40304350 to 0x40303080. This allows it to stay under 0x4030c000 which is what the TRM says it must do. SRAM actually starts at 0x40300000 on GP devices but was set to 0x40304000 to be the same as Secure devices so this breaks that. Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23SAUCE: Revert "ARMV7: OMAP: Write more than 1 byte at a time in i2c_write"John Rigby
This causes current kernel to fault due to a bug in the omap i2c code. This can be un-reverted after once the kernel is fixed. This reverts commit 0607e2b97a907ed3bdf926227e5ad0603a6216ad.
2011-09-23SAUCE: OMAP4 Panda: turn off dcache as USB is broken with it onJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23OMAP3: Enable command line editing for omap3_beagleJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23OMAP4: change MAXARGS to 32John Rigby
Some boot scripts fail without this. This makes OMAP4 the same as omap3_beagle. Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23OMAP4: Enable command line editing in omap4_common.hJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23OMAP4: Panda: add uEnv.txt supportJohn Rigby
Identical to omap3_beagle. Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23OMAP3: Beagle: add back boot.scr supportJohn Rigby
Removing boot.scr support broke some external bootscripts that depended on it. This patch restores boot.scr support but leaves uEnv.txt support in. uEnv.txt still works and if both files exist then uEnv.txt takes precedence. Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23ARM: Add Calxeda Highbank platformRob Herring
Add basic support for Calxeda Highbank platform. Only minimal support with serial and SATA are included. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
2011-09-23omap4: Enable GPIO-1 clocks before TPS initializationRicardo Salveti de Araujo
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-09-23omap4: splitting padconfs into common, 4430 and 4460Ricardo Salveti de Araujo
Not all padconfs are the same between 4430 and 4460, so instead of working around this with an if, we should have an specific padconf structure for both chips (like handling the differences between the LEDs GPIOs and TPS). Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> 4 files changed, 40 insertions(+), 4 deletions(-)
2011-09-23omap4: adding revision detection for 4460 ES1.1Ricardo Salveti de Araujo
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> 2 files changed, 17 insertions(+), 1 deletions(-)
2011-09-23omap4: replacing OMAP4_CONTROL with OMAP4430_CONTROLRicardo Salveti de Araujo
OMAP4460 has a different set of values for the ID code, so moving the old ones to be related just with 4430. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> 2 files changed, 8 insertions(+), 8 deletions(-)
2011-09-23net/eth.c: fix eth_write_hwaddr() to use dev->enetaddr as fall backEric Miao
Ignore the return value of eth_getenv_enetaddr_by_index(), and if it fails, fall back to use dev->enetaddr, which could be filled up by the ethernet device driver. Actually, this is the original behavior, and was later changed by commit 48506a2cde2458fa1f8c5993afc98e5a4617e1d3. Signed-off-by: Eric Miao <eric.miao@linaro.org> Acked-by: Simon Glass <sjg@chromium.org>
2011-09-23mx53loco: workaround VPU TO2 Errata by increasing peripheral voltageEric Miao
BugLink: http://bugs.launchpad.net/bugs/773082 Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-09-23mx53loco: Add power init supportJohn Rigby
Increase CPU core power to 1.25v via DA9053 PMIC, and after that CPU can ran to 1GHZ and DDR 400Mhz. Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-09-23mx53loco: PMIC: Add dialog pmic supportJason Liu
Add dialog pmic(DA9053) driver with I2C interface support Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-09-23mx5: Add clock config interfaceJason Liu
Add clock config interface support, so that we can configure CPU or DDR clock in the later init Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-09-23mx53loco: define ERRATUM_ESDHC111Eric Miao
BugLink: http://bugs.launchpad.net/bugs/738193 Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-09-23SAUCE: OMAP4 Make pxe boot fallback default bootJohn Rigby
If there is no boot.scr nor uEnv.txt nor uImage then fallback to pxe. BugLink: https://bugs.launchpad.net/bugs/820121 BugLink: https://bugs.launchpad.net/bugs/826877 Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23arm: omap4_panda: Enable pxecfg supportJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23PXE: OMAP4: add standard env varsJohn Rigby
Set standard env vars in default environment. These are currently only used by PXE which is only enabled on Panda but they are safe on all OMAP4 platforms. Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23OMAP4 Panda: Generate a unique usbethaddrJohn Rigby
The panda board has a usb nic but the nic has no rom. Use the die-id to generate a unique address. This is derived from an RFC kernel patch by Andy Green that does the same thing: https://patchwork.kernel.org/patch/660541/ [RFC PATCH 1/2] OMAP2+: add cpu id register to MAC address helper Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23omap4_panda: adding support for smsc and tftp bootRicardo Salveti de Araujo
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
2011-09-23omap4_panda: add support for EHCIGilles Chanteperdrix
Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
2011-09-23omap4: add support for EHCIGilles Chanteperdrix
As board may need some specific support, implement inner functions to be called by the boards implementaions of ehci_hcd_start, ehci_hcd_stop. Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
2011-09-23PXE: look for usbethaddr if no ethaddrJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-23arm: ca9x4_ct_vxp: enable PXE BOOTP options supportJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> Cc: Matt Waddel <matt.waddel at linaro.org>
2011-09-23arm: ca9x4_ct_vxp: enable pxe command supportJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> Cc: Matt Waddel <matt.waddel at linaro.org>
2011-09-23Convert ca9x4_ct_vxp to standard env variablesJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> Cc: Matt Waddel <matt.waddel at linaro.org>
2011-09-23net: bootp: add PXE/RFC 4578 DHCP options supportJason Hobbs
These options are required to be present in RFC 4578 compliant DHCP requests. They give more information to DHCP servers to allow serving different DHCP responses to different systems based on client architecture, client capabilities, UUID, or vendor. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-09-23Add pxe commandJason Hobbs
Add pxe command, which is intended to mimic PXELINUX functionality. 'pxe get' uses tftp to retrieve a file based on UUID, MAC address or IP address. 'pxe boot' interprets the contents of PXELINUX config like file to boot using a specific initrd, kernel and kernel command line. This patch also adds a README.pxe file - see it for more details on the pxe command. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-09-23lib: add uuid_str_to_bin for use with bootp and PXE uuidJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-09-23README: document standard image variablesJason Hobbs
With these documented, we can start pushing towards standardizing their use across boards. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> Cc: Mike Frysinger <vapier@gentoo.org>
2011-09-23Replace space and tab checks with isblankJason Hobbs
These are various places I found that checked for conditions equivalent to isblank. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-09-23cosmetic: remove unneeded curly bracesJason Hobbs
This prevents a checkpatch warning in the patch to use isblank Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-09-23Add isblankJason Hobbs
Existing ctype checks are implemented using a 256 byte lookup table, allowing each character to be in any of 8 character classes. Since there are 8 existing character classes without the blank class, I implemented isblank without using the lookup table. Since there are only two blank characters - tab and space - this is a more reasonable approach than doubling the size of the lookup table to accommodate one more class. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-09-23common: add run_command2 for running simple or hush commandsJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> Cc: Mike Frysinger <vapier@gentoo.org>
2011-09-23common, menu: use abortboot for menu timeoutJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-09-23Add generic, reusable menu codeJason Hobbs
This will be used first by the pxe code, but is intended to be generic and reusable for other jobs in U-boot. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-09-23OMAP: Panda pin configs for USBJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-22OMAP4 Panda: clock config for USBJohn Rigby
Turn on some clocks that were formerly configured by x-loader USB in kernel does not work without this. Perhaps the PHY gets in a strange state. Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-09-22Prepare v2011.09-rc2v2011.09-rc2Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-22Minor Coding Style CleanupWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-21km/common: fix bug in IVM mac address accessHolger Brunck
The MAC address stored in the inventory eeprom begins at offset 1. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Wolfgang Denk <wd@denx.de>