Files
u-boot-tk1-som/include
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
..
2015-09-11 17:15:32 -04:00
2015-09-11 17:15:32 -04:00
2014-07-30 08:48:03 -04:00
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2015-07-21 17:39:29 -06:00
2015-07-27 15:53:48 -07:00
2015-08-05 21:06:16 -06:00
2014-06-21 10:06:58 -06:00
2015-04-10 14:23:23 +02:00
2015-08-05 08:42:41 -06:00
2015-08-05 08:44:07 -06:00
2015-09-04 11:54:20 +02:00
2015-05-28 08:18:24 -04:00
2014-12-05 08:06:15 -08:00
2015-01-21 10:25:02 +01:00
2015-08-25 22:53:57 -05:00
2015-07-22 08:57:54 +02:00
2014-11-19 08:48:42 +01:00
2014-12-11 13:18:43 -07:00
2013-09-24 09:10:33 -04:00
2014-10-25 15:27:37 -04:00
2014-05-28 10:58:19 +09:00
2014-06-20 11:54:29 -06:00
2015-04-23 09:05:53 -06:00
2015-09-02 15:26:12 +02:00
2013-09-20 10:30:54 -04:00
2015-07-21 17:39:25 -06:00
2014-05-30 14:03:24 -04:00
2013-11-09 17:21:01 +01:00
2015-01-06 10:10:04 +02:00
2015-09-09 07:48:03 -06:00
2015-06-04 03:34:47 -06:00
2015-08-05 08:42:41 -06:00
2015-01-05 12:08:55 -05:00
2015-04-20 17:57:13 -05:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:28 -06:00
2014-11-24 12:00:00 +01:00
2015-07-01 21:15:03 +05:30
2015-03-05 20:50:29 -05:00
2015-07-26 12:11:33 +02:00
2013-12-04 08:11:28 -05:00
2015-01-21 10:25:53 +01:00