diff options
author | kientzle <kientzle@FreeBSD.org> | 2012-05-06 16:32:28 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2012-05-06 16:32:28 +0000 |
commit | cc15a0305950bcd71471e019e0d0932ca1a1872e (patch) | |
tree | 5905692a538226b9eaad5771817438b861673957 /sys/boot/uboot | |
parent | 28b765c84794c6f87d8bff5ffad31d2b0001769c (diff) | |
download | FreeBSD-src-cc15a0305950bcd71471e019e0d0932ca1a1872e.zip FreeBSD-src-cc15a0305950bcd71471e019e0d0932ca1a1872e.tar.gz |
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.
Diffstat (limited to 'sys/boot/uboot')
-rw-r--r-- | sys/boot/uboot/common/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
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 */ |