summaryrefslogtreecommitdiffstats
path: root/include/configs/tegra-common.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-04-18 10:56:11 -0600
committerTom Warren <twarren@nvidia.com>2014-05-13 10:41:31 -0700
commitf175603f7c4fe614c913476bfec78a36ae8be7a3 (patch)
tree297ef17e72e08df2ee4692ef7ee5721606929496 /include/configs/tegra-common.h
parentd2a3e911390f9fc4d8c0ee4b3c7fc75f4fd3fd19 (diff)
downloadtalos-obmc-uboot-f175603f7c4fe614c913476bfec78a36ae8be7a3.tar.gz
talos-obmc-uboot-f175603f7c4fe614c913476bfec78a36ae8be7a3.zip
ARM: tegra: set CONFIG_SYS_MMC_MAX_DEVICE
If CONFIG_API is ever to be enabled on Tegra, this define must be set, since api/api_storage.c uses it. A couple of annoyting things about CONFIG_SYS_MMC_MAX_DEVICE 1) It isn't documented in README. The same is true for a lot of similar defines used by api_storage.c. 2) It doesn't represent MAX_DEVICE but rather NUM_DEVICES, since the valid values are 0..n-1 not 0..n. However, I this patch does not address those shortcomings. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/tegra-common.h')
-rw-r--r--include/configs/tegra-common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index ae786cfd7a..129acf2cbf 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -48,6 +48,13 @@
#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK
/*
+ * Common HW configuration.
+ * If this varies between SoCs later, move to tegraNN-common.h
+ * Note: This is number of devices, not max device ID.
+ */
+#define CONFIG_SYS_MMC_MAX_DEVICE 4
+
+/*
* select serial console configuration
*/
#define CONFIG_CONS_INDEX 1
OpenPOWER on IntegriCloud