diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-15 06:28:25 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 19:08:19 +0300 |
commit | 10e40d54b38b9b1916c35fc5c4ed2eff4b4bf117 (patch) | |
tree | 9419ee914045bb5b7e971b5dedc2acf680437222 /board/toradex | |
parent | 3bf926c0dd01e7beb3a6815b2e0f28e989fe4120 (diff) | |
download | u-boot-10e40d54b38b9b1916c35fc5c4ed2eff4b4bf117.tar.xz |
Kconfig: Add CONFIG_SATA to enable SATA
At present CONFIG_CMD_SATA enables the 'sata' command which also brings
in SATA support. Some boards may wish to enable SATA without the command.
Add a separate CONFIG to permit this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'board/toradex')
-rw-r--r-- | board/toradex/apalis_imx6/apalis_imx6.c | 2 | ||||
-rw-r--r-- | board/toradex/colibri_imx6/colibri_imx6.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index 7c49ddfc4b..166b93f0c5 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -784,7 +784,7 @@ int board_init(void) (void) pmic_init(); #endif -#ifdef CONFIG_CMD_SATA +#ifdef CONFIG_SATA setup_sata(); #endif diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index 69467ca895..87e24471ce 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -657,7 +657,7 @@ int board_init(void) (void) pmic_init(); #endif -#ifdef CONFIG_CMD_SATA +#ifdef CONFIG_SATA setup_sata(); #endif |