summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
* MLK-13311 configs: mx6sll_lpddr3_arm2: Enable network functionPeter Chen2016-11-16-0/+5
| | | | | | | | Since mx6sll has no ethernet controller, we take USB ethernet device as network device by default. Signed-off-by: Peter Chen <peter.chen@nxp.com> (cherry picked from commit f6c75d019afb2b4a59b10649b95bde8b7723a30b)
* MLK-13307-15 imx: mx6sll: add mx6sll arm2 supportPeng Fan2016-11-16-0/+262
| | | | | | | | | | | | Add mx6sll lpddr3/lpddr2 arm2 support. LCDIF/SPI/USB/PMIC supported. LPDDR3 DDR version: 1.2 LPDDR2 DDR version: initial version. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye.Li <ye.li@nxp.com> (cherry picked from commit 497134af4819241d49bbc22f1849756c7c06eb2e)
* MLK-13307-11 imx: mx6sll: disable LDOPeng Fan2016-11-16-0/+2
| | | | | | | There is no LDO for i.MX6SLL. Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit a7ea01a7ac6d45c9df72980cb3067c8e65678d11)
* MLK-13307-10 mx6_common: correct loadaddr and text base for i.MX6SLLPeng Fan2016-11-16-1/+1
| | | | | | | Correct loadaddr and text base for i.MX6SLL Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit b62d502aba4682abfaa3c0a16018f1461a62f217)
* MLK-13289 imx: mx6sxscm: generic mx6sxscm board supportJuan Gutierrez2016-10-26-0/+107
| | | | | | | | | | | | | | Provide the generic support for i.MX6SX SCM boards i.MX6SX SCM board file with the generic configuration, LPDDR2 memory calibration and build support is provided. - LPDDR2 memory configuration files for 1GB and 512MB. - plugin support for the above configurations. - driver support for: uart, qspi, i2c, usb, mmc. Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com> Signed-off-by: Alejandro Sierra <alejandro.sierra@nxp.com>
* MLK-13255 imx: mx6dqscm: generic mx6dqscm board supportJuan Gutierrez2016-10-24-0/+618
| | | | | | | | | | | | | Provide the generic support for i.MX6DQ SCM boards - LPDDR2 memory configuration files for 1GB, 2GB and 512MB. - plugin support for the above configurations. - fix and interleave memory mode (selected by CONFIG option) - driver support for: uart, spi, i2c, usb, sata and fec. - Android support Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com> Signed-off-by: Alejandro Sierra <alejandro.sierra@nxp.com>
* MLK-13130: configs: mx6qarm2: android lpddr2 pop supportAdrian Alonso2016-09-15-1/+89
| | | | | | | Add Android support for mx6qarm2 lpddr2 pop target Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> (Cherry picked from commit 6356f2b420f3571493755f6b3a307a66a539b60c)
* MLK-12929 imx6ull: support splash screen for epdcRobby Cai2016-07-29-1/+40
| | | | | | | add splash screen feature for epdc. it's tested on imx6ull arm2 board. Signed-off-by: Robby Cai <robby.cai@nxp.com>
* MLK-12988 imx: mx6ull Add board support for i.MX6ULL EVKYe Li2016-07-19-0/+375
| | | | | | | | | | | | | | | | | | | | | Add configs and board level codes for i.MX6ULL 14x14 EVK. Very similar board from i.MX6UL EVK. I2C, UART, USB, QSPI, SD, ENET and LCD are ok to work. The codes for i.MX6ULL 9x9 EVK is kept. We will add 9x9 build target when it is needed. The DDR3 script is using version 1.2: File: EVK_IMX6ULL_DDR3L_400MHz_512MB_16bit_V1.2_NewDRAM.inc Test: 3 boards passed memtester. Build target: mx6ull_14x14_evk_defconfig Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12848: mx6ull_14x14_ddr3_arm2: add new TSC configHaibo Chen2016-05-24-0/+16
| | | | | | | | Due to TSC pin conflict with I2C1 bus, and PMIC is this I2C1 bus's slave, this patch add new TSC config for i.mx6ull_14x14_ddr3_arm2 board, disable PMIC and ldo bypass check. Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
* MLK-12845 imx: mx6sabre_common: fix mmcargsPeng Fan2016-05-23-2/+2
| | | | | | | A space should be added after ${smp}. If not, bootargs is wrong, when CONFIG_SYS_NOSMP defined. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12798 imx6ull: fix snvs tamper pin usagePeng Fan2016-05-16-0/+2
| | | | | | | | | | | | | SNVS TAMPER pin and BOOT MODE pins are in SNVS IOMUXC module, not in IOMUXC, so correct the related registers' offset. Use IOMUX_CONFIG_LPSR flag for these pins, so we can differentiate them from iomuxc pins. Define CONFIG_IOMUX_LPSR for mx6ull_ddr3_arm2 board to enable using these pins. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12775 mx6ullarm2: Add package size info to the build target and dtb fileYe Li2016-05-11-1/+1
| | | | | | | | To align with i.MX6UL, add the chip package size info to the i.MX6ULL ARM2 board build target and loading dtb file name. So that mfgtool and yocto can follow i.MX6UL naming rule to process i.MX6ULL. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12723 imx: Change the env offset on NAND to 60MYe Li2016-05-06-8/+8
| | | | | | | | | | | | | | | Current environment offset on NAND is 37MB, this will cause a alignment issue when erasing if nand erase block is 2MB. The saveenv is failed. => saveenv Saving Environment to NAND... Erasing NAND... Attempt to erase non block-aligned data Since the max erase block we supported is 4MB, adjust the env offset to 60MB, where is the last 4MB in 64MB reserved area for boot. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12687 mx6ullarm2: Clean up macro usage for pins conflict devicesYe Li2016-04-21-0/+3
| | | | | | | | | | | | | | | 1. Bind the macro CONFIG_MX6ULL_DDR3_ARM2_EMMC_REWORK to eMMC 8 bits rework, which conflicts with QSPIA and NAND, that we have to disable them at same time. 2. Bind the macro CONFIG_MX6ULL_DDR3_ARM2_QSPIB_REWORK to QSPI B port rework, which conflicts with SD2 and NAND, that we have to disable them at same time. 3. Fix a typo issue of CONFIG_MX6ULL_DDR3_ARM2_EMMC_REWORK 4. Enable QSPI support for default SD boot case. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 00f36b3e9445ff47ed68262ef2d656e410cd8fcd)
* MLK-12616-11 imx: mx6ull: add mx6ull arm2 board supportPeng Fan2016-04-13-0/+69
| | | | | | | | | | | | | Support mx6ull ddr3 arm2 board. DDR script version 1.1. Passed memtester on 3 boards. Take mx6ul 14x14 ddr3 arm2 as reference. Note: LCD/NAND/ECSPI not tested, need hardware rework. Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 584050b98cf070bb608b652e89659ff20c47efba)
* MLK-12575-2 imx: Modify environment offset to 6 sectors on EIMNORYe Li2016-03-25-4/+4
| | | | | | | | | | On mx6qsabreauto and mx6sx ARM2 boards, the EIMNOR sector size is 128KB. And its u-boot environment offset is 4 sectors (512KB). But u-boot size has exceeds it, so change to 6 sectors offset (768KB). To align the environment configurations for all i.MX, also change the configuration for mx6ul and mx7d, which has EIMNOR with 256KB sectors. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12575-1 imx: Modify environment offset to 768K for SD/MMC/eMMCYe Li2016-03-25-11/+11
| | | | | | | | Since the u-boot size has exceeded the 512KB on some platforms, so we set the environment offset to 768KB for all i.MX6 and i.MX7 reference boards. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12296 imx: mx7dsabresd: Change default env for M4 boot to TCMYe Li2016-03-25-1/+5
| | | | | | | | | | | | Since the QSPI needs to rework on this board, at default the QSPI is disabled. So bind the M4 QSPI boot with QSPI enabled u-boot image, set default M4 boot to TCM. Need to use TCM m4 image at default. Additional, on SDB there is only one QSPI flash. Considering the A7 QSPI boot case, we have to move M4 image to 1M offset to give enough space for u-boot and env. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12416-10: mx6ul: Add comments for BEEPeng Fan2016-03-25-0/+3
| | | | | | Add comments for enabling BEE. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12483-5 mx6ul: Enable module fuse check EVK board and DDR3 ARM2 boardYe Li2016-03-25-1/+6
| | | | | | | Enable the configurations CONFIG_MODULE_FUSE and CONFIG_OF_SYSTEM_SETUP for module fuse check. And modify board level codes for SD, FEC and EIM. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12442: imx: mx6qarm2: lpddr2 set dram 2 channel fixed modeAdrian Alonso2016-03-25-1/+13
| | | | | | | | | | | | | Setup MMDC in two channel fixed mode Initialize dram banks for two channel fixed mode DRAM bank = 0x00000000 -> start = 0x10000000 -> size = 0x20000000 DRAM bank = 0x00000001 -> start = 0x80000000 -> size = 0x20000000 Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
* ENGR00315894-55 iMX6SX: add debug monitor supportYe.Li2016-03-25-0/+2
| | | | | | | | | | | | | Debug monitor will print out last failed AXI access info when system reboot is caused by AXI access failure, only works when debug monitor is enabled. Enable this module on i.MX6SX. Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit df6ac8531d498021ed379c74fc1847bd2cec7179) Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
* MLK-12560 mx6: Enable eMMC boot support for all mx6Ye Li2016-03-25-6/+1
| | | | | | | | Set the CONFIG_SUPPORT_EMMC_BOOT in mx6_common.h to enable the eMMC boot support for all mx6 platforms. Remove the duplicated definition in board's header file. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12559 mx6: Enable memory test commandYe Li2016-03-25-0/+5
| | | | | | | Set the CONFIG_CMD_MEMTEST on all mx6 platforms for enabling the u-boot memory test. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12558 mx6qarm2: Modify the ENV_OFFSET to 512KB on SD/MMCYe Li2016-03-25-1/+1
| | | | | | | To align the ENV_OFFSET with other boards, set it to 512Kbytes for mx6qarm2 boards when booting from SD/MMC card. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-10576 ARM: i.MX6: exclude the ARM errata from i.MX6 UP systemNitin Garg2016-03-25-0/+3
| | | | | | | | | | | | | | | | The ARM errata 751472, 794072, 761320, 845369 only applied to the following configuration: This erratum affects configurations with either: - One processor if the ACP is present - Two or more processors i.MX6 family does not have the ACP and thus only the MPCore system will be impacted, which are the i.MX6DQ, i.MX6DL, and i.MX6QP. Signed-off-by: Nitin Garg <nitin.garg@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 0db960784ba4f631ee5c0321b5d25f3b1ac55640)
* MLK-10524: iMX6x: Implement workaround for Cortex-A9 errata 845369Nitin Garg2016-03-25-0/+1
| | | | | | | | | | Under very rare timing circumstances, transitioning into streaming mode might create a data corruption. Present on Two or more processors or 1 core with ACP, all revisions. This erratum can be worked round by setting bit[22] of the undocumented Diagnostic Control Register to 1. Signed-off-by: Nitin Garg <nitin.garg@freescale.com> (cherry picked from commit 70ad44e523680de67dd8b7a7505d7f27799980ee)
* MLK-12557 mx6ul: Enable syscounter as default timerYe Li2016-03-25-0/+4
| | | | | | Use syscounter for i.MX6UL platform as default timer, not use gpt Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12531 mx6sxsabresd: Add CM4 fast boot up demoYe Li2016-03-25-13/+6
| | | | | | | | | | | | | | | | | This is a demo that CM4 will boot up by u-boot without typing any command. It boots up at u-boot early init, try to minimize the time from power up to the CM4 running. Since CM4 runs on QSPI NOR XIP, we have to disable the QSPI driver in u-boot to avoid conflict. RDC for shared GPIO1 is added, but not enabled, because the kernel is not ready for shared GPIO1. Users can uncomment the CONFIG_IMX_RDC to enable it. Some legacy codes in mx6sxsabreauto are removed. We only need this work on mx6sxsabresd as a demo. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12527-3 android: Add board support to enable android fastbootYe Li2016-03-25-26/+433
| | | | | | | | | | | Add board level support for android fastboot feature. Each board has a android specified header file for defining android related configuraitons. And add build targets for their android uboot images building. For mx6qsabreauto, mx6sabresd and mx7dsabresd, we enable the android fastboot exclusive with DFU. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12527-2 android: Add FSL android fastboot supportYe Li2016-03-25-0/+196
| | | | | | | | | | | | | | | | | | | | | Integrate the FSL android fastboot features into community's fastboot. 1. Use USB gadget g_dnl driver 2. Integrate the FSL SD/SATA/NAND flash operations, since the GPT and EFI partitions are not support by i.MX. 3. Add FDT support to community's android image. 4. Add a new boot command "boota" for android image boot. The boota implements to load ramdisk and fdt to their loading addresses specified in boot.img header, while bootm won't do it for android image. 5. Support the authentication of boot.img at the "load_addr" for both SD and NAND. 6. We use new configuration CONFIG_FSL_FASTBOOT for Freescale's fastboot with relevant header file "fsl_fastboot.h". While disabling the configuration, the community fastboot is used. 7. Overwrite the cmdline in boot.img by using bootargs saved in local environment. 8. Add recovery and reboot-bootloader support. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12527-1 mxc_keyb: Add MXC keyboard driverYe Li2016-03-25-0/+201
| | | | | | | | | | | | | | The i.MX6SL EVK needs this driver in android fastboot support. Add this driver to u-boot. To use the driver, user must define: CONFIG_MXC_KPD Enable the driver CONFIG_MXC_KEYMAPPING Key mapping matrix CONFIG_MXC_KPD_COLMAX The column size of key mapping matrix CONFIG_MXC_KPD_ROWMAX The row size of the key mapping matrix Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12528 mx7: Enable secure mode for mx7 platformsYe Li2016-03-25-0/+1
| | | | | | | | | The CONFIG_MX7_SEC is not set at default, so the MX7 goes to non-secure mode before jumping to kernel, and needs PSCI works for secure mode operations. We have to set the CONFIG_MX7_SEC to enable the secure mode, otherwise we will get some kernel panic issues. Signed-off-by: Ye Li <ye.li@nxp.com>
* MA-7455-1 Pico: modify Pico configuration for Brillo.Peng Fan2016-03-25-88/+13
| | | | | | | | | Modify the picosom to be suit for Brillo configurations. Signed-off-by: Haoran Wang <Haoran.Wang@freescale.com> (cherry picked from commit 864fd4f019674e8333b1fdb91e9242ae75f35992) To align with 2016.03, fix several places. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MA-7455 Import picosom boot codesHaoran Wang2016-03-25-0/+383
| | | | | | | | | Imported the picosom boot codes and board configs from technexion. Signed-off-by: Tapani Utriainen <tapani@technexion.com> Signed-off-by: Haoran Wang <Haoran.Wang@freescale.com> (cherry picked from commit d102c193f3f903055239f07ddbaab63715dbf82f)
* MLK-12416-6 imx: rdc: misc fix and updateYe Li2016-03-25-6/+47
| | | | | | | | | Change CONFIG_MXC_RDC to CONFIG_IMX_RDC. Do misc update in board header file to support RDC for M4 usage. Fix rdc interface imx_rdc_check_permission change in mxc_gpio. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12500-2 HAB: Add commented secure boot configurationsYe Li2016-03-25-1/+60
| | | | | | | | | | CONFIG_SECURE_BOOT is used for signed image building, this configuration is not enabled at default. Comment it in board header files. Users can uncomment it to enable. Also add CONFIG_CSF_SIZE for defining the CSF reserved size Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12497-1 mx7d: Add support for all mx7d arm2 boardsYe Li2016-03-25-1/+607
| | | | | | | Porting all mx7d arm2 boards (mx7d 12x12 lpddr3, 12x12 ddr3, 19x19 ddr3, 19x19 lpddr2, 19x19 lpddr3) support from u-boot v2015.04. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12495 mx6: Add LDO bypass supportYe Li2016-03-25-0/+2
| | | | | | | | | | | | | | | Port LDO bypass support from v2015 to support the features: 1. Add check for 1.2GHz core speed. If Speed grading fuse is for 1.2GHz, enable LDO bypass and setup PMIC voltages. LDO bypass is dependent on the flatten device tree file. 2. We set WDOG_B in set_anatop_bypass() before, because it is the only case, but now on i.mx6sabreauto board, we didn't use ldo-bypass mode, but have to use WDOG_B to reboot whole board, so split these code to independent function so that board file can call it freely. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12493-1 Add support for various boot deviceYe Li2016-03-25-157/+357
| | | | | | | | | Add support for various boot devices like NAND, QSPINOR, SPINOR, eMMC, EIMNOR, SATA. Modify board level files to support the feature and add corresponding defconfig files Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12486-2 imx6: Add i.mx6sx/ul arm2 boardsPeng Fan2016-03-25-0/+900
| | | | | | | | | Add i.MX6SX/UL arm2 boards support. Most code are from imx_v2015.04, but adapted to 2016.03 release. Tested on mx6ul_14x14_ddr3_arm2 and mx6sx_19x19_ddr3_arm2. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12452-4 mx6sxsabreauto: Add secondary enet supportYe Li2016-03-25-0/+7
| | | | | | Add configurations and board codes for second enet. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12452-3 mx6sxsabresd: Add secondary enet supportYe Li2016-03-25-0/+7
| | | | | | Add configurations and board codes for second enet. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12452-2 mx7dsabresd: Add secondary enet supportYe Li2016-03-25-1/+1
| | | | | | Add configurations and board codes for second enet. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12436-17: imx: mx6sxauto: update board and headerPeng Fan2016-03-25-2/+7
| | | | | | | | | Align with imx_v2015.04 Update pmic settings. Update imximage.cfg. Enable bmode. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-16: imx: mx6sxsdb: update board and headerPeng Fan2016-03-25-3/+21
| | | | | | | | | | | | Align with imx_v2015.04. Add emmc support which needs board rework. Add I2C2. Update pmic settings. Add bmode. Move partial code from board_early_init_f to board_init. Disable PCI. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-15: imx: mx7dsdb: add RevB supportPeng Fan2016-03-25-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add RevB board support and Align with imx_v2015.04. imx_v2015.04 commit: " commit f026a65375094cc2c0e25ed11772aee9362ee63d Author: Ye.Li <B37916@freescale.com> Date: Thu Dec 17 11:39:09 2015 +0800 MLK-12034 imx: mx7dsabresd: Add RevB board support Since i.MX7D SDB revB board has some HW changes, we have modify the BSP file to support new pinmux. 1. OTG2 PWR pin is changed to GPIO1_IO07. 2. A enet2_en pin is added for isolating enet2 signals with EPDC, we also add support for enet2. 3. pin6 of 74LV output is changed for CSI PWDN. Set output to high to power down it. This patch also tries to get the board id and apply changes according with it. Since current RevB board does not burn GP1 fuse for board id, we have to check the TO rev instead even it is not very exact. Will update this if any new way implemented. " Also update pmic settings to align with datasheet. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye.Li <B37916@freescale.com>
* MLK-12436-13: mx6ulevk: update board codePeng Fan2016-03-25-0/+4
| | | | | | | | | Align with imx_v2015.04. Add nand related settings. Update qspi pad electric settings. Add usb ethernet support. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-12: mx6slevk: update board codePeng Fan2016-03-25-2/+13
| | | | | | | | | | | | | | Add elan code, to handle epdc which has i2c devices. To imx_v2015.04, the two pathces are for elan. b6ba68516b681a38025252bd0ef6a6ed3e8adfa0 MLK-10215 Add elan init in i.MX6SL-EVK board 0c600f6a67f00fe0c674c08c355bea3789109679 MLK-10885 imx: mx6slevk ignore elan init when no epdc on board Align ddr script and header file to imx_v2015.04. Signed-off-by: Peng Fan <peng.fan@nxp.com>