summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-07-12 08:15:17 -0400
committerTom Rini <trini@konsulko.com>2016-07-12 08:15:17 -0400
commitb8e599746cac1833328bc3a8e37eeefe346baf90 (patch)
treeec49cc9ac3c8638fe11774e945cf0bcc4e87c1f4 /arch/x86/cpu/ivybridge
parentbff97dde8c8cf6fd5f04bb26fca83f61eadc1741 (diff)
parent9532fe3b40ddf66ef976dee3d5cf1d8b3396bf4d (diff)
Merge branch 'master' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/x86/cpu/ivybridge')
-rw-r--r--arch/x86/cpu/ivybridge/sdram.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/sdram.c b/arch/x86/cpu/ivybridge/sdram.c
index 9d9f63d70c..e0b06b5ada 100644
--- a/arch/x86/cpu/ivybridge/sdram.c
+++ b/arch/x86/cpu/ivybridge/sdram.c
@@ -458,6 +458,11 @@ int dram_init(void)
struct udevice *dev, *me_dev;
int ret;
+ /* We need the pinctrl set up early */
+ ret = syscon_get_by_driver_data(X86_SYSCON_PINCONF, &dev);
+ if (ret)
+ return ret;
+
ret = uclass_first_device_err(UCLASS_NORTHBRIDGE, &dev);
if (ret)
return ret;