changeset 387:baee591c0ae5

Move board related defines to boards/
author Aleksandr Rybalko <ray@ddteam.net>
date Tue, 17 Apr 2012 17:43:11 +0300
parents 35629c96d59c
children a95f08196f9a
files boards/Ubiquiti/RS/board.hints boards/Ubiquiti/RS/board.mk boards/Ubiquiti/RSPRO/board.hints boards/Ubiquiti/RSPRO/board.mk
diffstat 4 files changed, 4 insertions(+), 42 deletions(-) [+]
line wrap: on
line diff
--- a/boards/Ubiquiti/RS/board.hints	Tue Apr 17 17:41:25 2012 +0300
+++ b/boards/Ubiquiti/RS/board.hints	Tue Apr 17 17:43:11 2012 +0300
@@ -1,29 +1,8 @@
-
-# ohci
-hint.ohci.0.at="apb0"
-hint.ohci.0.maddr=0x1c000000
-hint.ohci.0.msize=0x01000000
-hint.ohci.0.irq=6
-
-# ehci
-hint.ehci.0.at="nexus0"
-hint.ehci.0.maddr=0x1b000000
-hint.ehci.0.msize=0x01000000
-hint.ehci.0.irq=1
-
 # arge0
-hint.arge.0.at="nexus0"
-hint.arge.0.maddr=0x19000000
-hint.arge.0.msize=0x1000
-hint.arge.0.irq=2
 # PHY20 = 1 << 20
 hint.arge.0.phymask=0xffffffff
 
 # arge1
-hint.arge.1.at="nexus0"
-hint.arge.1.maddr=0x1a000000
-hint.arge.1.msize=0x1000
-hint.arge.1.irq=3
 # PHY1, PHY2, PHY3 
 hint.arge.1.phymask=0xffffffff
 hint.arge.1.media=100
--- a/boards/Ubiquiti/RS/board.mk	Tue Apr 17 17:41:25 2012 +0300
+++ b/boards/Ubiquiti/RS/board.mk	Tue Apr 17 17:43:11 2012 +0300
@@ -23,6 +23,8 @@
 KERNCONF_KERNLOADADDR?=0x80050000
 # Define empty LDSCRIPT_NAME, FreeBSD kernel make process will use his default
 KERNCONF_KERN_LDSCRIPT_NAME=
+KERNCONF_OPTIONS+=	ROOTDEVNAME=\\\"cd9660:/dev/redboot/rootfs.uncompress\\\"
+KERNCONF_DEVICES+=	geom_redboot
 
 # Include usb and SoC usb controller drivers
 WITH_USB=yes
--- a/boards/Ubiquiti/RSPRO/board.hints	Tue Apr 17 17:41:25 2012 +0300
+++ b/boards/Ubiquiti/RSPRO/board.hints	Tue Apr 17 17:43:11 2012 +0300
@@ -1,29 +1,8 @@
-
-# ohci
-hint.ohci.0.at="apb0"
-hint.ohci.0.maddr=0x1c000000
-hint.ohci.0.msize=0x01000000
-hint.ohci.0.irq=6
-
-# ehci
-hint.ehci.0.at="nexus0"
-hint.ehci.0.maddr=0x1b000000
-hint.ehci.0.msize=0x01000000
-hint.ehci.0.irq=1
-
 # arge0
-hint.arge.0.at="nexus0"
-hint.arge.0.maddr=0x19000000
-hint.arge.0.msize=0x1000
-hint.arge.0.irq=2
 # PHY20 = 1 << 20
 hint.arge.0.phymask=0xffffffff
 
 # arge1
-hint.arge.1.at="nexus0"
-hint.arge.1.maddr=0x1a000000
-hint.arge.1.msize=0x1000
-hint.arge.1.irq=3
 # PHY1, PHY2, PHY3 
 hint.arge.1.phymask=0xffffffff
 hint.arge.1.media=100
--- a/boards/Ubiquiti/RSPRO/board.mk	Tue Apr 17 17:41:25 2012 +0300
+++ b/boards/Ubiquiti/RSPRO/board.mk	Tue Apr 17 17:43:11 2012 +0300
@@ -29,6 +29,8 @@
 
 # Define empty LDSCRIPT_NAME, FreeBSD kernel make process will use his default
 KERNCONF_KERN_LDSCRIPT_NAME=
+KERNCONF_OPTIONS+=	ROOTDEVNAME=\\\"cd9660:/dev/redboot/rootfs.uncompress\\\"
+KERNCONF_DEVICES+=	geom_redboot
 
 # Additional utilities
 WORLD_SUBDIRS_ZROUTER+=target/sbin/upgrade