X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=board%2Fesd%2Fapc405%2Fapc405.c;h=e629fd94913ad7c213dc7a74be71fe4e331dea3d;hb=97b0734d65f8a0b03df0a335a2addc759da56107;hp=83657c8d5dfb8e7896c70beef1f5ae1cff09fec2;hpb=9973e3c614721bbf169882ffc3be266a6611cd60;p=karo-tx-uboot.git diff --git a/board/esd/apc405/apc405.c b/board/esd/apc405/apc405.c index 83657c8d5d..e629fd9491 100644 --- a/board/esd/apc405/apc405.c +++ b/board/esd/apc405/apc405.c @@ -423,16 +423,6 @@ int checkboard (void) return 0; } -phys_size_t initdram (int board_type) -{ - unsigned long val; - - mtdcr(memcfga, mem_mb0cf); - val = mfdcr(memcfgd); - - return (4*1024*1024 << ((val & 0x000e0000) >> 17)); -} - #ifdef CONFIG_IDE_RESET void ide_set_reset(int on) {