summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
...
* MLK-14445-8 mx7ulp_evk: Add dynamical MMC device detectionYe Li2017-04-05-2/+0
| | | | | | | Add board_late_mmc_env_init to support MMC device detection for environment variables. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-13547 configs: mx7ulp_evk: enable ethernet boot supportPeter Chen2017-04-05-0/+1
| | | | | | | | | | Since we can use USB ethernet instead of local ethernet, add ethernet support for it. To use USB ethernet function at u-boot, just plug in Micro-AB cable at USBOTG1 port with USB2Ethernet adapter connected. Signed-off-by: Peter Chen <peter.chen@nxp.com> (cherry picked from commit 60ffddf87cf6b8502c5d5fc6540364adfd66ebb3) Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-13929-6 mx7ulp_evk: Enable the MIPI DSI splashscreenYe Li2017-04-05-0/+16
| | | | | | | | Enable and setup board level codes for MIPI DSI splashscreen on EVK board. User needs set env variable"panel=HX8363_WVGA" for displaying. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 49cb68f5c17e42f9290336e1252ace6ac7d0b5ce)
* MLK-13929-1 video: Add MIPI DSI host controller driver for i.MX7ULPYe Li2017-04-05-0/+88
| | | | | | | | | | | | | | | | Add the host driver base from kernel for MIPI DSI controller on i.MX7ULP. The controller provides a DPI-2 interface for LCDIF video stream, and a APB interface for packet transmission. The driver provides APIs to register a MIPI panel device and its driver. The panel driver can use the write packet function provided by the host driver to send control packets to panel device via APB interface. MIPI DSI has its PHY and dedicated PLL. The driver will setup them when enabling the DSI host. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit e02115dd1c5d36ec06eabcb5a0b8e09aaf0f29a0)
* MLK-14445-6 mx7ulp_evk: Add USB OTG0 supportYe Li2017-04-05-1/+6
| | | | | | | Porting codes to support USB OTG0 on the EVK board. Convert to use DM USB driver. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14445-2 mx7ulp_evk: Add QSPI flash supportYe Li2017-04-05-0/+13
| | | | | | | | | Porting the QSPI flash board support from v2016.03, and convert to use DM QSPI driver. Since we need to support QSPI at default in u-boot, change the default DTS file to qspi enabled DTS. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-13645 mx7ulp: Modify FDT file to disable SD3.0 for mfgtoolYe Li2017-04-05-0/+2
| | | | | | | | | | Since the SD3.0 kernel driver needs M4 image support, this causes problem to mfgtool. To decouple the relationship, we modify the FDT file in u-boot to disable SD3.0 when booting for mfgtool. So the kernel won't depend on M4 image. Signed-off-by: Ye Li <ye.li@nxp.com> Tested-by: Fugang Duan <fugang.duan@nxp.com> (cherry picked from commit 1826d6e4dc732521190c742f812193be95eea211)
* imx: mx7ulp_evk: enable mmc/regulator supportPeng Fan2017-04-05-1/+90
| | | | | | | | | | | Enable MMC support. The fsl sdhc driver needs regulator to enable power, so enable regulator support. And bootcmd and more env. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
* imx: imx7ulp: add EVK board supportPeng Fan2017-04-05-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | Add EVK board support. Add the evk dts file. LOG: U-Boot 2017.03-rc2-00038-gab86c1d (Feb 22 2017 - 15:59:58 +0800) CPU: Freescale i.MX7ULP rev1.0 at 500 MHz Reset cause: POR Boot mode: Dual boot Model: NXP i.MX7ULP EVK DRAM: 1 GiB MMC: FSL_SDHC: 0 In: serial@402D0000 Out: serial@402D0000 Err: serial@402D0000 Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
* arm: dts: add i.MX7ULP dtsi filePeng Fan2017-04-05-0/+161
| | | | | | | | Add i.MX7ULP dtsi file. Add clock and pinfun header files. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
* serial: lpuart: add i.MX7ULP supportPeng Fan2017-04-05-0/+72
| | | | | | | | | | | | | | Add i.MX7ULP support. The buadrate calculation on i.MX7ULP is different,so add a new setbrg function for i.MX7ULP. Add a enum lpuart_devtype for runtime check for different platforms. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Cc: York Sun <york.sun@nxp.com> Cc: Shaohui Xie <Shaohui.Xie@nxp.com> Cc: Alison Wang <b18965@freescale.com>
* MLK-14419-3 imx: mx7d_arm2: add 19x19 LPDDR2/LPDDR3/DDR3 ARM2 supportPeng Fan2017-04-05-0/+165
| | | | | | | | | Add 19x19 LPDDR2/LPDDR3/DDR3 ARM2 board supports. Enable the OF_CONTROL and convert them to use DM driver. Since the DTB lacks the support for some modules. We have to use QSPI and FEC with non-DM driver. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14419-2 imx: mx7d_arm2: add 12x12 ddr3 arm2 board supportPeng Fan2017-04-05-0/+39
| | | | | | | | Add 12x12 ddr3 arm2 board support and convert it to use OF_CONTROL and DM drivers. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14419-1 imx: mx7d_arm2: add 12x12 lpddr3 arm2 supportPeng Fan2017-04-05-0/+401
| | | | | | | | Add mx7d 12x12 lpddr3 arm2 support, which has enabled the OF_CONTROL and DM drivers Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14418-13 imx: mx7dsabresd: Update Misc codesYe Li2017-04-05-3/+11
| | | | | | | | 1. Add BMODE support 2. Update environment variables to align with v2016.03 3. Remove the wdog WCR bit 4 clear. Since we have implemented reset_cpu for mx7d. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14418-9 imx: mx7dsabresd: add nand/qspi boot supportPeng Fan2017-04-05-23/+37
| | | | | | | | | | Add nand/qspi build configurations for their boot support. Also Add gpmi-nand and qspi specified DTS files for enable them. For QSPI, this patch changes it to use DM driver. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14418-8 imx: mx7dsabresd: add epdc supportPeng Fan2017-04-05-0/+27
| | | | | | | | Add epdc support from v2016.03. Add a epdc specified DTS file for using epdc Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14418-7 imx: mx7dsabresd: add FEC DM supportPeng Fan2017-04-05-2/+11
| | | | | | | | Add FEC2 and convert to use FEC DM driver. Add board rev check. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14418-6 imx: mx7dsabresd: switch to DM USBPeng Fan2017-04-05-3/+0
| | | | | | Switch to use DM USB. Enable GPIO regulator to handle vbus supply. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-14418-4 imx: mx7dsabresd: enable dm driversPeng Fan2017-04-05-11/+0
| | | | | | | Enable GPIO/I2C/MMC/SPI/74X164 DM drivers. Discard mxc spi support. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-14418-1 imx: mx7: introduce dts filesPeng Fan2017-04-05-0/+454
| | | | | | | Introduce dts files for i.MX 7D SabreSD platform. From imx_4.1.y, based on "commit b423f954fb755" Signed-off-by: Peng Fan <peng.fan@nxp.com>
* MLK-14499 mx6qarm2: Convert to use OF_CONTROL and DM driverYe Li2017-04-05-6/+3
| | | | | | | | | Modify the mx6qarm2 configurations to enable OF_CONTROL and DM drivers: USB, Ethernet, UART and MMC. Add two DTS files for imx6q/dl arm2 board and imx6q pop arm2 board. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14391-3 mx6sxarm2: Convert to enable OF_CONTROL and DM driversYe Li2017-04-05-75/+62
| | | | | | | | | | | | | | | Update mx6sx 14x14/17x17/19x19 lpddr2/ddr3 arm2 board codes and build configurations to enable OF_CONTROL and DM drivers. 1. Update GPIO codes for adding gpio request 2. Enable USB DM driver 3. Update PMIC code for using DM PMIC 4. Add spinor/qspi/nand/eimnor boot support. 5. Add defconfig for using plugin. 6. Enable Ethernet DM driver 7. Update for using QSPI DM driver Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14391-1 mx6sxarm2: Add mx6sx 14x14/17x17/19x19 arm2 board codesYe Li2017-04-05-0/+415
| | | | | | | | Copy the board codes and build configurations for i.MX6SX 14x14/17x17/19x19 ARM2 boards from v2016.03 as the base for converting to OF_CONTROL and DM driver. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14390-3 mx6sllarm2: Convert to enable OF_CONTROL and DM driversYe Li2017-04-05-43/+11
| | | | | | | | | | | | Update mx6sll lpddr2/3 arm2 board codes and build configurations to enable OF_CONTROL and DM drivers. 1. Update GPIO codes for adding gpio request 2. Enable USB DM driver 3. Update PMIC code for using DM PMIC 4. Add spinor boot support, pin conflict with LCD, will disable LCD. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14390-1 mx6sllarm2: Add mx6sll LPDDR2/3 ARM2 board codesYe Li2017-04-05-0/+268
| | | | | | | Move the mx6sll lpddr2/3 arm2 board codes and defconfigs from v2016.03 as the base for converting to use DTB OF_CONTROL. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14380-3 mx6ullarm2: Convert to enable OF_CONTROL and DM driversYe Li2017-04-05-38/+10
| | | | | | | | | | | | | | | Update mx6ull ddr3 arm2 board codes and build configurations to enable OF_CONTROL and DM drivers. 1. Update QSPI settings and codes for DM QSPI driver. 2. Update GPIO codes for adding gpio request 3. Enable FEC DM driver and update relevant configurations 4. Enable USB DM driver 5. Update PMIC and LDO by-pass codes for DM PMIC 6. Add various boot media support, QSPI/NAND/SPINOR 7. Add rework support for eMMC/QSPIB/TSC Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-13602-3 mx6ullevk/arm2: Enable module fuse checking for mx6ull boardsYe Li2017-04-05-0/+6
| | | | | | | | | Enable the module disable fuse checking configurations, and ENET fuse checking during ENET setup. Signed-off-by: Ye Li <ye.li@nxp.com> Tested-by: Bai Ping <ping.bai@nxp.com> (cherry picked from commit d2192a3909be8ab9433082e7c04c917489b28e25)
* MLK-12929 imx6ull: support splash screen for epdcRobby Cai2017-04-05-1/+40
| | | | | | | | add splash screen feature for epdc. it's tested on imx6ull arm2 board. Signed-off-by: Robby Cai <robby.cai@nxp.com> (cherry picked from commit bcdbe240bb2a97d38ba30dd244a51ece87662b06)
* MLK-14380-1 mx6ullarm2: Add mx6ull DDR3 ARM2 board codesYe Li2017-04-05-0/+90
| | | | | | | Move the mx6ull ddr3 arm2 board codes and defconfigs from v2016.03 as the base for converting to use DTB OF_CONTROL. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14382-3 mx6ularm2: Convert to enable OF_CONTROL and DM driversYe Li2017-04-05-95/+54
| | | | | | | | | | | | | | Update mx6ul ddr3 arm2 and lpddr2 arm2 boards codes and build configurations to enable OF_CONTROL and DM drivers. 1. Update QSPI settings and codes for DM QSPI driver. 2. Update GPIO codes for adding gpio request 3. Enable FEC DM driver and update relevant configurations 4. Enable USB DM driver 5. Update PMIC and LDO by-pass codes for DM PMIC 6. Add various boot media support, QSPI/NAND/SPINOR/EIMNOR Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14382-1 mx6ularm2: Add DDR3 and LPDDR2 ARM2 board codesYe Li2017-04-05-0/+451
| | | | | | | Move the mx6ul DDR3/LPDDR2 ARM2 boards codes from v2016.03 u-boot as the base for OF_CONTROL enabling. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14326-14 mx6ulevk: Enable OF_CONTROL and DM driversYe Li2017-04-05-13/+12
| | | | | | | | | | | | | | | | Update mx6ulevk board files and build configurations to enable OF_CONTROL and DM drivers. 1. QSPI settings and codes update for using DM QSPI driver. For DM and non-DM driver, the AMBA address is not same. 2. Update configurations for DM i2c driver, using CONFIG_SYS_I2C for non-DM driver 3. GPIO update for adding gpio_request 4. Add FEC DM driver support for two FEC controllers. 5. Enable USB DM driver. 6. Enable 74X164 DM driver for 74LV controlling. 7. Enable PMIC DM driver for 9x9 EVK Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14326-11 mx6slevk: Enable OF_CONTROL and DM driversYe Li2017-04-05-0/+6
| | | | | | | | | | | | Update mx6slevk board files and build configurations to enable OF_CONTROL and DM drivers. 1. Update PMIC and LDO-bypass codes for DM PMIC driver. 2. Update configurations for DM i2c driver 3. GPIO update for adding gpio_request 4. Remove duplicated configurations from build config Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14326-10 mx6slevk: add DTS files and dt-binding header fileYe Li2017-04-05-0/+181
| | | | | | | Update i.MX6SL dtsi file and dt-binding header files. Add the imx6sl-evk DTS file preparing for using DTB. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14326-9 mx6sxsabreauto: Update board file and build configurationYe Li2017-04-05-6/+19
| | | | | | | Enable FEC, USB and QSPI DM driver in build configuration and update board file for them. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14326-7 mx6sxsabresd: Enable OF_CONTROL and DM driversYe Li2017-04-05-4/+22
| | | | | | | Update mx6sxsabresd board files and build configurations to enable OF_CONTROL and DM drivers. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14326-6 mx6sxsabresd: Update and add mx6sxsabresd DTS filesYe Li2017-04-05-2/+6
| | | | | | | | | | | Update i.MX6SX dtsi file and relevant DTS header files. Add the imx6sx-sdb DTS files preparing for using DTB. To support DM QSPI driver 1. Modify the n25q256a flash node's compatible to "spi-flash". 2. Add spi0 and spi1 alias for qspi1 and qspi2. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14326-3 mx6qsabreauto: Enable OF_CONTROL and DM driverYe Li2017-04-05-18/+19
| | | | | | | | | | | | | | Enable OF_CONTROL and DM driver on mx6qsabreauto. 1. Add the imx6qsabreauto relevant DTS file for using DTB. 2. Modify PMIC initialization codes to use DM PMIC driver. 3. Modify to use PCA953X DM driver 4. Remove NAND from default, since the default imx6q-sabreauto.dts disabled the nand. The pins are conflicted with UART3, while UART3 is enabled. 5. For NAND build configuration, remove the USB, since the imx6q-sabreauto-gpmi-weim.dts will have pin conflicts on steer logic. 6. GPIO requests added. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14375-1 mx6ullevk: Update board codes to align with v2016.03Ye Li2017-04-05-15/+157
| | | | | | | | | | | | | | | | | | Update mx6ull evk to add features from v2016.03. 1. Add support for NAND flash. 2. Add support for QSPI DM driver. 3. Add USB DM driver support. 4. Add two FEC support by using DM FEC driver 5. Update environments for various boot devices support: SD/NAND/eMMC/QSPI 6. Add MFGtool environments. 7. Add board codes for 9x9 EVK board For the DTS file, some changes are needed for using QSPI DM driver 1. Add spi0 alias for qspi node. Which is used for bus number 0. 2. Modify the n25q256a@0 compatible property to "spi-flash". 3. Modify spi4 (gpio_spi) node to spi5 Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-14366 mx6sllevk: Update board codes to align with v2016.03Ye Li2017-04-05-1/+14
| | | | | | | | | | Update mx6sll EVK board codes for features: 1. Add SD/MMC dynamical device detect. 2. Add wdog set for kernel. 3. Add mfgtool environments. 4. Modify SD/MMC environment offset. Signed-off-by: Ye Li <ye.li@nxp.com>
* MLK-12723 imx: Change the env offset on NAND to 60MYe Li2017-04-05-3/+3
| | | | | | | | | | | | | | | | 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> (cherry picked from commit 22f6c4b151fbdea1985403086715de841152c880)
* MLK-12416-9: mx6qp: define CONFIG_MX6QPPeng Fan2017-04-05-0/+4
| | | | | | | | Define CONFIG_MX6QP which will also set CONFIG_MX6Q, otherwise plugin code will use wrong ddr script. Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 901d9eb01736ab54822678a197fe1aeb281a81b9)
* MLK-12442: imx: mx6qarm2: lpddr2 set dram 2 channel fixed modeAdrian Alonso2017-04-05-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> (cherry picked from commit bf1d8faf1dab7c4245ba7b79ceef6279cff45625)
* MLK-12560 mx6: Enable eMMC boot support for all mx6Ye Li2017-04-05-1/+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> (cherry picked from commit dbe744de73c88f14e01f56a3258752ab5cd45b14)
* MLK-12531 mx6sxsabresd: Add CM4 fast boot up demoYe Li2017-04-05-2/+11
| | | | | | | | | | | | | | | | | | 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> (cherry picked from commit f66842f79d4e33ace45762466eed23a86d367642)
* MLK-12493-1 Add support for various boot deviceYe Li2017-04-05-104/+293
| | | | | | | | | | 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> (cherry picked from commit 72c35e80b86f7f75a52db45959793882bb730793)
* MLK-12500-2 HAB: Add commented secure boot configurationsYe Li2017-04-05-0/+6
| | | | | | | | | | | | CONFIG_SECURE_BOOT is used for signed image building, this configuration is not enabled at default. Comment it in mx6/mx7 common header file. Users can uncomment it to enable. Also add CONFIG_CSF_SIZE for defining the CSF reserved size and resize the CONFIG_CSF_SIZE to 0x4000 to align with v2016.03. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 01cc7d9bc205251c13712418d51f3a4d7b20861b)
* MLK-12495 mx6: Add LDO bypass supportYe Li2017-04-05-0/+6
| | | | | | | | | | | | | | | | 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> (cherry picked from commit 5b87d04dba66fa45375d59648838ef89f559f75d)
* MLK-12436-17: imx: mx6sxsabreauto: update board and headerYe Li2017-04-05-2/+30
| | | | | | | | | | | | Align with imx_v2016.03 1. Update pmic settings to enable SD3 power and use PMIC common init codes. 2. Enable bmode. 3. Update MMC root parameters 4. Update AUXBOOT for M4 Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 0816a496fbe3f7d0e4f1a9322c76908a5c557c8c) Signed-off-by: Ye Li <ye.li@nxp.com>