Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2010 15:21:37 +0000 (UTC)
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204315 - head/sys/boot/powerpc/uboot
Message-ID:  <201002251521.o1PFLb6K050086@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: raj
Date: Thu Feb 25 15:21:37 2010
New Revision: 204315
URL: http://svn.freebsd.org/changeset/base/204315

Log:
  Enable U-Boot storage for PowerPC. While there fix loader(8) help file name.
  
  MFC after:	1 week

Modified:
  head/sys/boot/powerpc/uboot/Makefile
  head/sys/boot/powerpc/uboot/conf.c

Modified: head/sys/boot/powerpc/uboot/Makefile
==============================================================================
--- head/sys/boot/powerpc/uboot/Makefile	Thu Feb 25 15:03:57 2010	(r204314)
+++ head/sys/boot/powerpc/uboot/Makefile	Thu Feb 25 15:21:37 2010	(r204315)
@@ -9,8 +9,8 @@ NO_MAN=
 # Architecture-specific loader code
 SRCS=		start.S conf.c vers.c
 
-LOADER_DISK_SUPPORT?=	no
-LOADER_UFS_SUPPORT?=	no
+LOADER_DISK_SUPPORT?=	yes
+LOADER_UFS_SUPPORT?=	yes
 LOADER_CD9660_SUPPORT?=	no
 LOADER_EXT2FS_SUPPORT?=	no
 LOADER_NET_SUPPORT?=	yes
@@ -85,11 +85,11 @@ LDADD=		${LIBFICL} ${LIBUBOOT} -lstand
 vers.c:	${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
 	sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
 
-${PROG}.help: help.common help.uboot
+loader.help: help.common help.uboot
 	cat ${.ALLSRC} | \
 	    awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
 
 .PATH: ${.CURDIR}/../../forth
-FILES=	${PROG}.help
+FILES=	loader.help
 
 .include <bsd.prog.mk>

Modified: head/sys/boot/powerpc/uboot/conf.c
==============================================================================
--- head/sys/boot/powerpc/uboot/conf.c	Thu Feb 25 15:03:57 2010	(r204314)
+++ head/sys/boot/powerpc/uboot/conf.c	Thu Feb 25 15:21:37 2010	(r204315)
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
 /* Exported for libstand */
 struct devsw *devsw[] = {
 #if defined(LOADER_DISK_SUPPORT) || defined(LOADER_CD9660_SUPPORT)
-    &uboot_disk,
+    &uboot_storage,
 #endif
 #if defined(LOADER_NET_SUPPORT)
     &netdev,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002251521.o1PFLb6K050086>