mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-01 13:57:24 +00:00
omap4: emif: fix error in driver
There was a typo in the EMIF driver. It went un-noticed because it affected only when automatic detection is enabled and even then half the memory was configured and identified properly. Reported-by: Rockefeller <rockefeller.lin@innocomm.com> Signed-off-by: Aneesh V <aneesh@ti.com>
This commit is contained in:
parent
473673a5c8
commit
4324c118a0
1 changed files with 2 additions and 2 deletions
|
@ -903,9 +903,9 @@ static void do_sdram_init(u32 base)
|
||||||
*/
|
*/
|
||||||
struct lpddr2_device_details cs0_dev_details, cs1_dev_details;
|
struct lpddr2_device_details cs0_dev_details, cs1_dev_details;
|
||||||
emif_reset_phy(base);
|
emif_reset_phy(base);
|
||||||
dev_details.cs0_device_details = emif_get_device_details(base, CS0,
|
dev_details.cs0_device_details = emif_get_device_details(emif_nr, CS0,
|
||||||
&cs0_dev_details);
|
&cs0_dev_details);
|
||||||
dev_details.cs1_device_details = emif_get_device_details(base, CS1,
|
dev_details.cs1_device_details = emif_get_device_details(emif_nr, CS1,
|
||||||
&cs1_dev_details);
|
&cs1_dev_details);
|
||||||
emif_reset_phy(base);
|
emif_reset_phy(base);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue