summaryrefslogtreecommitdiff
path: root/include/asm-arm
Commit message (Collapse)AuthorAgeLines
* ENGR00120476: Add fuse support for mx51Terry Lv2010-01-27-1/+67
| | | | | | Add fuse support for mx51. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00120206 iMX28 Enable Ethernet and MMC boot supportrel_imx_2.6.31_10.02.00Frank Li2010-01-25-14/+8239
| | | | | | Enable Ethernet and MMC boot support for imx28-evk Signed-off-by: Frank Li <frank.li@freescale.com>
* ENGR00120207: Change recovery mode combo keysTerry Lv2010-01-18-2/+2
| | | | | | Change recovery mode combo keys. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00119716: MX28 basic support.Terry Lv2009-12-31-0/+477
| | | | | | Add mx28 to u-boot and pass the compiling. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00118739 Correct the board version of MX51 EVKLily Zhang2009-12-27-0/+2
| | | | | | | | | | The SD card in MMC Slot2 can not be detected. This is because the board version of MX51 EVK doesn't keep synchronization with kernel. So the card detect PIN is not configured well. Here Bit 11-Bit 8 in system_rev indicates the board version. The fix is to set Bit 11 -Bit8 as 1 for MX51 EVK board. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00119526 MX25: Fix mmc read/write failure on mmc ubootrel_imx_2.6.31_09.12.00Sammy He2009-12-21-1/+1
| | | | | | Fix MMC read/write failure due to eSDHC register definition wrong Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00119254: Add mmu header for mx51 build errorTerry Lv2009-12-11-0/+135
| | | | | | Add mmu header for mx51 build error. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00119171: ubifs support for android recovery mode.Terry Lv2009-12-11-67/+44
| | | | | | ubifs support for android recovery mode. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00118789 Uboot:Update NAND scan scheme to support new nand typeJason2009-12-08-8/+21
| | | | | | | | Update NAND scan scheme to support new nand type. With this patch uboot can support new NAND flash on mx25/mx35 board while compatible with old NAND on old boards. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00118978: Timer adjustment for all platformsFred Fan2009-12-04-1/+2
| | | | | | | | | In current u-boot design, get_timer_masked is not correct and udelay is not accurate when the time is less than 1000us. Thus we need to use ipg clock source for accurate timer. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00118579 Enable MMUrel_imx_2.6.31_09.12.00_RC1Fred Fan2009-11-30-0/+216
| | | | | | | To enable MMU, it is porting from redboot. Enable MMU and enable I/D cache. Signed-off-by:Fred Fan <r01011@freescale.com>
* ENGR00118816 Fix reboot/reset failure with image on nandSammy He2009-11-26-4/+17
| | | | | | Reset CPLD registers to fix reboot/reset failure issue. Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00118576 MX25: Support Smc911x ethernetSammy He2009-11-20-66/+34
| | | | | | | 1. Add imx cspi support for cpld access. 2. Add smc911x ethernet support from cpld. Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00118362: Correct recovery NAND cmdTerry Lv2009-11-12-2/+2
| | | | | | | | | This patch will fix three issues: 1. Add boot device detection. 2. Use right nand command in anroid for recovery mode. 3. Recovery mode code clean. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00118294: Misc changes for v2009.08 upgrade.Terry Lv2009-11-11-1/+13
| | | | | | Misc changes for v2009.08 upgrade. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00116924 Uboot: Boot up hang at detecting NAND when cold bootJason2009-11-04-7/+9
| | | | | | | | | | Boot from MMC card failed at detecting NAND. The fix will 1. Set RBB_MODE to 1 and using atomic status command 2. Set FW correctly by adding CONFIG_NAND_FW_8 config 3. Correct the BLS register value Signed-off-by:Jason Liu <r64343@freescale.com> (cherry picked from commit 7142651386271c340a6ae061a6e2893695675724)
* ENGR00116504-1: Sync clock and l2cc code with redboot.Terry Lv2009-11-04-1/+3
| | | | | | | Syc clock and l2cc code with redboot. Signed-off-by: Terry Lv <r65388@freescale.com> (cherry picked from commit f712613010e3bf2c186f05a1b7381483d733b925)
* u-boot v2009.08 sd/mmc support.Terry Lv2009-11-03-702/+59
| | | | Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00116083: Recovery mode support for Android on mx51.Terry Lv2009-09-10-0/+65
| | | | | | Recovery mode support for Android on mx51. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00113941 MX233: Make UBOOT v2009.01 work on EVK boardLionel Xu2009-09-10-0/+477
| | | | | | | | Porting MX233 UBOOT from 1.3.3 to V2009.01. Clear old cfg macro, such as CFG_HZ. Change MAC address getting source from initial configuration to On-Chip OTP. Signed-off-by: Lionel Xu <r63889@freescale.com>
* ENGR00114367: Add BABBAGE machine id, BBG2.5 rev id for rootfs init.Terry Lv2009-09-10-0/+1
| | | | | | Update mach-types for BBG board. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00114393: Support Atmel AT45DB321D SPI NOR flash.Terry Lv2009-09-10-0/+16
| | | | | | Support Atmel AT45DB321D SPI NOR flash. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00114178 Support MMC/SD boot and enable dhcp in uboot on MX25Sammy2009-09-10-0/+234
| | | | | | | | 1. Support MMC/SD boot in uboot, however, it is disabled default and user needs to enable manually by changing mx25_3stack.h; 2. Enable dhcp for network. Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00113611: Add FEC support for BBG2.Terry Lv2009-09-10-0/+1
| | | | | | Add FEC support for BBG2. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00113439: BBG2, enable SPI NOR and MMC in one image.Terry Lv2009-09-10-3/+3
| | | | | | BBG2, enable SPI NOR and MMC in one image. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00112845 spi nor boot and pmic support for BBG2.Terry Lv2009-09-10-0/+154
| | | | | | spi nor boot support for BBG2. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00112273 BBG2: MMC boot support.Terry Lv2009-09-10-0/+472
| | | | | | BBG2: MMC boot support. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00110586 MX31: Resolve Copyright issue for mx31 filesr653882009-09-10-0/+1
| | | | | | Add freescale copyright. Signed-off-by: r65388 <r65388@freescale.com>
* ENGR00109851 Add nand driver for MX51 ubootJason2009-09-10-123/+282
| | | | | | Add nand driver for MX51 uboot Signed-off-by:Jason Liu <r64343@freescale.com>
* ENGR00108673 Add i.MX25 core to U-BootAlan Carvalho de Assis2009-09-10-60/+1138
| | | | | | This patch add support on U-Boot to i.MX25 processor. Signed-off-by: Alan Carvalho de Assis <alan.assis@freescale.com>
* ENGR00108473 Porting i.MX51 3stack TO2 support to V2009.01Fred Fan2009-09-10-0/+1231
| | | | | | | Support i.MX51 TO2.0 3stack board. And enable LAN9217 support. NAND is not supported in this patch. Signed-off-by: Fred Fan <r01011@freescale.com>
* ENGR00107886 Porting MX31, MX35 3stack to u-boot V2009.01Fred Fan2009-09-10-3/+3
| | | | | | Modify and Verfiy MX31 & MX35 3stack according to the changes in V2009.01 Signed-off-by: Fred Fan <r01011@freescale.com>
* ENGR00104583 MX35 can not boot up kernelFred Fan2009-09-10-1/+11
| | | | | | | | uboot can not boot kernel. There are no more messages excepts uncompression message. The root cause is wrong romfile version offset. Signed-off-by: Fred Fan <r01011@freescale.com>
* ENGR00103914 Support i.MX35 TO2 and 3stack board version 2Fred Fan2009-09-09-0/+3
| | | | | | | | | 1. Check Soc version 2. Check Board version based on TO2 pmic chip version. 3. Based on soc version, skips To1 workaround code 4. based on board version, enables FEC power and select pin mux. Signed-off-by: Fred Fan <r01011@freescale.com>
* ENGR00102776 Support boot from NAND on i.mx35 3stack TO1Fred Fan2009-09-09-0/+39
| | | | | | | | | 1. Support boot from NAND Changes link script to separate initial code to multiple sections. 2. One binary support boot from NOR and NAND Changes common file start.S to support multiple sections. Signed-off-by: Fred Fan <r01011@freescale.com>
* ENGR00099697 Add nand driver for mx35Fred Fan2009-09-09-0/+206
| | | | | | Add nand driver for mx35 Signed-off-by:Jason Liu <r64343@freescale.com>
* ENGR00094619 Support i.MX31 3stack boardFred Fan2009-09-09-0/+96
| | | | | | | | Support boot from NAND Flash Add driver for i.MX31 NFC Upgate U-Boot to support NAND boot Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
* ENGR00081147 Support i.MX35 3stack boardFred Fan2009-09-09-0/+1147
| | | | | | | | Support boot from NOR flash Support Multiple ethernet:LAN9217 and FEC Support upgrade u-boot Signed-off-by: Fred Fan <r01011@freescale.com>
* omap3: Fixed a problem with hweccBen Goska2009-08-18-2/+2
| | | | | | | | In commit 187af954cf7958c24efcf0fd62289bbdb4f1f24e there was a typo that offset all the ecc registers by 4 bytes, fixed that. Signed-off-by: Ben Goska <goskab@onid.oregonstate.edu> Acked-by: Dirk Behme <dirk.behme@googlemail.com>
* Monahans: avoid floating point calculationsWolfgang Denk2009-08-17-1/+1
| | | | | | | | | | | Current code for the Monahans CPU defined OSCR_CLK_FREQ as 3.250 (MHz) which caused floating point operations to be used. This resulted in unresolved references to some FP related libgcc functions when using U-Boot's private libgcc functions. Change the code to use fixed point math only. Signed-off-by: Wolfgang Denk <wd@denx.de>
* OMAP3: Fix missing GPMC_CONFIG_CS0_BASEDirk Behme2009-08-10-0/+1
| | | | | | | | | | Applying two indepenent OMAP3 patches resulted in missing GPMC_CONFIG_CS0_BASE. Patch "omap3: embedd gpmc_cs into gpmc config struct" removes GPMC_CONFIG_CS0_BASE, independent patch "omap3: bug fix for NOR boot support" introduces it's usage. Re-introduce GPMC_CONFIG_CS0_BASE. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
* mxc-mmc: sdhc host driver for MX2 and MX3 proccessorIlya Yanok2009-08-09-0/+25
| | | | | | | | | | This is a port of Linux driver for SDHC host controller hardware found on Freescale's MX2 and MX3 processors. Uses new generic MMC framework (CONFIG_GENERIC_MMC) and it looks like there are some problems with a framework (at least on LE cpus). Some of these problems are addressed in the following patches. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
* kirkwood/gpio.h: remove duplicate definitionAlessandro Rubini2009-08-09-2/+0
| | | | Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
* omap3: use only fixed-size types inside ctrl_structsDirk Behme2009-08-08-194/+218
| | | | | | | | | | replace variable types in ctrl_structs for omap3 by those with fixed size (u8, u16, u32). Additional ifndef-protection is needed by examples which do not compile when including asm/types.h Signed-off-by: Matthias Ludwig <mludwig@ultratronik.de> Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
* omap3: remove typedefs for configuration structsDirk Behme2009-08-08-31/+31
| | | | | Signed-off-by: Matthias Ludwig <mludwig@ultratronik.de> Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
* omap3: embedd gpmc_cs into gpmc config structMatthias Ludwig2009-08-07-23/+18
| | | | | | | | | Embedd chip select configuration into struct for gpmc config instead of having it completely separated as suggested by Wolfgang Denk on http://lists.denx.de/pipermail/u-boot/2009-May/052247.html Signed-off-by: Matthias Ludwig <mludwig@ultratronik.de>
* pxa: Fix typo in GCDR(x)David Hunter2009-08-01-1/+1
| | | | | | Fix a typo in the GCDR(x) macro. It's a good thing no one was using it. Signed-off-by: David Hunter <hunterd42@gmail.com>
* arm nomadik: add gpio supportAlessandro Rubini2009-07-29-0/+42
| | | | | | Signed-off-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Andrea Gallo <andrea.gallo@stericsson.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* OMAP3 Remove twl4030 definesTom Rix2009-07-29-35/+0
| | | | | | | | | These defines have been subplanted by the equivelent defines in include/twl4030.h Signed-off-by: Tom Rix <Tom.Rix@windriver.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Heiko Schocher <hs@denx.de>
* OMAP I2C Fix the sampling clock.Tom Rix2009-07-28-7/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This problem is seen on Zoom1 and Zoom2 in the startup and when i2c probe is used Before : In: serial Out: serial Err: serial timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_pin: I2C_STAT=1000 I2C read: I/O error timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_bb: I2C_STAT=1000 Die ID #327c00020000000004013ddd05026013 Hit any key to stop autoboot: 0 OMAP3 Zoom1# i2c probe Valid chip addresses:timed out in wait_for_bb: I2C_STAT=1000 02 03 04 05 06 07 08 09 0A 0B 0C 0D <snip> After : In: serial Out: serial Err: serial Die ID #327c00020000000004013ddd05026013 Hit any key to stop autoboot: 0 OMAP3 Zoom1# i2c probe Valid chip addresses: 48 49 4A 4B The addresses are for the twl4030. The prescalar that converts the function clock to the sampling clock is hardcoded to 0. The reference manual recommends 7 if the function clock is 96MHz. Instead of just changing the hardcoded values, the prescalar is calculated from the value I2C_IP_CLK. The i2c #defines are in kHz. The speed passed into the i2c init routine is in Hz. To be consistent, change the defines to be in Hz. The timing calculations are based on what is done in the linux 2.6.30 kernel in drivers/i2c/buses/i2c_omap.c as apposed to what is done in TRM. The major variables in the timing caculations are specified as #defines that can be overriden as required. The variables and their defaults are I2C_IP_CLK SYSTEM_CLOCK_96 I2C_INTERNAL_SAMPLING_CLK 19200000 I2C_FASTSPEED_SCLL_TRIM 6 I2C_FASTSPEED_SCLH_TRIM 6 I2C_HIGHSPEED_PHASE_ONE_SCLL_TRIM I2C_FASTSPEED_SCLL_TRIM I2C_HIGHSPEED_PHASE_ONE_SCLH_TRIM I2C_FASTSPEED_SCLH_TRIM I2C_HIGHSPEED_PHASE_TWO_SCLL_TRIM I2C_FASTSPEED_SCLL_TRIM I2C_HIGHSPEED_PHASE_TWO_SCLH I2C_FASTSPEED_SCLH_TRIM This was runtime verified on Zoom1, Zoom2, Beagle and Overo. The 400kHz and 3.4M cases were verifed on test Zoom1, Zoom2, Beagle and Overo configurations. Testing for omap2 will be done in a second step as Nishanth and Jean-Christophe commented. Signed-off-by: Tom Rix <Tom.Rix@windriver.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Heiko Schocher <hs@denx.de>