summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2015-09-03 11:12:20 +0200
committerTom Rini <trini@konsulko.com>2015-09-13 08:01:11 -0400
commit4c669e2d3b0d65aeb5593c04b719284a41013c87 (patch)
treea975bc1610e0f8668fd3d5b06f0fb8b1fe43a17e /include/configs
parent278bd4e7d71e4e54677b36106615c02b87b69bd6 (diff)
downloadu-boot-imx-4c669e2d3b0d65aeb5593c04b719284a41013c87.zip
u-boot-imx-4c669e2d3b0d65aeb5593c04b719284a41013c87.tar.gz
u-boot-imx-4c669e2d3b0d65aeb5593c04b719284a41013c87.tar.bz2
ARM: Kirkwood: fix IDE configuration on LaCie boards
On the LaCie boards netspace_max_v2 and net2big_v2, two internal hard drives are available. Additionally on the d2net_v2 board, an extra hard drive can be plugged via eSATA. This patch updates CONFIG_SYS_IDE_MAXBUS and CONFIG_SYS_IDE_MAXDEVICE accordingly for this boards. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/lacie_kw.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h
index 7f63ae0..7f878b7 100644
--- a/include/configs/lacie_kw.h
+++ b/include/configs/lacie_kw.h
@@ -101,8 +101,6 @@
#undef CONFIG_SYS_IDE_MAXDEVICE
#undef CONFIG_SYS_PROMPT
#define CONFIG_ENV_SPI_MAX_HZ 20000000 /* 20Mhz */
-#define CONFIG_SYS_IDE_MAXBUS 1
-#define CONFIG_SYS_IDE_MAXDEVICE 1
#if defined(CONFIG_D2NET_V2)
#define CONFIG_SYS_PROMPT "d2v2> "
#elif defined(CONFIG_NET2BIG_V2)
@@ -132,6 +130,11 @@
#if defined(CONFIG_NETSPACE_MAX_V2) || defined(CONFIG_D2NET_V2) || \
defined(CONFIG_NET2BIG_V2)
#define CONFIG_SYS_ATA_IDE1_OFFSET MV_SATA_PORT1_OFFSET
+#define CONFIG_SYS_IDE_MAXBUS 2
+#define CONFIG_SYS_IDE_MAXDEVICE 2
+#else
+#define CONFIG_SYS_IDE_MAXBUS 1
+#define CONFIG_SYS_IDE_MAXDEVICE 1
#endif
#endif /* CONFIG_MVSATA_IDE */