From cc15a0305950bcd71471e019e0d0932ca1a1872e Mon Sep 17 00:00:00 2001 From: kientzle Date: Sun, 6 May 2012 16:32:28 +0000 Subject: Ooops. Back out changes to main.c from r235094. This change is specific to BeagleBone; I need to figure out how to generalize this before committing. --- sys/boot/uboot/common/main.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'sys/boot/uboot/common') diff --git a/sys/boot/uboot/common/main.c b/sys/boot/uboot/common/main.c index 9d7e9dc..7e961fd 100644 --- a/sys/boot/uboot/common/main.c +++ b/sys/boot/uboot/common/main.c @@ -116,16 +116,6 @@ meminfo(void) } } -static uint64_t -uboot_loadaddr(u_int type, void *data, uint64_t addr) -{ - printf("uboot_loadaddr: type=%d data=0x%x addr=0x%x\n", - type, data, addr); - if (type == 1) - return 0x40000000; - return (addr); -} - int main(void) { @@ -221,7 +211,6 @@ main(void) archsw.arch_copyout = uboot_copyout; archsw.arch_readin = uboot_readin; archsw.arch_autoload = uboot_autoload; - archsw.arch_loadaddr = uboot_loadaddr; interact(); /* doesn't return */ -- cgit v1.1