summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
...
* MLK-12495 mx6: Add LDO bypass supportYe Li2016-03-25-2/+487
| | | | | | | | | | | | | | | 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-2 mx6ulevk: Use CONFIG_TARGET_MX6UL_9X9_EVK for 9x9 LPDDR2 scriptYe Li2016-03-25-1/+1
| | | | | | Change to use CONFIG_TARGET_MX6UL_9X9_EVK for selecting DDR script. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12493-1 Add support for various boot deviceYe Li2016-03-25-232/+507
| | | | | | | | | 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/+6227
| | | | | | | | | 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-12486-1: switch to use setup_gpmi_io_clk for i.MX6ULPeng Fan2016-03-25-28/+15
| | | | | | | Add i.MX6UL support in setup_gpmi_io_clk and change mx6ul_14x14_evk to use it. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12564-2 imx: mx7d: move MX7D to Kconfig entryPeng Fan2016-03-25-2/+3
| | | | | | | | If including MX7D in CONFIG_SYS_EXTRA_OPTIONS, CONFIG_ROM_UNIFIED_SECTIONS will not effect.So move MX7D to Kconfig entry from CONFIG_SYS_EXTRA_OPTIONS to "select MX7D" to boards using i.MX7 Dual. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12564-1 imx: mx6sx: move MX6SX to Kconfig entryPeng Fan2016-03-25-3/+5
| | | | | | | | If including MX6SX in CONFIG_SYS_EXTRA_OPTIONS, CONFIG_ROM_UNIFIED_SECTIONS will not effect.So move MX6SX to Kconfig entry from CONFIG_SYS_EXTRA_OPTIONS to "select MX6SX" to boards using i.MX6 SoloX. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12452-4 mx6sxsabreauto: Add secondary enet supportYe Li2016-03-25-7/+39
| | | | | | 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-6/+38
| | | | | | 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-59/+55
| | | | | | Add configurations and board codes for second enet. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12452-1 FEC: Update fec driver to support two MDIOYe Li2016-03-25-0/+5
| | | | | | | | | | | On i.MX6SX, 6UL and 7D, there are two enet controllers each has a MDIO port. Some boards share the MDIO port for the two enets. So introduce a configuration CONFIG_FEC_MXC_MDIO_BASE to indicate the MDIO port for sharing. Without defining this configuration, the enet will uses own MDIO port. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12436-17: imx: mx6sxauto: update board and headerPeng Fan2016-03-25-20/+87
| | | | | | | | | 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-20/+138
| | | | | | | | | | | | 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-36/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-14: imx: mx7dsdb: update ddr scriptPeng Fan2016-03-25-5/+22
| | | | | | | | | | | | | | | | | On i.MX7D TO1.1, design team adds a mux cell at the CKE path to fix the suspend mode reset issue, but seems it add extra delay on CKE path, so CKE-CK timing violated. When DDR enters self-refresh or retention for long time(> 15seconds per testing on some boards), DDR data corruption occured, not able to decrease CKE delay, so we have to add extra delay on all other signals to balance it. DDR script needs to be fine-tuned according to this hardware change. For DDR3, since the timing margin is not good, we have to decrease the DDR frequency from 533Mhz to 400Mhz. Compass link: http://compass.freescale.net/livelink/livelink?func=ll&objid=235010235&objAction=browse&sort=name Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-13: mx6ulevk: update board codePeng Fan2016-03-25-7/+69
| | | | | | | | | 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-6/+105
| | | | | | | | | | | | | | 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>
* MLK-12436-11: mx6sabresd: add 6qp and solo build targetPeng Fan2016-03-25-0/+18
| | | | | | Add default build target for mx6qp and mx6solo. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-10: mx6sabresd: update board code and header fileYe Li2016-03-25-25/+122
| | | | | | | | | Align board code and header file with imx_v2015.04. Update pmic settings. wrap spi code together using CONFIG_MXC_SPI macro. To i.MX6SOLO, need to define CONFIG_MX6DL. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-9: mx6sabresd: update ddr scriptPeng Fan2016-03-25-82/+350
| | | | | | | | | | | | Align ddr script with imx_v2015.04 latest ddr script. mx6qp.cfg is 1.13 version http://sw-stash.freescale.net/projects/IMX/repos/ddr-scripts-rel/commits/8111e4d0cd81226899be637013048281e3c097b4 http://compass.freescale.net/livelink/livelink?func=ll&objId=234753630&objAction=browse&viewType=1 arik_r2_sabre_ddr3_528_1.13.inc is for sabre-AI arik_r2_sdb_ddr3_528_1.13.inc is for sabresd Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-8: imx: mx6qsabreauto: misc board updatePeng Fan2016-03-25-39/+211
| | | | | | | | | | | | | | To Align with imx_v2015.04. 1. Add USDHC1 support on mother board 2. Add SPINOR flash support. 3. Add enet ref clk pinmux setting and enet settings 4. Use CONFIG_SYS_USE_EIMNOR to wrap eimnor settings. 5. update mmc board settings 6. update board_init and move nand settings to board_init, but not in board_early_init_f 7. update pmic settings to align with datasheet. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-7: imx: mx6qsabreauto: add solo board supportPeng Fan2016-03-25-0/+134
| | | | | | Add solo version ddr script and build target. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-6: imx: mx6dqpsabreauto: update ddr script to 1.13Peng Fan2016-03-25-5/+15
| | | | | | | | | | | | | | | | | | DDR script: http://sw-stash.freescale.net/projects/IMX/repos/ddr-scripts-rel/commits/8111e4d0cd81226899be637013048281e3c097b4 http://compass.freescale.net/livelink/livelink?func=ll&objId=234753630&objAction=browse&viewType=1 arik_r2_sabre_ddr3_528_1.13.inc is for sabre-AI Patch in imx_v2015.04: " commit 5fb08a4dcc7b8478fc4236b90ad8dc2190cf94e7 Author: Peng Fan <Peng.Fan@freescale.com> Date: Wed Nov 4 16:30:47 2015 +0800 "MLK-11825 imx: mx6dqp: update ddr script to 1.13" " Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-5: imx: mx6qsabreauto: update ddr script filePeng Fan2016-03-25-4/+36
| | | | | | Align script file with imx_v2015.04. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-4: mx6qarm2: update board headerPeng Fan2016-03-25-2/+4
| | | | | | | Define CONFIG_MMCROOT, CONFIG_SYS_MMC_ENV_PART to align with imx_v2015.04. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12436-3: mx6qarm2: add new board revision supportPeng Fan2016-03-25-0/+299
| | | | | | | | | | | | | | Add mx6qarm2 new board revision support using mx6q pop SoC Enable DRAM support for imx6q PoP SoC with populated LPDDR2 MT42L128M64D2 DDR calibration script: http://sw-stash.freescale.net/projects/IMX/repos/ddr-scripts-rel/commits/040ee38ba9ad238fcb6053b663746d51321abb69 Test result: Stress test passed. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
* MLK-12436-2: mx6qarm2: update ddr scriptsPeng Fan2016-03-25-1/+179
| | | | | | | | | | | | | | | | | | | | | | | ALign with imx_v2015.04. Also to lpddr2 support: From commit: "620cf5f3d4cf37b065b5857a8ea91d61bf6c471d" " Current uboot supports for running LPDDR2 at 400MHz on MX6Q ARM2 board, but there is a problem in switching pre_periph_clk_sel to pll2_pfd2. We cannot directly change the parent of pre_periph_clk_sel as this mux is not a glitchless mux. We need to follow the correct procedure and wait for the busy bits to clear before switching. Change to follow the procedure: 1. Set periph_clk2 to OSC. 2. Switch the periph_clk to periph_clk2, checking the CCM_CDHIPR for periph_clk , ahb_podf and axi_podf busy bits. 3. Setting the pre_periph_clk to PLL2 PFD 396M. 4. Switch the periph_clk back to pre_periph_clk and checking CCM_CDHIPR busy bits. " Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye.Li <ye.li@nxp.com>
* MLK-12436-1: mx6qarm2: support lpddr2 boardPeng Fan2016-03-25-2/+12
| | | | | | Support lpddr2 board. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-12444-2 mx6: Modify kernel and fdt load address to align with mfgtoolYe Li2016-03-25-4/+5
| | | | | | | | Change the CONFIG_LOADADDR to 0x80800000 and environment variable "fdt_addr" to 0x83000000 for i.MX6SX, i.MX6SL and i.MX6UL to align the address used in mfgtool. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12444-1 mfgtool: Add mfgtool supportYe Li2016-03-25-1/+136
| | | | | | | | | | | | If boot from usb, reset environment to default value. Auto apply mfgtools setting and boot mfgtools kernel. Porting this from fsl uboot to uboot 2016. The 7dsabresd has already added the environment and usb boot related functions. No need to add them more. Only need to add NAND parts environment for mfgtools. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-10 mx6dq/dl: Add plugin boot support for arm2 boardsYe Li2016-03-25-3/+1198
| | | | | | | Add plugin.S for plugin boot initialization on mx6dq/dl arm2 board. Need to enable "CONFIG_USE_PLUGIN" for this feature. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-9 mx6dq/dl/dqp: Add plugin boot support for sabre boardsYe Li2016-03-25-7/+1373
| | | | | | | | Add plugin.S for plugin boot initialization on mx6dq/dl/dqp sabresd board and sabreauto board. Need to enable "CONFIG_USE_PLUGIN" for this feature. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-8 mx6slevk: Add plugin boot supportYe Li2016-03-25-2/+202
| | | | | | | Add plugin.S for plugin boot initialization on mx6slevk board. Need to enable "CONFIG_USE_PLUGIN" for this feature. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-7 mx6sxsabreauto: Add plugin boot supportYe Li2016-03-25-1/+150
| | | | | | | Add plugin.S for plugin boot initialization on mx6sxsabreauto board. Need to enable "CONFIG_USE_PLUGIN" for this feature. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-6 mx6sxsabresd: Add plugin boot supportYe Li2016-03-25-2/+150
| | | | | | | Add plugin.S for plugin boot initialization on mx6sxsabresd board. Need to enable "CONFIG_USE_PLUGIN" for this feature. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-5 mx7dsabresd: Add plugin boot supportYe Li2016-03-25-2/+236
| | | | | | | Add plugin.S for plugin boot initialization on mx7dsabresd board. Need to enable "CONFIG_USE_PLUGIN" for this feature. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-4 mx6ulevk: Add plugin boot supportYe Li2016-03-25-0/+371
| | | | | | | Add plugin.S for plugin boot initialization. Need to enable "CONFIG_USE_PLUGIN" for this feature. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-3 mkimage: Update imximage tool to support pluginYe Li2016-03-25-47/+215
| | | | | | Update imximage for parsing and adding plugin codes to IVT. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-2 mx7: Add plugin supportYe Li2016-03-25-0/+122
| | | | | | | Add mx7_plugin.S which calls boot rom setup function, generate the second ivt, and jump back to boot rom. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12440-1 mx6: Add plugin supportYe Li2016-03-25-0/+145
| | | | | | | Add mx6_plugin.S which calls boot rom setup function, generate the second ivt, and jump back to boot rom. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12439 mx6sxsabreauto: Enable GIS for the AI boardYe Li2016-03-25-0/+6
| | | | | | | | Enable the GIS feature for i.MX6SX sabreauto board. Need to define the "gis=vadc" environment variable for the gis input. At default this variable is not set. Signed-off-by: Ye Li <ye.li@nxp.com>
* ENGR00315894-81 gis: Add gis moduleYe.Li2016-03-25-1/+607
| | | | | | | | | | Add gis module, current gis is support vadc input. Add power down function to lcdif driver. Signed-off-by: Sandor Yu <R01008@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit a007b00dd8ef9f773dfdebef0b1deb0990281793) (cherry picked from commit a31dcdafb0963381e7213c59f79a340ef27ec2e2)
* ENGR00315894-80 pxp: Add pxp moduleYe.Li2016-03-25-0/+324
| | | | | | | | | | | Add pxp module. Support csc between YUV444 and RGB888 and scaling. Signed-off-by: Sandor Yu <R01008@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 4c6e1f9ed1b2f5c98a34502b44b6414593fdd290) Signed-off-by: Peng Fan <Peng.Fan@freescale.com> (cherry picked from commit 92295fafcdbaa3a3fe0a63ede15f896dfc9ce0b0)
* ENGR00315894-79 csi: Add csi moduleYe.Li2016-03-25-0/+425
| | | | | | | | | | Add csi module. Signed-off-by: Sandor Yu <R01008@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 854ae26758ec8132ef749b98645dd2f43b84e5e2) Signed-off-by: Peng Fan <Peng.Fan@freescale.com> (cherry picked from commit 5f133bd9420109951fd03bd5168801327e929c3b)
* ENGR00315894-78 vadc: Add vadc moduleYe.Li2016-03-25-0/+603
| | | | | | | | | | | Add vadc module. Both PAL and NTSC mode can work. Signed-off-by: Sandor Yu <R01008@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 03c31ae30c1e81c99f6824221e4801433445e04a) Signed-off-by: Peng Fan <Peng.Fan@freescale.com> (cherry picked from commit b5d776ffc1519c16091736445b3217ffb7fcd7db)
* ENGR00321299 gis: clean csi0 input mux set bit in GPRSandor Yu2016-03-25-0/+6
| | | | | | | | | | | When gis enable in uboot, the CSI0 input mux select setting to vadc module, clean the bit when gis disabled. Signed-off-by: Sandor Yu <R01008@freescale.com> (cherry picked from commit ae66b17b7da3be50dc81ca636b67e8e879f52e26) (cherry picked from commit c83fd326e810c2fff44b8b02e78406d5d04c977c) Signed-off-by: Peng Fan <Peng.Fan@freescale.com> (cherry picked from commit d6e803ed5f51d31ebe7e9d178aa11f16401b7fc8)
* ENGR00315894-77 mx6 soc: Add vadc power up/down functionYe.Li2016-03-25-2/+49
| | | | | | | | | | Add vadc power up/down function. Signed-off-by: Sandor Yu <R01008@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 96d990ef754a879f6ca9da4adf6e0be3d21cdc51) Signed-off-by: Peng Fan <Peng.Fan@freescale.com> (cherry picked from commit 01b88201aa86bef26a4254ac43aff90e99fd2c06)
* ENGR00315894-76 mx6 clock: Add vadc clock enable functionYe.Li2016-03-25-0/+13
| | | | | | | | | | Add vadc clock enable function. Signed-off-by: Sandor Yu <R01008@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 721c7a1448c5b7265b597b83d18f8338a27ea213) Signed-off-by: Peng Fan <Peng.Fan@freescale.com> (cherry picked from commit 903a59ef941f39b6d7f693dd7c60528e166de079)
* MLK-10655 Video: Fix second line string display issueYe.Li2016-03-25-4/+5
| | | | | | | | | | | The string display on second line repeats the last word of first line and does not show full. This is the bug introduced by the fixing to MLK-10542. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit ac430cee8c42f0acad9e126631d772b99f1166ea) (cherry picked from commit ff62c5b275a9b5e47d570d3eb10622799bf12070) (cherry picked from commit bd265a064c8f797e542955352d170e7f20f7b0d1)
* MLK-10542 video: Support multiple lines version string displayYe.Li2016-03-25-7/+23
| | | | | | | | | | | | | The caculation of left space for version string is not correct, should use VIDEO_COLS not VIDEO_LINE_LEN / 2, otherwise we will get larger space than actual have and cause string to overlay logo picture. Also current version string display only supports two lines words at max. This also causes overlay when the LCD pixel colume size is not enough. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit ed53487d36a886fb4557088804a4b5232b168889) (cherry picked from commit 253936bb920c5bb8e7d26e0425d155fb2576ab77)