X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fsyteco%2Fjadecpu%2Fjadecpu.c;h=72288fe4e810627453528d6818ca32999f1696b8;hb=686e14488e04564c3760145a35d03c7ffecb0f58;hp=a7b6e70f497648291c8b3c5d18e2221a9acafeff;hpb=a91916ff8e938a7299512e5e510f2a73ad1b676f;p=u-boot diff --git a/board/syteco/jadecpu/jadecpu.c b/board/syteco/jadecpu/jadecpu.c index a7b6e70f49..72288fe4e8 100644 --- a/board/syteco/jadecpu/jadecpu.c +++ b/board/syteco/jadecpu/jadecpu.c @@ -40,7 +40,6 @@ int board_init(void) writel(0x00000010, &ccnt->cmux_md); gd->flags = 0; - gd->bd->bi_arch_number = MACH_TYPE_JADECPU; gd->bd->bi_boot_params = PHYS_SDRAM + PHYS_SDRAM_SIZE - 0x10000; icache_enable(); @@ -152,7 +151,7 @@ int misc_init_r(void) int dram_init(void) { /* dram_init must store complete ramsize in gd->ram_size */ - gd->ram_size = get_ram_size((volatile void *)PHYS_SDRAM, + gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE); return 0;