u-boot-brain/arch/arm
Peng Fan d9cbb264e8 imx: mx6ul: support mx6ul 9x9 evk board
This patch is to support mx6ul_9x9_evk board based on mx6ul_14x14_evk,
the difference between mx6ul 9x9 evk and mx6ul 14x14 evk are:
1. mx6ul 9x9 evk use pfuze3000, while mx6ul 14x14 evk use DCDC.
2. mx6ul 9x9 evk supports 256MB LPDDR2, while mx6ul 14x14 evk
   supports 512MB DDR3
3. mx6ul_9x9_evk use 9x9 package, while mx6ul_14x14_evk use 14x14 package.

This patch add the following:
1. Discard PHYS_SDRAM_SIZE from header file, use imx_ddr_size()
2. Introduce a macro is_mx6ul_9x9_evk using
   CONFIG_IS_ENABLED(TARGET_MX6UL_9X9_EVK) to avoid "#ifdef xxx" in non-SPL
   part. To SPL part, CONFIG_IS_ENABLED(TARGET_MX6UL_9X9_EVK) can not work,
   so still use "#ifdef CONFIG_TARGET_MX6UL_9X9_EVK" to differentiate with
   mx6ul_14x14_evk. And we have no way to dymaically checking this chip
   is 9x9 or 14x14.
3. mx6ul_9x9_evk use pfuze3000, so enabled POWER related configurations.
   POWER related configurations also effect for mx6ul_14x14_evk. But
   power_init_board implementation using 'if (is_mx6ul_9x9_evk())' to
   do initialization for mx6ul_9x9_evk, and do nothing for mx6ul_14x14_evk.
4. mx6ul_9x9_evk use lpddr2 with size 256MB, so add related SPL DRAM
   configurations.
5. Enable CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG and setting dtb file
   according to board_rev and board_name.
6. Add TARGET_MX6UL_9X9_EVK Kconfig entry

Boot Log:
U-Boot SPL 2015.10-rc2-00356-g536ce34 (Sep 06 2015 - 12:22:53)
reading u-boot.img
reading u-boot.img

U-Boot 2015.10-rc2-00356-g536ce34 (Sep 06 2015 - 12:22:53 +0800)

CPU:   Freescale i.MX6UL rev1.0 792 MHz (running at 396 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 41C
Reset cause: POR
Board: MX6UL 9x9 EVK
I2C:   ready
DRAM:  256 MiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
In:    serial
Out:   serial
Err:   serial
Net:   FEC1
Hit any key to stop autoboot:  0

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
2015-09-13 10:32:44 +02:00
..
cpu imx: mx6ul: support mx6ul 9x9 evk board 2015-09-13 10:32:44 +02:00
dts sun5i: Add A10s-Wobo-i5 defconfig and dts 2015-09-10 20:13:01 +02:00
imx-common imx: imx7d: add imx-common cpu support for imx7d 2015-09-13 10:11:54 +02:00
include imx: mx7dsabresd: Add support for MX7D SABRESD board 2015-09-13 10:11:54 +02:00
lib Merge git://git.denx.de/u-boot-rockchip 2015-09-03 14:57:09 -04:00
mach-at91 arm: Remove vl_ma2sc board 2015-09-11 17:12:57 -04:00
mach-bcm283x arm/mach-bcm283x/mbox: Flush and invalidate dcache when using fw mailbox 2015-08-12 20:47:42 -04:00
mach-davinci bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
mach-exynos of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
mach-kirkwood arm: Remove tk71 board 2015-09-11 15:00:22 -04:00
mach-mvebu bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
mach-orion5x arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mach-rockchip rockchip: Add basic support for jerry 2015-09-02 21:28:24 -06:00
mach-socfpga arm: socfpga: Add support for the Terasic DE-0 Atlas board 2015-09-04 11:54:21 +02:00
mach-tegra of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
mach-uniphier ARM: uniphier: enable SPL_OF_CONTROL 2015-08-31 00:25:06 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
mvebu-common arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00
config.mk arm: Include the .got section in the binary 2015-05-14 18:49:34 -06:00
Kconfig imx: mx7dsabresd: Add support for MX7D SABRESD board 2015-09-13 10:11:54 +02:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile imx: imx7d: add imx-common cpu support for imx7d 2015-09-13 10:11:54 +02:00