]> git.sur5r.net Git - u-boot/commit
x86: queensbay: Move unprotect_spi_flash() to arch_misc_init()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 20 Aug 2015 13:40:21 +0000 (06:40 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Aug 2015 14:54:12 +0000 (07:54 -0700)
commit090290f97b90eff1fe190d89ef0d976729cda13e
tree96d6749448a2119f9fe67f20002cd9b8e53f2a22
parent48aa6c261492235c1e48c17a6604b71e032485e8
x86: queensbay: Move unprotect_spi_flash() to arch_misc_init()

With dm pci conversion, pci config read/write in unprotect_spi_flash()
silently fails as at that time dm pci is not ready and bus enumeration
is not done yet. Actually we don't need to do this in that early phase,
hence we delay this call to arch_misc_init().

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