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.
This commit is contained in:
parent
5bf877dace
commit
50ddc3c4f7
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user