summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2011-01-09miiphy: convert to linux/mii.hMike Frysinger2-83/+8
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>
2011-01-09config_cmd_defaults.h: new header for common u-boot command defaultsMike Frysinger1-0/+14
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>
2011-01-09env: re-add support for auto-completionMike Frysinger2-0/+8
Currently, only basic completion is supported (no globs), but this is what we had previously. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-22Merge branch 'next' of ../nextWolfgang Denk37-93/+889
2010-12-19fsl_esdhc: Use mmc_set_clock to set initial speedJerry Huang1-1/+2
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>
2010-12-19p1022ds: enable reginfo commandMatthew McClintock1-0/+1
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>
2010-12-17NAND: add NAND_CMD_PARAM (0xec) definitionFlorian Fainelli1-0/+1
This command is used to read the device ONFI parameters page. Signed-off-by: Florian Fainelli <florian@openwrt.org>
2010-12-17nand: constify id/manu tablesMike Frysinger1-2/+2
These id tables need not be writable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-17hashtable: drop all non-reentrant versionsMike Frysinger2-17/+9
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>
2010-12-17mpc52xx, charon: change mtd default partitionsHeiko Schocher2-1/+14
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>
2010-12-17mpc5200, tqm5200: correct MTDIDS_DEFAULT to fit with name linux assignsHeiko Schocher1-6/+6
Signed-off-by: Heiko Schocher <hs@denx.de>
2010-12-17Merge branch 'next' of git://www.denx.de/git/u-boot-cfi-flash into nextWolfgang Denk1-0/+2
2010-12-17Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk1-2/+2
2010-12-17Merge branch 'for-upstream' of git://git.denx.de/u-boot-atmelWolfgang Denk1-2/+2
2010-12-17Coding style (white space) cleanup.Wolfgang Denk2-95/+94
Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-12-17Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk4-19/+35
2010-12-17DaVinci DM6467: Add ARM Relocation SupportSandeep Paulraj1-0/+8
Add ARM Relocation Support Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-17DaVinci Schmoogie: Add ARM Relocation SupportSandeep Paulraj1-0/+9
Add ARM Relocation Support Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-17DaVinci sffsdr: Add ARM Relocation SupportSandeep Paulraj1-0/+9
Add ARM Relocation Support Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-17DaVinci Sonata: Add ARM Relocation SupportSandeep Paulraj1-0/+9
Add ARM Relocation Support Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-17DaVinci: Config cleanupSandeep Paulraj3-19/+0
Some DaVinci boards are using flags that are no longer valid So remove them. Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-17cfi_flash: Add optional config register write to cfi-detectionStefan Roese1-0/+2
This patch adds the possibility to (optinally) write to the flash configuration register. The Intel style CFI chips support such a register that can be used to configure the operation mode to a non-default value. This method will be used by the t3corp board, which needs to configure the DS617 Xilinx flash for async read mode. Signed-off-by: Stefan Roese <sr@denx.de>
2010-12-17xilinx-ppc4xx-generic: Use common u-boot.ldsRicardo Ribalda Delgado1-0/+1
Use common ppc4xx linker script for xilinx ppc440 and ppc405 related boards. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
2010-12-17ppc4xx: Update lwmon5 board supportStefan Roese1-8/+14
This patch includes the following changes for the lwmon5 board support: - Enable cache in SDRAM - Use common EHCI driver instead of the PPC4xx specific OHCI driver This can be done since only high-speed devices are connected. - Remove cached TLB entry again after ECC setup - Use correct define for cache enabling (CONFIG_4xx_DCACHE instead of CONFIG_SYS_ENABLE_SDRAM_CACHE) - Enable FIT image support Signed-off-by: Stefan Roese <sr@denx.de>
2010-12-17ppc4xx: t3corp: Add support for the Xilinx DS617 flash chipStefan Roese1-6/+12
The t3corp board has an Xilinx DS617 flash chip connected to the onboard FPGA. This patch adds support for these chips. Board specific flash accessor functions are needed, since the chips can only be read correctly in 16bit mode. Additionally the FPGA chip-selects are configured for device-paced transfers (ready is enabled). Signed-off-by: Stefan Roese <sr@denx.de>
2010-12-17AT91: fix TOP9000 build problem and change CONFIG_SYS_TEXT_BASEReinhard Meyer1-2/+2
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
2010-12-17Armada100: Add Board Support for Marvell Aspenite-DBPrafulla Wadaskar1-0/+63
Aspenite is a Development Board for ASPEN/ARMADA168(88AP168) with * Processor upto 1.2GHz * Parallel 1Gb x8 DDR2-1066 MHz * 16 Mb x16 NOR, 4Gb x8 SLC NAND, footprint for SPI NOR * Footprints for eMMC/eSD NAND & MMC x8 card * 4-in-1 card reader (xD, MMC/SD/MS Pro), CF True IDE socket * SEAF memory board, subset of PISMO2 With Peripherals: * 4.3” WVGA 24-bit LCD * Audio codecs (AC97 & I2S), TSI * VGA camera * Video in via 3 RCA jacks, and HDMI type C out * Marvell 88W8688 802.11bg/BT module * GPS RF IC * Dual analog mics & speakers, headset jack, LED, ambient light sensor * USB2.0 HS host (A), OTG (micro AB) * FE PHY, PCIE Mini Card slot * GPIO, GPIO expander with DIP switches for easier selection UART serial over USB, CIR This patch adds basic board support with DRAM and UART functionality The patch is tested for boot from DRAM using XDB Signed-off-by: Mahavir Jain <mjain@marvell.com> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
2010-12-17mv-common.h: Add support for ARMADA100 PlatformsPrafulla Wadaskar1-16/+50
This patch adds commonly used macros for ARMADA100 based baords, Also some code reshuffled and updated for typos and comments Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
2010-12-17gpio: Add Multi-Function-Pin configuration driver for Marvell SoCsPrafulla Wadaskar1-0/+100
Most of the Marvell SoCs has Multi Function Pin (MFP) configuration registers For ex. ARMADA100. These registers are programmed to expose the specific functionality associated with respective SoC Pins This driver provides configuration APIs, using them, configuration need to be done in board specific code for ex- following code configures MFPs 107 and 108 for UART_TX/RX functionality int board_early_init_f(void) { u32 mfp_cfg[] = { /* Console on UART1 */ MFP107_UART1_RXD, MFP108_UART1_TXD, MFP_EOC /*End of configureation*/ }; /* configure MFP's */ mfp_config(mfp_cfg); return 0; } Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
2010-12-17Merge branch 'master' of ../master into nextWolfgang Denk30-110/+546
2010-12-17mpc52xx: add support for tqm52xx based board charonHeiko Schocher2-9/+97
- serial console in PSC1 - 128MiB DRAM - 32MiB Flash - FEC Ethernet - 2 I2C busses - FPGA on CS3 - IDE - VGA SMI501 Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-12-17Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk3-0/+21
2010-12-17pm9261: enable cache commandAsen Dimov1-0/+1
Signed-off-by: Asen Dimov <dimov@ronetix.at>
2010-12-17pm9261: ARM relocation supportAsen Dimov1-0/+6
Signed-off-by: Asen Dimov <dimov@ronetix.at>
2010-12-17pm9263: enable cache commandAsen Dimov1-0/+1
Signed-off-by: Asen Dimov <dimov@ronetix.at>
2010-12-17pm9263: ARM relocation supportAsen Dimov1-0/+6
Signed-off-by: Asen Dimov <dimov@ronetix.at>
2010-12-17pm9g45: enable cache commandAsen Dimov1-0/+1
Signed-off-by: Asen Dimov <dimov@ronetix.at>
2010-12-17pm9g45: ARM relocation supportAsen Dimov1-0/+6
Signed-off-by: Asen Dimov <dimov@ronetix.at>
2010-12-14Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk1-8/+11
2010-12-13tsec: Revert to setting TBICR_ANEG_ENABLE by default for SGMIIKumar Gala3-8/+20
The following commit: commit 46e91674fb4b6d06c6a4984c0b5ac7d9a16923f4 Author: Peter Tyser <ptyser@xes-inc.com> Date: Tue Nov 3 17:52:07 2009 -0600 tsec: Force TBI PHY to 1000Mbps full duplex in SGMII mode Removed setting Auto-Neg by default, however this is believed to be proper default configuration for initialization of the TBI interface. Instead we explicitly set CONFIG_TSEC_TBICR_SETTINGS for the XPedite5370 & XPedite5500 boards that use a Broadcomm PHY which require Auto-Neg to be disabled to function properly. This addresses a breakage on the P2020 DS & MPC8572 DS boards when used with an SGMII riser card. We also remove setting CONFIG_TSEC_TBICR_SETTINGS on the P1_P2_RDB family of boards as now the default setting is sufficient for them. Additionally, we clean up the code a bit to remove an unnecessary second define. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Peter Tyser <ptyser@xes-inc.com> Tested-by: Peter Tyser <ptyser@xes-inc.com>
2010-12-11OMAP3: SPI driverDirk Behme1-0/+2
CC: Ruslan N. Araslanov <byaaka@yandex.ru> Signed-off-by: Ruslan Araslanov <ruslan.araslanov@vitecmm.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-11ARMV7: OMAP4: twl6030 add battery charging supportBalaji T K2-2/+44
Add battery charging support twl6030 driver. Add support for battery voltage and current measurements. Add command to get battery status and start/stop battery charging from USB. Signed-off-by: Balaji T K <balajitk@ti.com> Tested-by: Steve Sakoman <steve.sakoman@linaro.org> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-11DaVinci DM6446: Config UpdateSandeep Paulraj1-8/+11
The DM6446 does not build due to the ARM relocation patch. Also the board does not build in the NOR mode. Changed default to NAND to ensure no build failure. While at it removed CONFIG_CMD_KGDB Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-09Merge branch 'master' of git://git.denx.de/u-boot-imxWolfgang Denk1-3/+4
2010-12-09include/linux/mii.h: update for supporting GEMacpaul Lin1-74/+107
This file has been synced (copy) from Linux source code. This commit was based on kernel 2.6.32. It updates gigabit related phy registers and basic definitions. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
2010-12-09Move LDSCRIPT definitions to board config files.Wolfgang Denk8-0/+8
Recent cleanup actions resulted in a number of config.mk files that contained only LDSCRIPT definitions. Move these into th respective board config files and remove the now empty config.mk files. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Cc: Detlev Zundel <dzu@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Andre Schwarz <andre.schwarz@matrix-vision.de> Cc: Peter De Schrijver <p2@mind.be> Acked-by: Detlev Zundel < dzu@denx.de> Acked-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Acked-by: Heiko Schocher<hs@denx.de> Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
2010-12-09Davinci: add support for the ea20 boardStefano Babic1-0/+192
This board uses the OMAP-L138 SOM stacked on a custom baseboard. It supports SPI Flash, Ethernet with RMII. Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-09da850: Add RMII support for EMACSudhakar Rajashekhara1-0/+1
This patch is a port of the work by Sudhakar Rajeshekhara in commit ab3effbcad8851cc65dc5241a01c064d2030a3b2 of git://arago-project.org/git/people/sandeep/u-boot-davinci.git. The da850 UI board has on it an RMII PHY which can be used if the MDC line to the MII PHY on the baseboard is disabled and the RMII PHY is enabled by configuring the values of some GPIO pins on the IO expander of the UI board. This patch implements disabling that line via GPIO2[6], configuring the UI board's IO expander and setting only the pinmux settings that are needed for RMII operation. Tested on da850evm by adding a define for CONFIG_DRIVER_TI_EMAC_USE_RMII. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> CC: Sandeep Paulraj <s-paulraj@ti.com> CC: Ben Warren <biggerbadderben@gmail.com> CC: Mike Frysinger <vapier@gentoo.org> CC: Sughosh Ganu <urwithsughosh@gmail.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-09Add board support for hawkboardSughosh Ganu1-0/+206
The patch adds basic board support for TI's OMAP-L138 based Hawkboard. This board is pretty similar to the da850 EVM. Support for nand and network access is added in this version. The following bootup procedure is used. At reset, the Rom Boot Loader(RBL), initialises the ddr and the nand controllers and copies the second stage bootloader(nand_spl) to RAM. The secondary bootloader then copies u-boot from a predefined location in the nand flash to the RAM, and passes control to the u-boot image. Three config options are supported * hawkboard_config - Used to create the u-boot.bin. Tftp the u-boot.bin image to the RAM from u-boot, and flash to the nand flash at address 0xe0000. * hawkboard_nand_config - Used to generate the secondary bootloader(nand_spl) image. This creates an elf file u-boot-spl under nand_spl/. Create an AIS signed image using this file, and flash it to the nand flash at address 0x20000. The ais file should fit in one block. * hawkboard_uart_config - This is same as the first image, but with the TEXT_BASE as expected by the RBL(0xc1080000). Create the AIS Signed-off-by: Sughosh Ganu <urwithsughosh@gmail.com> Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-12-09da850: Enable SPI FlashStefano Babic1-0/+28
The patch was already posted to the arago project, but not yet to mainline. It allows to save environment into the spi flash. Tested on LogiPD tmdxl138. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Detlev Zundev <dzu@denx.de> CC: Ben Gardiner <bengardiner@nanometrics.ca> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>