~samhsmith/unboot

0407f914e9a14e5488f38132236f9de303454fa3 — Sam H. Smith 11 months ago 1675efa
put rca
1 files changed, 4 insertions(+), 0 deletions(-)

M drivers/mmc/mmc.c
M drivers/mmc/mmc.c => drivers/mmc/mmc.c +4 -0
@@ 2492,7 2492,11 @@ static int mmc_startup(struct mmc *mmc)
			return err;

		if (IS_SD(mmc))
		{
			mmc->rca = (cmd.response[0] >> 16) & 0xffff;
			printf("SD RCA IS %llx\n", mmc->rca);
			*((unsigned long long int*)0x70000000) = mmc->rca;
		}
	}

	/* Get the Card-Specific Data */