summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-21 19:43:50 -0700
committerSimon Glass <sjg@chromium.org>2016-01-21 20:42:35 -0700
commit69a050483e00944e9249eb2ca3394d250df0adc4 (patch)
tree3d65d8d4e4005642557d416426f7ec2d3886069b
parent7991809c98bd53a0eda0930f71786b1884b88042 (diff)
rockchip: jerry: Drop unused options
To reduce the SPL image size, drop the LED features. Jerry does not have an LED and we can leave out GPIO support also. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--configs/chromebook_jerry_defconfig5
-rw-r--r--include/configs/chromebook_jerry.h2
2 files changed, 2 insertions, 5 deletions
diff --git a/configs/chromebook_jerry_defconfig b/configs/chromebook_jerry_defconfig
index 99f6161a0f..ceec6f544b 100644
--- a/configs/chromebook_jerry_defconfig
+++ b/configs/chromebook_jerry_defconfig
@@ -22,9 +22,6 @@ CONFIG_CLK=y
CONFIG_SPL_CLK=y
CONFIG_ROCKCHIP_GPIO=y
CONFIG_SYS_I2C_ROCKCHIP=y
-CONFIG_LED=y
-CONFIG_SPL_LED=y
-CONFIG_LED_GPIO=y
CONFIG_PWRSEQ=y
CONFIG_RESET=y
CONFIG_DM_MMC=y
@@ -34,10 +31,8 @@ CONFIG_SPL_PINCTRL=y
# CONFIG_SPL_PINCTRL_FULL is not set
CONFIG_ROCKCHIP_PINCTRL=y
CONFIG_DM_PMIC=y
-CONFIG_PMIC_ACT8846=y
CONFIG_PMIC_RK808=y
CONFIG_DM_REGULATOR=y
-CONFIG_REGULATOR_ACT8846=y
CONFIG_REGULATOR_RK808=y
CONFIG_RAM=y
CONFIG_SPL_RAM=y
diff --git a/include/configs/chromebook_jerry.h b/include/configs/chromebook_jerry.h
index e29d77695b..78c06afd16 100644
--- a/include/configs/chromebook_jerry.h
+++ b/include/configs/chromebook_jerry.h
@@ -15,4 +15,6 @@
#define CONFIG_SPL_SPI_LOAD
#define CONFIG_SPI_FLASH_GIGADEVICE
+#undef CONFIG_SPL_GPIO_SUPPORT
+
#endif