]> git.sur5r.net Git - u-boot/blobdiff - board/sunxi/board.c
sunxi: Add defconfig and dts for Dserve DSRV9703C tablet
[u-boot] / board / sunxi / board.c
index 15b7af634cb275b48bd308e0b52c433407624bac..80eae9cd48a635495089698924c9c0f5721b9bbf 100644 (file)
@@ -337,8 +337,8 @@ int board_mmc_init(bd_t *bis)
        if (!sunxi_mmc_has_egon_boot_signature(mmc0) &&
            sunxi_mmc_has_egon_boot_signature(mmc1)) {
                /* Booting from emmc / mmc2, swap */
-               mmc0->block_dev.dev = 1;
-               mmc1->block_dev.dev = 0;
+               mmc0->block_dev.devnum = 1;
+               mmc1->block_dev.devnum = 0;
        }
 #endif