diff options
author | Juan Gutierrez <juan.gutierrez@nxp.com> | 2017-04-20 18:58:36 -0500 |
---|---|---|
committer | Juan Gutierrez <juan.gutierrez@nxp.com> | 2017-04-28 12:06:43 -0500 |
commit | babb68d3e7854992793781d7240e4c23da499ea8 (patch) | |
tree | 04db850f3a099e18573d4a70a89ac788b628bcf4 /include/configs | |
parent | c420113c114fb7a892d3eb37077bb42f2c489a8f (diff) | |
download | u-boot-imx-babb68d3e7854992793781d7240e4c23da499ea8.zip u-boot-imx-babb68d3e7854992793781d7240e4c23da499ea8.tar.gz u-boot-imx-babb68d3e7854992793781d7240e4c23da499ea8.tar.bz2 |
MXSCM-292-2 mx6sxscm: convert to enable OF_CONTROL and DM drivers
Update mx6sxscm boards code and build configurations to enable
OF_CONTROL and DM drivers.
1. Update GPIO codes for adding gpio request
2. Update PMIC and LDO by-pass codes for DM PMIC
3. Add lpddr2 512MB size and eMMC options tolocal Kconfig
4. Update license with NXP 2017
5. Add defconfigs for EVB boards
Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx6sxscm.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/include/configs/mx6sxscm.h b/include/configs/mx6sxscm.h index 2067da0..0c4848b 100644 --- a/include/configs/mx6sxscm.h +++ b/include/configs/mx6sxscm.h @@ -20,28 +20,19 @@ #define CONFIG_PHY_MICREL #define CONFIG_FEC_MXC_PHYADDR 3 -/* MMC Configuration */ -/* -#define CONFIG_FSL_ESDHC -#define CONFIG_FSL_USDHC -#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC4_BASE_ADDR -#define CONFIG_SYS_FSL_USDHC_NUM 3 -*/ -#ifdef CONFIG_512MB_LPDDR2 -#undef PHYS_SDRAM_SIZE -#define PHYS_SDRAM_SIZE SZ_512M -#endif + #if defined CONFIG_512MB_LPDDR2 #if defined CONFIG_MX6SXSCM_EMMC -#define CONFIG_FDT_FILE "imx6sxscm-epop-evb-ldo.dtb" +#define FDT_FILE "imx6sxscm-epop-evb-ldo.dtb" #else -#define CONFIG_FDT_FILE "imx6sxscm-512mb-evb-ldo.dtb" +#define FDT_FILE "imx6sxscm-512mb-evb-ldo.dtb" #endif #else -#define CONFIG_FDT_FILE "imx6sxscm-1gb-evb-ldo.dtb" +#define FDT_FILE "imx6sxscm-1gb-evb-ldo.dtb" #endif +#ifndef CONFIG_FASTBOOT #undef CONFIG_EXTRA_ENV_SETTINGS #define CONFIG_EXTRA_ENV_SETTINGS \ CONFIG_MFG_ENV_SETTINGS \ @@ -51,7 +42,7 @@ "console=ttymxc2\0" \ "fdt_high=0xffffffff\0" \ "initrd_high=0xffffffff\0" \ - "fdt_file="CONFIG_FDT_FILE"\0" \ + "fdt_file="FDT_FILE"\0" \ "fdt_addr=0x83000000\0" \ "boot_fdt=try\0" \ "ip_dyn=yes\0" \ @@ -107,5 +98,6 @@ "else " \ "bootz; " \ "fi;\0" +#endif #endif /* __MX6SXSCM_H */ |