Commit 8cdf030f2c12d26ea555708175540916a3ac9090

Authored by Haibo Chen
1 parent df339c7bdb

MLK-12848: mx6ull_14x14_ddr3_arm2: add new TSC config

Due to TSC pin conflict with I2C1 bus, and PMIC is this I2C1 bus's
slave, this patch add new TSC config for i.mx6ull_14x14_ddr3_arm2
board, disable PMIC and ldo bypass check.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>

Showing 2 changed files with 21 additions and 0 deletions Side-by-side Diff

configs/mx6ull_14x14_ddr3_arm2_tsc_defconfig
  1 +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6ull_ddr3_arm2/imximage.cfg,MX6ULL_DDR3_ARM2_TSC_REWORK"
  2 +CONFIG_ARM=y
  3 +CONFIG_ARCH_MX6=y
  4 +CONFIG_TARGET_MX6ULL_DDR3_ARM2=y
  5 +CONFIG_CMD_GPIO=y
include/configs/mx6ull_ddr3_arm2.h
... ... @@ -36,6 +36,22 @@
36 36  
37 37 #define PHYS_SDRAM_SIZE SZ_1G
38 38  
  39 +/*
  40 + * TSC pins conflict with I2C1 bus, so after TSC
  41 + * hardware rework, need to disable i2c1 bus, also
  42 + * need to disable PMIC and ldo bypass check.
  43 + */
  44 +#ifdef CONFIG_MX6ULL_DDR3_ARM2_TSC_REWORK
  45 +#undef CONFIG_LDO_BYPASS_CHECK
  46 +#undef CONFIG_SYS_I2C_MXC
  47 +#undef CONFIG_SYS_I2C
  48 +#undef CONFIG_CMD_I2C
  49 +#undef CONFIG_POWER_PFUZE100_I2C_ADDR
  50 +#undef CONFIG_POWER_PFUZE100
  51 +#undef CONFIG_POWER_I2C
  52 +#undef CONFIG_POWER
  53 +#endif
  54 +
39 55 #ifdef CONFIG_SYS_USE_SPINOR
40 56 #define CONFIG_CMD_SF
41 57 #define CONFIG_SPI_FLASH