Exclude common Kirkwood settings so they can be shared among various platforms

based on this SOC. This is a preliminary step for SheevaPlug support.

Submitted by:	Michal Hajduk
Obtained from:	Semihalf
This commit is contained in:
Rafal Jaworowski 2009-08-25 09:39:11 +00:00
parent 5694b144c0
commit c0d853f6b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196533
4 changed files with 21 additions and 8 deletions

View file

@ -1,5 +1,4 @@
# $FreeBSD$
arm/mv/rtc.c standard
arm/mv/kirkwood/kirkwood.c standard
include "arm/mv/kirkwood/files.kirkwood"
arm/mv/kirkwood/db88f6xxx.c standard

View file

@ -0,0 +1,4 @@
# $FreeBSD$
arm/mv/rtc.c standard
arm/mv/kirkwood/kirkwood.c standard

View file

@ -1,13 +1,8 @@
# $FreeBSD$
include "../mv/std.mv"
include "../mv/kirkwood/std.kirkwood"
files "../mv/kirkwood/files.db88f6xxx"
makeoptions KERNPHYSADDR=0x00900000
makeoptions KERNVIRTADDR=0xc0900000
options KERNPHYSADDR=0x00900000
options KERNVIRTADDR=0xc0900000
options PHYSADDR=0x00000000
options PHYSMEM_SIZE=0x20000000
options STARTUP_PAGETABLE_ADDR=0x00100000

View file

@ -0,0 +1,15 @@
# $FreeBSD$
# kernel gets loaded at 0x00900000 by the loader, but runs at virtual address
# 0xc0900000. RAM starts at 0. We put the pagetable at a reasonable place
# in memory, but may need to bounce it higher if there's a problem with this.
# We could paper over this by loading the kernel at 0xc0000000 virtual, but
# that leads to other complications, so we'll just reclaim the lower region of
# ram after we're loaded. Put the page tables for startup at 1MB.
makeoptions KERNPHYSADDR=0x00900000
makeoptions KERNVIRTADDR=0xc0900000
options KERNPHYSADDR=0x00900000
options KERNVIRTADDR=0xc0900000
options PHYSADDR=0x00000000
options STARTUP_PAGETABLE_ADDR=0x00100000