~samhsmith/unboot

1675efa4f5d66ac0986270690fc2f0c7608a48dc — Sam H. Smith 1 year, 26 days ago 9544347
move to 1M location
1 files changed, 2 insertions(+), 4 deletions(-)

M common/main.c
M common/main.c => common/main.c +2 -4
@@ 49,11 49,9 @@ void main_loop(void)
    print_mmcinfo(mmc);
    
    u8* addr = 0x50000000;
    u32 cnt = 256;
    printf("temp reading 8 blocks.\n");
	blk_dread(mmc_get_blk_desc(mmc), 0, 8, addr);
    u32 cnt = 2048;
    printf("Read blocks...\n");
	u32 n = blk_dread(mmc_get_blk_desc(mmc), 0, cnt, addr);
	u32 n = blk_dread(mmc_get_blk_desc(mmc), 2048, cnt, addr);
	printf("%d blocks read: %s\n", n, (n == cnt) ? "OK" : "ERROR");
	
	void (*bar)() = addr;