u-boot-brain/board/freescale
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
..
b4860qds B4860QDS: Enable enet port as per fsl_b4860_serdes2 string in hwconfig 2014-12-05 08:06:14 -08:00
bsc9131rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
bsc9132qds driver/ifc: Add 64KB page support 2015-04-23 16:46:50 -07:00
c29xpcie driver/ifc: Add 64KB page support 2015-04-23 16:46:50 -07:00
common fsl: common: pfuze: no use original pfuze code if DM_PMIC 2015-08-12 11:05:11 +02:00
corenet_ds powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P5020 and P5040 2015-07-31 08:50:18 -07:00
ls1021aqds arm/ls102xa:add hwconfig setting to support disable unused devices 2015-09-01 21:49:20 -05:00
ls1021atwr arm/ls102xa:add hwconfig setting to support disable unused devices 2015-09-01 21:49:20 -05:00
ls2085a armv8/ls2085a_emu: Drop DDR3 emulation target 2015-09-01 21:39:21 -05:00
ls2085aqds armv8: ls2085qds: Add support of X-QSGMII-16PORT riser card 2015-09-01 21:38:46 -05:00
ls2085ardb armv8/ls2085ardb: DSPI pin muxing configure through QIXIS CPLD 2015-07-20 11:44:39 -07:00
m547xevb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m548xevb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5208evbe m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5235evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5249evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5253demo m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5253evbe m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5272c3 m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5275evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5282evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5329evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m5373evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m52277evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m53017evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m54418twr m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m54451evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
m54455evb m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
mpc832xemds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc837xemds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc837xerdb mpc837xerdb: "fix Calling __hwconfig without a buffer" warning 2015-03-02 15:11:36 -05:00
mpc5121ads fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8308rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8313erdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8315erdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8323erdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8349emds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8349itx fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8536ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8540ads fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8541cds MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8544ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8548cds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8555cds MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8560ads fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8568mds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8569mds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8572ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8610hpcd fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8641hpcn fdt: Try to use fdt_address_cells()/fdt_size_cells() 2014-11-21 04:43:18 +01:00
mx6qarm2 imx:mx6qarm2 add board level support for usb 2014-12-19 15:32:13 +01:00
mx6qsabreauto imx: clock support enet2 anatop clock support 2015-09-02 15:29:14 +02:00
mx6sabresd imx: mx6: ddr init MMDC according to ddr_type 2015-09-02 15:34:12 +02:00
mx6slevk imx: mx6slevk: add SPL support 2015-09-02 15:34:13 +02:00
mx6sxsabresd imx: mx6: ddr init MMDC according to ddr_type 2015-09-02 15:34:12 +02:00
mx6ul_14x14_evk imx: mx6ul: support mx6ul 9x9 evk board 2015-09-13 10:32:44 +02:00
mx7dsabresd imx: mx7dsabresd: Add support for MX7D SABRESD board 2015-09-13 10:11:54 +02:00
mx23evk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx25pdk mx25pdk: Turn on the LCD supply 2015-03-02 09:57:05 +01:00
mx28evk mx28evk: README: Revision C is also supported 2014-11-12 09:05:57 +01:00
mx31ads kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx31pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx35pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx51evk mx51evk: Fix MX51EVK_USB_CLK_EN_B definition 2014-12-19 15:32:14 +01:00
mx53ard mx53ard: Fix error handling in board_mmc_init() 2014-11-21 16:47:55 +01:00
mx53evk mx53evk: Fix error handling in board_mmc_init() 2014-11-21 16:47:55 +01:00
mx53loco mx53loco: Disable printing cpuinfo 2015-04-08 10:45:50 +02:00
mx53smd mx53smd: Fix error handling in board_mmc_init() 2014-11-21 16:47:55 +01:00
p1_p2_rdb_pc powerpc/p2020rdb: fix the FDT_ERR_NOTFOUND issue 2015-07-28 14:41:15 -07:00
p1_twr fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1010rdb driver/ifc: Add 64KB page support 2015-04-23 16:46:50 -07:00
p1022ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1023rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p2041rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
qemu-ppce500 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t4qds powerpc/t4240qds: Update RCW, defconfig and maintainer 2015-05-04 09:26:01 -07:00
t4rdb powerpc/t4rdb: fix cpld reset altbank 2015-07-28 14:41:15 -07:00
t102xqds powerpc/defconfig: Rename defconfig file for T1040QDS/T1024QDS DDR4 targets 2015-09-01 20:42:54 -05:00
t102xrdb powerpc/t1023rdb: change default core frequency to 1200MHz 2015-09-01 20:58:58 -05:00
t104xrdb powerpc/T104xRDB: Remove vbank check redundant code 2015-07-31 08:56:11 -07:00
t208xqds powerpc/t2080: updating rcw for silicon v1.1 2014-12-05 08:06:14 -08:00
t208xrdb t2080rdb/rcw: update ddr frequency from 1600MT/s to 1867MT/s 2015-05-04 09:25:53 -07:00
t1040qds powerpc/defconfig: Rename defconfig file for T1040QDS/T1024QDS DDR4 targets 2015-09-01 20:42:54 -05:00
vf610twr ARM: vf610: Enable external 32KHz oscillator 2015-04-23 14:56:08 -04:00