Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2018 20:31:32 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475124 - in head/sysutils/u-boot-rpi2: . files
Message-ID:  <201807222031.w6MKVWQl066790@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sun Jul 22 20:31:31 2018
New Revision: 475124
URL: https://svnweb.freebsd.org/changeset/ports/475124

Log:
  Add and use patchfiles that are in accordance with accepted Ports
  Collection usage.

Added:
  head/sysutils/u-boot-rpi2/files/patch-include_configs_rpi.h   (contents, props changed)
Modified:
  head/sysutils/u-boot-rpi2/Makefile

Modified: head/sysutils/u-boot-rpi2/Makefile
==============================================================================
--- head/sysutils/u-boot-rpi2/Makefile	Sun Jul 22 20:25:38 2018	(r475123)
+++ head/sysutils/u-boot-rpi2/Makefile	Sun Jul 22 20:31:31 2018	(r475124)
@@ -1,6 +1,5 @@
 # $FreeBSD$
 
-MAINTAINER=	manu@FreeBSD.org
 MASTERDIR=	${.CURDIR}/../u-boot-master
 
 MODEL=		rpi2
@@ -9,10 +8,7 @@ FAMILY=		rpi
 
 DEPENDS=	${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware
 
-PATCHFILES+=	937869/mbox/?	\
-		939129/mbox/?
-
-CONFIG_FRAGMENT=	${.CURDIR}/files/rpi2_fragment
-FRAGMENT_NAME=	rpi2_fragment
+FRAGMENT_NAME=		rpi2_fragment
+CONFIG_FRAGMENT=	${.CURDIR}/files/${FRAGMENT_NAME}
 
 .include "${MASTERDIR}/Makefile"

Added: head/sysutils/u-boot-rpi2/files/patch-include_configs_rpi.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-rpi2/files/patch-include_configs_rpi.h	Sun Jul 22 20:31:31 2018	(r475124)
@@ -0,0 +1,19 @@
+--- include/configs/rpi.h.orig	2018-07-09 14:24:14 UTC
++++ include/configs/rpi.h
+@@ -69,6 +69,8 @@
+ #define CONFIG_MISC_INIT_R
+ #endif
+ 
++#define CONFIG_SYS_MMC_MAX_DEVICE	2
++
+ /* Console configuration */
+ #define CONFIG_SYS_CBSIZE		1024
+ 
+@@ -150,6 +152,7 @@
+ 
+ #define BOOT_TARGET_DEVICES(func) \
+ 	func(MMC, mmc, 0) \
++	func(MMC, mmc, 1) \
+ 	func(USB, usb, 0) \
+ 	func(PXE, pxe, na) \
+ 	func(DHCP, dhcp, na)



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