pico-imx7d: Add SPL support
authorFabio Estevam <festevam@gmail.com>
Fri, 29 Jun 2018 18:19:11 +0000 (15:19 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Jul 2018 08:59:48 +0000 (10:59 +0200)
commitd5b7177f9130d8b66e7f20f71ff358fb5619a13a
tree26fbe6b8b3cea71caa2a5a3726b871f09c4e35f2
parent3fbbfed7a86354a51590647bcaf7c65665e81357
pico-imx7d: Add SPL support

Convert pico-imx7d to SPL support.

There are two variants of pico-imx7d SOMs:
- One with 512MB of RAM
- One with 1GB of RAM

The 512MB module contains two Hynix H5TC2G63GFR-PBA.
The 1GB module contains two Hynix H5TC4G63GFR-PBA.

The RAM size is determined in runtime by reading GPIO1_12.

While at it, also add USB Serial Download mode support as it
is very helpful for loading SPL and u-boot.img via imx_usb_loader.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
arch/arm/mach-imx/mx7/Kconfig
board/technexion/pico-imx7d/Makefile
board/technexion/pico-imx7d/imximage.cfg [deleted file]
board/technexion/pico-imx7d/pico-imx7d.c
board/technexion/pico-imx7d/spl.c [new file with mode: 0644]
configs/pico-imx7d_defconfig
include/configs/pico-imx7d.h