armv8: ls1012ardb: support hwconfig for eSDHC1 enabling
authorYangbo Lu <yangbo.lu@nxp.com>
Fri, 8 Dec 2017 07:35:37 +0000 (15:35 +0800)
committerYork Sun <york.sun@nxp.com>
Thu, 14 Dec 2017 21:08:47 +0000 (13:08 -0800)
commit6aaa539f47fc9305de5af64c02b076136852cc3b
tree1dcdd189cf7abcbd2a8974d45b8ed93fb52a7978
parent4a47bf8a2ba61e21b022b81e2234fdb47570ad22
armv8: ls1012ardb: support hwconfig for eSDHC1 enabling

I2C reading for DIP switch setting is not reliable for LS1012ARDB
RevD and later versions. This patch is to add hwconfig support to
enable/disable eSDHC1 manually for these boards. Also drop 'status'
fix-up for eSDHC0 and leave it as it is. It shouldn't always be
fixed up with 'okay'.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls1012ardb/ls1012ardb.c