]> git.baikalelectronics.ru Git - uboot.git/commit
x86: edison: Don't take SD card detect pin into consideration
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 27 Oct 2021 11:28:10 +0000 (14:28 +0300)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 1 Nov 2021 01:50:55 +0000 (09:50 +0800)
commit95e47f903f83355283467875fe477786ddcace85
treee069390cbe9908901adab42e439f44385174d610
parent9ba1476e34edc8c366889aae1b396b97de57c36c
x86: edison: Don't take SD card detect pin into consideration

There are two PCB designs in the wild which use the opposite
signaling for SD card detection. This makes U-Boot working
in one case and failing in the other. Quirk this out by
disconnecting SD card detection pin from the PCB by switching
it to mode 3. In the disconnected state the read value is always
the same and inverted to what we are expecting in the code.

BugLink: https://github.com/edison-fw/meta-intel-edison/issues/136
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/edison.dts