svn commit: r235095 - head/sys/boot/uboot/common

Tim Kientzle kientzle at FreeBSD.org
Sun May 6 16:32:29 UTC 2012


Author: kientzle
Date: Sun May  6 16:32:28 2012
New Revision: 235095
URL: http://svn.freebsd.org/changeset/base/235095

Log:
  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.

Modified:
  head/sys/boot/uboot/common/main.c

Modified: head/sys/boot/uboot/common/main.c
==============================================================================
--- head/sys/boot/uboot/common/main.c	Sun May  6 16:01:58 2012	(r235094)
+++ head/sys/boot/uboot/common/main.c	Sun May  6 16:32:28 2012	(r235095)
@@ -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 */
 


More information about the svn-src-head mailing list