mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
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:
parent
5694b144c0
commit
c0d853f6b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196533
|
@ -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
|
||||
|
|
4
sys/arm/mv/kirkwood/files.kirkwood
Normal file
4
sys/arm/mv/kirkwood/files.kirkwood
Normal file
|
@ -0,0 +1,4 @@
|
|||
# $FreeBSD$
|
||||
|
||||
arm/mv/rtc.c standard
|
||||
arm/mv/kirkwood/kirkwood.c standard
|
|
@ -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
|
||||
|
|
15
sys/arm/mv/kirkwood/std.kirkwood
Normal file
15
sys/arm/mv/kirkwood/std.kirkwood
Normal 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
|
Loading…
Reference in a new issue