AgeCommit message (Collapse)Author
2011-08-24arm: do not force d-cache enable on all boards2011.08.5aneeshv
c2dd0d45540397704de9b13287417d21049d34c6 added dcache_enable() to board_init_r(). This enables d-cache for all ARM boards. As a result some of the arm boards that are not cache-ready are broken. Revert this change and allow platform code to take the decision on d-cache enabling. Also add some documentation for cache usage in ARM. Signed-off-by: Aneesh V <aneesh@ti.com>
2011-08-18OMAP4 Panda: reapplying panda specific mux changes2011.08.4Ricardo Salveti de Araujo
All previous modifications on Panda pad mux were invalidated by commit 69ec1e (omap4: cleanup pin mux data), as once the code was moved, the mux data was copied again from SDP, dropping older panda-only changes. This patch syncs with the changes from commit c1244e8 and 6696ac1. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-08-18Revert "armv7: adapt omap3 to the new cache maintenance framework"2011.08.3John Rigby
This reverts commit 1de97fff9699bf5614e84b95c4e947496b8425cd. Conflicts: arch/arm/cpu/armv7/omap3/board.c
2011-08-18pxecfg: Lower case MAC address to match pxelinuxLoïc Minier
Cc: patches@linaro.org Signed-off-by: Loïc Minier <loic.minier@linaro.org>
2011-08-17pxecfg: Prefix MAC-based requests with "01-"2011.08.1Loïc Minier
pxelinux will prefix per MAC-address requests with the MAC type prefix which is "01-" for Ethernet, so do this in pxecfg as well. Cc: patches@linaro.org Signed-off-by: Loïc Minier <loic.minier@linaro.org>
2011-08-17net/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-08-16SAUCE: HIGHBANK: fix build errorJohn Rigby
By defining CONFIG_SCSI_AHCI_PLAT Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-16OMAP3 overo: fix gpio.h build errorsJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-16OMAP3 igep0020: fix gpio.h build errorsJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-16OMAP3 Beagle: fix gpio.h build errorsJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-16Revert "MX5: Update to autogenerated asm-offsets.h"John Rigby
This reverts commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47. it causes builds with O= to fail
2011-08-15SAUCE: OMAP4 Panda: Change MAXARGS to 32John Rigby
This is an issue when using uEnv.txt with a long lines in imported env. Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15SAUCE: OMAP4 Panda: 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-08-15OMAP4 Panda: clock config for USBJohn Rigby
Turn on some clocks that were formerly configured by x-loader Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15OMAP4 Panda: Pin configs for USBJohn Rigby
Enable USBB1_ULPITLL_* Enable gpio_1 for enabling power to USB PHY Enable pull down on gpio_62 Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15SAUCE: OMAP4 Panda: turn off dcache as USB is broken with it onJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15OMAP4 Panda: PXE: add expected env varsJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15PXE: look for usbethaddr if no ethaddrJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15cmd_pxecfg: only call do_bootm with argc == 4 if fdtaddr != NULLRicardo Salveti de Araujo
Otherwise if you build with CONFIG_OF_LIBFDT, you'll get a segmentation fault at boot_get_fdt, as it expects argv[3] to be valid if argc == 4. Patch forwarded to jason.hobbs@calxeda.com and john.rigby@linaro.org. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-08-15OMAP4 Ppanda: jenerate 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-08-15OMAP: Enable command line editing for Panda and BeagleJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15OMAP4: Panda: add uEnv.txt supportJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15OMAP3: Beagle: add back boot.scr supportJohn Rigby
uEnv.txt still works but so does boot.scr Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15arm: omap4_panda: Enable pxecfg supportJohn Rigby
Signed-off-by: John Rigby <john.rigby@linaro.org>
2011-08-15arm: ca9x4_ct_vxp: enable CONFIG_BOOTP_PXEJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-08-15net: 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-08-15lib: add uuid_str_to_bin for use with bootp and PXE uuidJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-08-15arm: ca9x4_ct_vxp: enable pxecfg supportJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-08-15Add pxecfg commandJason Hobbs
Add pxecfg command, which is intended to mimic PXELINUX functionality. 'pxecfg get' uses tftp to retrieve a file based on UUID, MAC address or IP address. 'pxecfg 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.pxecfg file - see it for more details on the pxecfg command. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-08-15common: add run_command2 for running simple or hush commandsJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-08-15common, menu: use abortboot for menu timeoutJason Hobbs
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
2011-08-15Add generic, reusable menu codeJason Hobbs
This will be used first by the pxecfg 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-08-15ARM: highbank: Add AHCI supportRob Herring
This enables the AHCI driver on highbank platforms. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.aribaud@free.fr>
2011-08-15ARM: Add Calxeda Highbank platformJohn Rigby
Add basic support for Calxeda Highbank platform. Only minimal support to boot is included. Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: Albert ARIBAUD <albert.aribaud@free.fr>
2011-08-15ehci-hcd: Allow cleanups to happen on an EHCIJoel A Fernandes
With this, the EHCI seems to "recover" from a timeout. This is particularly observable if you were to ping the wrong IP Address and then ping the correct one or if there was a temporary failure during tftp sessions. All it takes is one timeout to disable it. If you have a noisy network (lot of traffic), even if the traffic is not for the board, the timeouts don't occur. Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
2011-08-15ARMV7: Overo: Automatically set clock rate to maximum if mpurate env ↵Steve Sakoman
variable is "auto" The maximum clock rate for the OMAP3 processors on Overo depends on the processor type and revision. This patch sets the clock rate to the spec sheet maximum if the mpurate environment variable is set to "auto". Otherwise it passes the mpurate variable unchanged on the kernel command line. Signed-off-by: Steve Sakoman <steve.sakoman@linaro.org>
2011-08-15mx53loco: 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-08-15mx53loco: 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-08-15mx53loco: 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-08-15mx53loco: define ERRATUM_ESDHC111Eric Miao
BugLink: http://bugs.launchpad.net/bugs/738193 Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-08-15mx5: 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-08-15omap4_panda: adding support for smsc and tftp bootRicardo Salveti de Araujo
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
2011-08-15smsc95xx: fix mac address register if a mac address is defined before "usb ↵Ricardo Salveti de Araujo
start" Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
2011-08-15omap4_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-08-12omap4: 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-08-12Add documentation for USB Host NetworkingSimon Glass
This describes what it is for, devices supported, how to enable for your board in U-Boot, setting up the server, and notes about MAC addresses. Signed-off-by: Simon Glass <sjg@chromium.org>
2011-08-12Add Ethernet hardware MAC address framework to usbnetSimon Glass
Built-in Ethernet adapters support setting the mac address by means of a ethaddr environment variable for each interface (ethaddr, eth1addr, eth2addr). This adds similar support to the USB network side, using the names usbethaddr, usbeth1addr, etc. They are kept separate since we don't want a USB device taking the MAC address of a built-in device or vice versa. TEST=build, test on harmony, with setenv usbethaddr c0:c1:c0:13:0b:b8, bootp, tftp ... Signed-off-by: Simon Glass <sjg@chromium.org>
2011-08-12Add support for SMSC95XX USB 2.0 10/100MBit Ethernet AdapterSimon Glass
The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. TEST=usb start; bootp; tftp ... Changes for v2: - Coding style cleanup - Changed some comments as suggested - eth_set_hwaddr -> eth_write_hwaddr - tided up other users of eth_getenv_enetaddr_by_index() Changes for v3: - Drop tfpserverip patch - Change turbo_mode to #define - Fix tfpserverip patch bleed Changes for v4: - Dropped Tegra2 specific bit - Added patch in place of tftpserverip patch, to speed up successive network commands on asix - Fixed a few broken bits in SMSC from my testing Changes for v5: - Code style clean-ups in SMSC - Cleaned up debugging of errors in SMSC driver - Changed NULL to "eth" in eth_getenv_enetaddr_by_index() API Changes for v6: - Adjust documentation file according to Wolfgang's comments - Set NET_IP_ALIGN to 0 always Signed-off-by: Simon Glass <sjg@chromium.org>
2011-08-12USB: Add align(4) in __attribute__ ((packed)) for struct ehci_hccr and ehci_hcorJason Kridner
Switched to align(4) to prevent byte access to soc registers in some gcc versions. Credits have to go to Laine Walker-Avina <lwalkera@ieee.org> for finding the problem. Signed-off-by: Jason Kridner <jkridner@beagleboard.org> Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com> Cc: Koen Kooi <k-kooi@ti.com> Cc: Alexander Holler <holler@ahsoftware.de> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Igor Grinberg <grinberg@compulab.co.il>
2011-08-12omap4: increase SRAM budget to fix build erroraneeshv
Signed-off-by: Aneesh V <aneesh@ti.com> Cc: Dirk Behme <dirk.behme@googlemail.com> Cc: Sandeep Paulraj <s-paulraj@ti.com> Acked-by: Dirk Behme<dirk.behme@googlemail.com>