mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-29 10:31:30 +00:00
imx: mx6: ddr add an entry ddr_type for mx6_ddr_sysinfo
Add ddr_type entry for mx6_ddr_sysinfo. It will be used for differenrate DDR3 and LPDDR2. Introduce an enum type for ddr_type. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
775d591f5d
commit
003fa83c43
1 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,11 @@
|
|||
#endif /* CONFIG_MX6Q */
|
||||
#else
|
||||
|
||||
enum {
|
||||
DDR_TYPE_DDR3,
|
||||
DDR_TYPE_LPDDR2,
|
||||
};
|
||||
|
||||
/* MMDC P0/P1 Registers */
|
||||
struct mmdc_p_regs {
|
||||
u32 mdctl;
|
||||
|
@ -387,6 +392,7 @@ struct mx6_ddr_sysinfo {
|
|||
u8 rst_to_cke; /* Time from SDE enable to CKE rise */
|
||||
u8 sde_to_rst; /* Time from SDE enable until DDR reset# is high */
|
||||
u8 pd_fast_exit;/* enable precharge powerdown fast-exit */
|
||||
u8 ddr_type; /* DDR type: DDR3(0) or LPDDR2(1) */
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue