]> git.sur5r.net Git - u-boot/commit
nitrogen6x: simplify board_mmc_getcd
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 2 Oct 2014 19:16:23 +0000 (12:16 -0700)
committerStefano Babic <sbabic@denx.de>
Mon, 6 Oct 2014 15:57:20 +0000 (17:57 +0200)
commit213e9e334822ba6a08d8d222d392dc30db8aa381
treeb466d2ebd28311322d44a92acbeaf18afc5e415b
parentc9c86bde3d8d24a9eee06f64eaa2e14206c76d77
nitrogen6x: simplify board_mmc_getcd

The same logic applies to both SD card slots, only with different
GPIOs and the code should make that easier to see.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
board/boundary/nitrogen6x/nitrogen6x.c