summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-am33xx/ddr_defs.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-07-03 08:51:34 -0700
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:12 +0200
commitfda35eb982a6846c776bd94ba4b24bf43cbfe328 (patch)
tree654b377d8e836030fcecf20889dbb4c74315e356 /arch/arm/include/asm/arch-am33xx/ddr_defs.h
parentbce58fece5bcf3f18edbb85da651014a07203c72 (diff)
downloadtalos-obmc-uboot-fda35eb982a6846c776bd94ba4b24bf43cbfe328.tar.gz
talos-obmc-uboot-fda35eb982a6846c776bd94ba4b24bf43cbfe328.zip
am33xx: Pass to config_ddr the type of memory that is connected
We need to pass in the type of memory that is connected to the board. The only reliable way to do this is to know what type of board we are running on (which later will be knowable in s_init()). For now, pass in the value of DDR2. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-am33xx/ddr_defs.h')
-rw-r--r--arch/arm/include/asm/arch-am33xx/ddr_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/ddr_defs.h b/arch/arm/include/asm/arch-am33xx/ddr_defs.h
index 087082f3ef..842e45f559 100644
--- a/arch/arm/include/asm/arch-am33xx/ddr_defs.h
+++ b/arch/arm/include/asm/arch-am33xx/ddr_defs.h
@@ -232,6 +232,6 @@ struct ddr_ctrl {
unsigned int ddrckectrl;
};
-void config_ddr(void);
+void config_ddr(short ddr_type);
#endif /* _DDR_DEFS_H */
OpenPOWER on IntegriCloud