x86: link: Correct a failure in DRAM init
authorSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 15:30:55 +0000 (09:30 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 12 Jul 2016 05:59:45 +0000 (13:59 +0800)
commit9532fe3b40ddf66ef976dee3d5cf1d8b3396bf4d
treec37ea0db6b611927f8083ba2a7f6f72ec2e2dbbf
parent215099a522dae18d4682964c6b850d12c45c98a0
x86: link: Correct a failure in DRAM init

With the change to set up pinctrl after relocation, link fails to boot. Add
a special case in the link code to handle this.

Fixes: d8906c1f (x86: Probe pinctrl driver in cpu_init_r())

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/sdram.c