summaryrefslogtreecommitdiff
path: root/cpu
Commit message (Collapse)AuthorAgeLines
* ENGR00134098-2 MX53: Add fastboot support for android.Sammy He2010-11-26-0/+51
| | | | | | Add fastboot support for mx53 EVK android. Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00134098-1 MX51: Update fastboot usb init seqSammy He2010-11-26-6/+8
| | | | | | Update fastboot usb init seq, and use defined macro for coding. Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00133551-1 Add freescale usb udc support for i.mx51 platform.Sammy He2010-11-18-0/+52
| | | | | | | Add imx_udc for usb gadget on i.mx51 platform. Signed-off-by: Hu Hui <b29976@freescale.com> Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00132909 MX53 Uboot: Support for TO2Anish Trivedi2010-11-15-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support new DDR script entitled "Rita_TO2_init_DDR2_CPU2_CMOS_TEST_CAL_v1.inc" for DDR2 boards including MX53 EVK, ARD, and ARM2 CPU2. These new settings did not apply to TO1. Therefore, changed the DCD for these boards to a plugin so that TO1 and TO2 can both be supported using conditional execution of new DDR settings. During bootup on TO2, DDR frequency is required to be below 400 MHz. Therefore, BOOT_CFG2[4] must be set to enable DDR at 333 MHz in ROM on all boards. Uboot determines silicon version and for TO2 boosts the VCC and VDDA voltages to 1.3V, after which the DDR frequency is also increased to 400 MHz. This requirement meant that uboot does not calibrate PLL2 anymore until the voltage is increased. Removed the calibration from lowlevel_init.S and from all mx53 include/configs files. Also required that during config_periph_clk(), only CBCMR register is touched to set source PLL. Other changes to CBCDR were removed. Switching to PLL2 bypass clk during reprogram was also removed. All these changes are required to increase DDR frequency to 400 MHz. DDR2 CPU2 board with TO1 requires the following hw cfgs: JP3 populated, and J8 set to 2-3. For DDR2 CPU2 board with TO2, both these jumpers should be depopulated. ARM2 CPU3 (with DDR3) DDR configurations were not changed. TO1 and TO2 can run well using existing DDR3 script. However, DCD was converted to plugin to align with other boards. Signed-off-by: Anish Trivedi <anish@freescale.com>
* ENGR00133049 Support nand flash for MX28Frank Li2010-11-04-1/+43
| | | | | | | Support nand basic read/write in MX28 u-boot. Signed-off-by: Frank Li <frank.li@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00132759 MX53: use 32K CLK as GPT sourceLily Zhang2010-10-19-38/+33
| | | | | | | | | | | | | MT29F16G08MAA NAND flash was failed on MX53 ARD/RevB board, but it's fine in RevA board. After check, it's found that udelay is not accurate on MX53 ARD/RevB board because GPT uses IPG peripheral clock and assume it is 50MHZ. However IPG peripheral clock is not 50MHZ in MX53 ARD/RevB board. So it causes udelay is not accurate. This patch changes GPT clk source as 32K to make udelay accurate. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132758 correct NFC_CLK definitionLily Zhang2010-10-19-1/+4
| | | | | | | | This patch is used to fix the issue caused by ENGR00132709. NFC_CLK definition should be used in cmd_clk interface. MXC_NFC_CLK should be used as internal clock name. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132709 MX53: add "clk nfc" command supportLily Zhang2010-10-18-0/+27
| | | | | | | | Add "clk nfc" command support. Limit NFC MAX clock as 34MHZ to be compatible with some old NAND flashes. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00132617 MX53: add NAND supportLily Zhang2010-10-17-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Add NAND support for MX53 EVK and ARD. Need to use kobs-ng to flash U-Boot on MX53 TO1. Because MX51 TO1 ROM doesn't support bi swap solution and kernel enable bi swap, Must enable "ignore bad block" option when flashing U-Boot. The step is as following: echo 1 > /sys/devices/platform/mxc_nandv2_flash.0/ignorebad kobs-ng init --chip_0_device_path=/dev/mtd2 u-boot.bin echo 0 > /sys/devices/platform/mxc_nandv2_flash.0/ignorebad Since default configuration stores environment into SD card and U-Boot uses get_mmc_env_devno (Read SBMR register) to get MMC/SD slot information, you must insert SD card to bottom SD slot to get/store environment if you are using NAND boot on MX53 EVK. You must config boot dip setting well when doing NAND boot. For example, if you are using NAND 29F32G080AA NAND chip on MX53 EVK, you can set boot dips as the following for NAND boot: SW3: dip 7, 8 on; SW2: dip 3,5 on; SW1: dip 4,7,8 on. Other dips are off. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00131779: Use serial_mxc as uart driver for all platformsTerry Lv2010-09-21-675/+18
| | | | | | Use serial_mxc as uart driver for all platforms. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00127167: Add gpmi nfc and apbh dma support for mx50.Terry Lv2010-09-19-228/+161
| | | | | | Add gpmi nfc and apbh dma support for mx50. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00126079: Add clk command support for mx51Terry Lv2010-08-11-6/+657
| | | | | | Add clk command support for mx51. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00125237: Fix incorrect copyright info.Terry Lv2010-08-04-11/+20
| | | | | | Fix incorrect copyright info. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00123924: Reconstructure fuse files and add fuse to mx53.Terry Lv2010-07-16-455/+0
| | | | | | | | | | 1. Reconstructure fuse. Move fuse files to common directory. 2. Read mac from fuse in fec. 3. Remove scc and srk command from fuse command. 4. Change fuse to iim. 5. Add fuse for mx53. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00124359 Add uboot support for MX50Jason Liu2010-07-07-0/+2286
| | | | | | | | | | | | | | Add initial support for MX50 -Support mddr200Mhz, lpddr2266Mhz ARM2 board, -Support boot from SD/MMC, -Support boot from SPI-NOR, -Support FEC, UART, -Support SD/MMC/SPI command within UBOOT Signed-off-by: Anish Trivedi <anish@freescale.com> Signed-off-by: Terry Lv <r65388@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00122651: Add dwc_ahsata supportTerry Lv2010-06-24-0/+2
| | | | | | Add dwc_ahsata support. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00123484 mx28:support saving environment into sd1Aisheng.Dong2010-06-08-15/+0
| | | | | | | | | Original uboot did not support sd1 and can only save environment into sd0 even actually you're booting from sd1. This patch adds the capability of saving environment into sd1 when you're booting from sd1. Signed-off-by: Aisheng.Dong <b29396@freescale.com>
* ENGR00123870 MX53: Set AXI_B clock to 200MhzJason Liu2010-05-26-7/+3
| | | | | | | | The clock for axi_b is set to 100Mhz which will cause IPU module has insufficient clock rate. This patch will increase axi_b clock to 200M and keep it not change when do clk config in uboot Signed-off-by:Jason Liu <r64343@freescale.com>
* ENGR00123630 Set ddr clk clock according to the board IDrel_imx_2.6.31_10.05.02imx_v2009.08_10.05.02Jason Liu2010-05-19-22/+7
| | | | | | | | | | Set DDR clock to 400Mhz on MX53-EVK with DDR2 1GByte RevB Set DDR clock to 300Mhz on MX53-EVK with DDR2 2GByte RevA1 Remove the clock dump during boot, user can use clk command to get the clock information. Using help clk to get the command help Signed-off-by:Jason Liu <r64343@freescale.com>
* ENGR00123418: Add peripheral clock setup supportTerry Lv2010-05-14-66/+283
| | | | | | Add peripheral clock setup support. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00123278: Support clock operation functionsTerry Lv2010-05-11-2/+334
| | | | | | Support clock operation functions. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00122342: missing mx23 evk machine ID settingTerry Lv2010-04-16-6/+8
| | | | | | Change stmp378x to mx23evk in u-boot. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00121976 UBOOT: some fix for SD/MMC cardJason2010-03-25-6/+109
| | | | | | | | | -Update eSDHC clock setting, -Fix the GPT timer setting, -Fix the boot option pars, -Remove mdelay() function call to improve the performance Signed-off-by:Jason Liu <r64343@freescale.com>
* ENGR00121731: Add mmu, l1cache, l2cache support for mx53Terry Lv2010-03-19-0/+21
| | | | | | Add mmu, l1cache, l2cache support for mx53. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00121202 Add uboot support for MX53Jason2010-03-17-1/+1730
| | | | | | Add uboot support for MX53 Signed-off-by:Jason Liu <r64343@freescale.com>
* ENGR00121379: MX28 U-BOOT enhancementsTerry Lv2010-03-12-336/+106
| | | | | | MX28 U-BOOT enhancements. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00121314: Fix mx23 and mx28 u-boot build errorTerry Lv2010-03-05-0/+1
| | | | | | | mx23 and mx28 u-boot build fails. The reason is that cache-cp15.c is changed to cache-cp15.h. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00120520: Enable MMU for mx51 and mx35Terry Lv2010-03-04-30/+185
| | | | | | | MMU enable code is missed in mx51 and mx35 u-boot. So add these codes. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00120476: Add fuse support for mx51Terry Lv2010-01-27-0/+428
| | | | | | 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-45/+992
| | | | | | Enable Ethernet and MMC boot support for imx28-evk Signed-off-by: Frank Li <frank.li@freescale.com>
* ENGR00120202 MX51: enable L2 cacheLily Zhang2010-01-18-1/+50
| | | | | | Enable L2 cache in MX51 for uboot and kernel Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00120203: Add fec_addr check for mx51Terry Lv2010-01-18-1/+6
| | | | | | | As mx51 also uses FEC, we need to write FEC mac addr to register for kernel. Thus fec_addr also need to be checked. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00119890: Set right mac addr to FEC register in initTerry Lv2010-01-11-2/+16
| | | | | | | The mac addr set to FEC is smc911x's. So add a environment "fec_addr" to set fec address. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00119716: MX28 basic support.Terry Lv2009-12-31-0/+592
| | | | | | Add mx28 to u-boot and pass the compiling. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00119591 Fix SPI-NOR reset issueLily Zhang2009-12-25-0/+9
| | | | | | | Add the workaround for ENGcm09397: reconfigure eCSPI SS signal as GPIO before reset. Signed-off-by: Lily Zhang <r58066@freescale.com>
* ENGR00119625 i.MX35: UBoot doesn't accept commands if program uboot to NORFred Fan2009-12-24-2/+2
| | | | | | | | | | | | | | | | Bug detailed description: 1. Program uboot to NOR. 2. UBoot can boot up, but it doesn't accept commands. log: MX35 U-Boot > MX35 U-Boot > help Unknown command 'help' - try 'help' MX35 U-Boot > printenv Unknown command 'printenv' - try 'help' MX35 U-Boot > help Unknown command 'help' - try 'help' MX35 U-Boot > Signed-off-by: Fred.fan <r01011@freescale.com
* ENGR00119224: mmu support for mx51 3stack and mx51 bbgTerry Lv2009-12-11-0/+11
| | | | | | mmu support for mx51 3stack and mx51 bbg. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00118978: Timer adjustment for all platformsFred Fan2009-12-04-116/+124
| | | | | | | | | 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-1/+12
| | | | | | | To enable MMU, it is porting from redboot. Enable MMU and enable I/D cache. Signed-off-by:Fred Fan <r01011@freescale.com>
* ENGR00118576 MX25: Support Smc911x ethernetSammy He2009-11-20-17/+12
| | | | | | | 1. Add imx cspi support for cpld access. 2. Add smc911x ethernet support from cpld. Signed-off-by: Sammy He <r62914@freescale.com>
* ENGR00118428 MX233 Uboot: reslove the build error for branch imx_v2009.08Lionel Xu2009-11-13-1/+0
| | | | | | | bd->bi_enetaddr was removed in one of the previous patchs, some changes must be done to avoid building error. Signed-off-by: Lionel Xu <r63889@freescale.com>
* u-boot v2009.08 sd/mmc support.Terry Lv2009-11-03-54/+199
| | | | Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00116472-1 U-BOOT upgrade to V2009.08Fred Fan2009-09-14-87/+134
| | | | | | | | | | U-BOOT upgrade from V2009.01 to V2009.08 Initial version for i.MX51 BBG board. Support: FEC, SPI, spi Nor Flash Boot from spi nor flash and mmc/sd Signed-off-by:Fred Fan <r01011@freescale.com>
* ENGR00116243: I2C support for mx51 3ds board.Terry Lv2009-09-10-5/+20
| | | | | | I2C support for mx51 3ds board. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00113941 MX233: Make UBOOT v2009.01 work on EVK boardLionel Xu2009-09-10-0/+593
| | | | | | | | 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>
* ENGR00113611: Add FEC support for BBG2.Terry Lv2009-09-10-0/+25
| | | | | | Add FEC support for BBG2. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00112845 spi nor boot and pmic support for BBG2.Terry Lv2009-09-10-2/+55
| | | | | | spi nor boot support for BBG2. Signed-off-by: Terry Lv <r65388@freescale.com>
* ENGR00110586 MX31: Resolve Copyright issue for mx31 filesr653882009-09-10-0/+4
| | | | | | Add freescale copyright. Signed-off-by: r65388 <r65388@freescale.com>
* ENGR00108673 Add i.MX25 core to U-BootAlan Carvalho de Assis2009-09-10-1/+780
| | | | | | 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/+1615
| | | | | | | 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>