summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* ENGR00275348-7 imx6: add secureboot supportJason Liu2013-08-21-5/+426
| | | | | | This patch add the secureboot support Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-6 imx6/sabresd: add the plugin mode supportJason Liu2013-08-21-2/+527
| | | | | | | | This patch add the plugin mode support for sabresd board. In order to enable the plugin mode, please turn on the CONFIG_USE_PLUGIN in the include/configs/mx6qsabre_common.h Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-5 imx6/sabreauto: add the plugin mode supportJason Liu2013-08-21-6/+527
| | | | | | | | This patch add the plugin mode support for sabreauto board. In order to enable the plugin mode, please turn on the CONFIG_USE_PLUGIN in the include/configs/mx6qsabre_common.h Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-4 imx6/arm2: add the plugin mode supportJason Liu2013-08-21-3/+294
| | | | | | | | This patch add the plugin mode support for arm2 board. In order to enable the plugin mode, please turn on the CONFIG_USE_PLUGIN in the include/configs/mx6qarm2.h Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-3 imx6: add the core plugin helper function supportJason Liu2013-08-21-0/+108
| | | | | | This patch add the core plugin helper function support Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-2 tools/imximage: add the plugin mode supportJason Liu2013-08-21-56/+219
| | | | | | This patch add the plugin mode support Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-1 imx6: turn on L2 cache supportJason Liu2013-08-21-0/+32
| | | | | | This patch is to turn on the L2 cache support Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275413-02: imx6sl:evk: add i2c0 support for imx6sl evkFugang Duan2013-08-15-0/+9
| | | | | | Add i2c0 bus support in mx6slevk config file. Signed-off-by: Fugang Duan <B38611@freescale.com>
* ENGR00275413-01: ARM: MSL: add i2c0 support for imx6sl evkFugang Duan2013-08-15-0/+69
| | | | | | | - Add i2c0 support for imx6sl evk platform. - Read pmic device ID and revsion ID. Signed-off-by: Fugang Duan <B38611@freescale.com>
* ENGR00275369-04: imx6sl:evk: add fec support in config fileFugang Duan2013-08-15-0/+14
| | | | | | Add fec support in imx6sl evk config file. Signed-off-by: Fugang Duan <B38611@freescale.com>
* ENGR00275369-03: net: fec: add imx6sl fec supportFugang Duan2013-08-15-3/+3
| | | | | | | imx6sl fec need to setup the MII gasket for RMII mode. Add the imx6sl fec support. Signed-off-by: Fugang Duan <B38611@freescale.com>
* ENGR00275369-02: mx6sl: add fec pad config and initial code for evkFugang Duan2013-08-15-0/+80
| | | | | | Add imx6sl evk fec pad config and fec initial code. Signed-off-by: Fugang Duan <B38611@freescale.com>
* ENGR00275369-01: mx6sl: add fec clock enable interfaceFugang Duan2013-08-15-0/+34
| | | | | | Add fec clock enable interface in clock.c file. Signed-off-by: Fugang Duan <B38611@freescale.com>
* mx6sl: Add initial support for mx6slevk boardFabio Estevam2013-08-07-0/+439
| | | | | | | | | | | | mx6slevk board is a development board from Freescale based on the mx6 solo-lite processor. For details about mx6slevk, please refer to: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6SLEVK&parentCode=i.MX6SL&fpsp=1 [Jason Liu]: Cherry-pick from upstream version, fix some conflicts. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* mx6: Add solo-lite variant supportFabio Estevam2013-08-07-3/+133
| | | | | | | | | | mx6 solo-lite is another member of the mx6 series. For more information about mx6 solo-lite, please visit: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6SL&nodeId=018rH3ZrDRB24A Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* cmd_mem: fix cp commandMasahiro Yamada2013-07-30-1/+1
| | | | | | | | | | | | | The "cp" command has not worked since commit 0628ab8ec59834f98ede267edd21ddb8ba0bb57b, because of the following lines, which set the destination and the source to the same address. buf = map_sysmem(addr, bytes); src = map_sysmem(addr, bytes); Tested-by: Tom Rini <trini@ti.com> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
* ARM: mx6: define CONFIG_ARM_ERRATA_742230Shawn Guo2013-07-29-0/+1
| | | | | | | | | | The ARM errata 742230 - "ARM errata: DMB operation may be faulty" is claimed for Cortex-A9 (r1p0..r2p2). Though i.MX6 uses a newer revision than r2p2, we are seeing a reboot failure on i.MX6 SMP build that can be fixed by applying the workaround for this errata. So for safety, let's define CONFIG_ARM_ERRATA_742230 to enable the workaround on i.MX6. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* ENGR00268897 imx6q:sata_boot:fix the build warning when build sata_boot u-bootJason Liu2013-06-28-1/+0
| | | | | | | Fix the build warning: bin/bash: ../tools/envcrc No such file or directory Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00258606 increase the console I/O buffer to 1KHuang Shijie2013-06-26-5/+5
| | | | | | | Current console buffer is 256 bytes long, it is too small. increase it to 1K. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00268557 imx6q:sabresd: add SATA supportJason Liu2013-06-26-11/+242
| | | | | | This patch adds the SATA support for i.mx6qsabresd board Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00268502-2 imx6q{dl}-sabreauto: set the environment for NAND bootHuang Shijie2013-06-26-0/+21
| | | | | | Set the default environment for nand boot. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00268502-1 imx6q{dl}-sabreauto: enable clocks for gpmiHuang Shijie2013-06-26-2/+2
| | | | | | enable the clocks for imx6q{dl}-sabreauto boards. Signed-off-by: Huang Shijie <b32955@freescale.com>
* cfi_flash: Fix unaligned accesses to cfi_qry structureAndrew Gabbasov2013-06-24-13/+20
| | | | | | | | | | | | | | | Packed structure cfi_qry contains unaligned 16- and 32-bits members, accessing which causes problems when cfi_flash driver is compiled with -munaligned-access option: flash initialization hangs, probably due to data error. Since the structure is supposed to replicate the actual data layout in CFI Flash chips, the alignment issue can't be fixed in the structure. So, unaligned fields need using of explicit unaligned access macros. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Reviewed-By: Albert ARIBAUD <albert.u.boot@aribaud.net> Signed-off-by: Stefan Roese <sr@denx.de>
* ENGR00268402 mx6dl:sabreauto:nor-boot: fix eim-nor bootJason Liu2013-06-24-3/+13
| | | | | | | Should not gate emi_slow clock if boot from NOR flash and Set the eim-nor flash header correctly Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00268061-2 imx6/sabresd: add the dynamtic mmc dev supportJason Liu2013-06-20-0/+18
| | | | | | | | | | | | | | | This patch add the support to load/save env to the slot which was used as the boot media by dynamic detection. The slot(usdhcx) vs real mmc dev number is board dependent: on imx6q/dl sabresd board, the map is as the followings: slot(USDHCx) mmc dev number SD2(USDHC2) 0 SD3(USDHC3) 1 SD4(USDHC4) 2 Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00268061-1 env_mmc: add the dynamtic mmc dev supportJason Liu2013-06-20-8/+21
| | | | | | | This patch add the support to load/save env to the slot which was used as the boot media by dynamic detection. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00268032 config/sabre_common: change the fdt_addr to a high addressJason Liu2013-06-20-1/+1
| | | | | | | | | | | | | current the fdt_addr is just 16MB offset from the ddr base address, which will cause the dtb will be overritten by linux kernel(include .bss section) if the linux kernel is bigger than 16MB, which cause setup_machine_fdt failed and thus kernel failed to boot. This patch change the defaut fdt_addr to 128MB offset from the ddr base address, which should be enough for common user case. user can change it to other value according to their system needs. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00266276 i.mx6qarm2:should include the asm/arch/mx6-pins.hJason Liu2013-06-08-2/+3
| | | | | | We need include asm/arch/mx6-pins.h now Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00265265 I2C: add I2C support on Sabre- boardRobin Gong2013-06-03-0/+245
| | | | | | - add I2C support on Sabresd ,Sabreauto board. - add pfuze init code based on I2C transfer in Sabre* board file. Signed-off-by: Robin Gong <b38343@freescale.com>
* ENGR00265233 config/i.mx6: fix the abuse of CONFIG_SYS_MMC_ENV_PARTJason Liu2013-06-03-5/+6
| | | | | | | | | | | | | | | | | | | | | | CONFIG_SYS_MMC_ENV_PART: was used to tell the u-boot which emmc (boot)partition to be used for the env_mmc.Usually, the emmc card will have 2 boot partitions, boot1 and boot2. 0: means user area 1: means boot partition 1 2: means boot partition 2 The patch fix the abuse of CONFIG_SYS_MMC_ENV_PART, which detached the emmc boot partition number and the mmc partition to store the boot image such as uImage/dtb or bootscripts. If user want to use the boot partition to store the u-boot env, please change the CONFIG_SYS_MMC_ENV_PART to which boot partition you want. This patch also fixed 2 small display format issue for CONFIG_LOADADDR and CONFIG_SYS_TEXT_BASE. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00264385-2 i.mx6q:sabreauto: update the DDR scriptJason Liu2013-05-27-108/+83
| | | | | | | | This patch update the DDR script to the ddr-scripts-rel.git based on the top of the following commit: 7cd1c3b Removed the duplicate script files Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00264385-1 i.mx6q:sabresd: update the DDR scriptJason Liu2013-05-27-121/+93
| | | | | | | | This patch update the DDR script to the ddr-scripts-rel.git based on the top of the following commit: 7cd1c3b Removed the duplicate script files Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00264076-4 i.mx6:sabre_common:change mmc dev settingJason Liu2013-05-24-5/+1
| | | | | | | - change the CONFIG_MMCROOT to SDHC3(sd3) - make the mmcdev/part independent of ENV_IS_IN_MMC Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00264076-5 i.mx6:shutdown vddpu and pcie phy to save powerJason Liu2013-05-24-0/+30
| | | | | | | shutdown vddpu and pcie phy to save power Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00264076-3 i.mx6:gate/ungate PFD before using itJason Liu2013-05-24-0/+38
| | | | | | | | | Per the IC design, we need to gate/ungate all the unused PFDs to make sure PFD is working correctly, otherwise, PFDs may not not output clock after reset. Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00264076-2 i.mx6:Add the CPU temperature supportJason Liu2013-05-24-3/+692
| | | | | | | | The patch add the CPU thermal temperature support. Use universal equation for all i.MX6 series SOCs. Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00264076-1 i.mx6:reset LDOs step_timeJason Liu2013-05-24-1/+9
| | | | | | | | | | | | | ROM may modify CORE's LDO step_time settings according to the fuse setting for safe, reset them to the default value.Reset it to 0'b00. 0'b00: 64 cycles of 24M clock; 0'b01: 128 cycles of 24M clock; 0'b02: 256 cycles of 24M clock; 0'b03: 512 cycles of 24M clock; Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263306 imx6q: put CONFIG_SYS_NAND out of the common configJason Liu2013-05-22-2/+2
| | | | | | | Since Sabresd board does not have NAND, we need put CONFIG_SYS_NAND into the Sabreauto board only. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-14 i.mx6:sabreauto: Add the GPMI nand supportJason Liu2013-05-21-4/+102
| | | | | | Add the GPMI nand support Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-13 mtd: mxs_nand: Add support for i.MX6Stefan Roese2013-05-21-2/+26
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
* ENGR00263305-12 dma: Add i.MX6 support to drivers/dma/apbh_dma.cStefan Roese2013-05-21-2/+33
| | | | | | | | | This will be used by the i.MX6 NAND support. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
* ENGR00263305-11 imx: Move some i.MX common functions into the imx-common ↵Stefan Roese2013-05-21-64/+102
| | | | | | | | | | | | | | | | | | | | directory This patch moves the following functions into the imx-common directory: - mxs_wait_mask_set() - mxs_wait_mask_clr() - mxs_reset_block() These are currently used by i.MX28. But the upcoming GPMI NAND port for i.MX6 will also use these functions. So lets move them to a common location to re-use them. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
* ENGR00263305-10 imx: Move some header files from arch-mxs to imx-commonStefan Roese2013-05-21-24/+27
| | | | | | | | | | | | | | | | | | | The following headers are moved to a i.MX common location: - regs-common.h - regs-apbh.h - regs-bch.h - regs-gpmi.h - dma.h This way this header can be re-used also by other i.MX platforms. For example the i.MX6 which will need it for the upcoming NAND support. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
* ENGR00263305-9 i.mx6q/dl/solo:sabreauto: Add the WEIM-NOR supportJason Liu2013-05-21-3/+119
| | | | | | Add the WEIM-NOR support Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-8 i.mx6q/dl/solo: sabresd/sabreauto: Add the SPI-NOR supportJason Liu2013-05-21-15/+107
| | | | | | | | | This patch adds the SPI-NOR support for the i.mx6q/dl/solo:sabresd/auto board: - Support the SPI-NOR function with sf command, - Support the enviroment from SPI-NOR when CONFIG_SYS_BOOT_SPINOR Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-7 i.mx6:sabreauto: Add the i.MX6solo sabreauto supportJason Liu2013-05-21-0/+123
| | | | | | | | | | | | This patch is to add the i.MX6solo sabreauto support, The i.MX6solo sabreauto board configuration has the following difference with i.MX6dl sabreauto: - DDR bus width: 32bit - DDR capacity: 1024M Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-6 i.mx6:sabreauto: Add the i.MX6DL sabreauto board supportJason Liu2013-05-21-2/+149
| | | | | | | | | | | | This patch is to add the i.MX6DL sabreauto board support. i.MX6DL sabreauto board share the same design with i.MX6Q sabreauto board except the SOC difference. The DDR script has been updated to the v0.2 version from ddr-scripts-rel.git, the commit based on is: bfd157a Updated MX6DL and MX6DQ ARD and SabreSD scripts Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-5 i.mx6q:sabreauto: rename the imximage.cfg to i.mx6q.cfgJason Liu2013-05-21-2/+2
| | | | | | | Rename the imximage.cfg to i.mx6q.cfg. No function change at all. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-4 i.mx6:sabresd: Add the i.MX6solo sabresd supportJason Liu2013-05-21-0/+123
| | | | | | | | | | | | This patch is to add the i.MX6solo sabre-sd support, The i.MX6solo sabre-sd board configuration has the following difference with i.MX6dl sabre-sd: - DDR bus width: 32bit - DDR capacity: 512M Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-3 i.mx6:sabresd: Add the initial i.MX6dl sabresd board supportJason Liu2013-05-21-133/+1810
| | | | | | | | | | This patch is to add the initial Freescale i.MX6dl sabresd board support. - The DDR script has been updated to the v1.5 version from ddr-scripts-rel commit: bfd157a Updated MX6DL and MX6DQ ARD and SabreSD scripts. - i.mx6dl sabre-sd board shared the same design with i.mx6q sabre-sd board except the SOC is different.Thus, we can use the same board file. Signed-off-by: Jason Liu <r64343@freescale.com>