57675076eb
Split code to handle on-chip rtc into a separate driver Eliminate all todr code from clock.c Move __HAVE_GENERIC_TODR to sh3/include/types.h
75 lines
2.0 KiB
Plaintext
75 lines
2.0 KiB
Plaintext
# $NetBSD: CQREEKSH3,v 1.28 2006/09/20 00:41:12 uwe Exp $
|
|
#
|
|
# GENERIC -- everything that's currently supported
|
|
#
|
|
|
|
# for big endian
|
|
include "arch/evbsh3/conf/std.evbsh3.eb"
|
|
# for little endian
|
|
#include "arch/evbsh3/conf/std.evbsh3.el"
|
|
|
|
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
# Enable the hooks used for initializing the root memory-disk.
|
|
options MEMORY_DISK_HOOKS
|
|
options MEMORY_DISK_IS_ROOT # force root on memory disk
|
|
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
|
|
options MEMORY_DISK_ROOT_SIZE=2400 # size of memory disk, in blocks
|
|
|
|
options ROMIMAGE
|
|
|
|
maxusers 32 # estimated number of users
|
|
|
|
# CPU support. At least one is REQUIRED.
|
|
options SH3
|
|
options SH7708 # 100MHz
|
|
options PCLOCK=15000000 # 15.000MHz
|
|
options IOM_ROM_BEGIN=0x00000000
|
|
options IOM_ROM_SIZE=0x00200000 # 2MB
|
|
options IOM_RAM_BEGIN=0x0c000000
|
|
options IOM_RAM_SIZE=0x00400000 # 4MB
|
|
options LED_ADDR=0xa8000000
|
|
|
|
options BSC_BCR1_VAL =0x0010
|
|
options BSC_BCR2_VAL =0x3ddc
|
|
options BSC_WCR1_VAL =0x2aaa
|
|
options BSC_WCR2_VAL =0x0246
|
|
options BSC_MCR_VAL =0x0074
|
|
options BSC_RTCSR_VAL =0xa510
|
|
options BSC_RTCNT_VAL =0xa500 # XXX
|
|
options BSC_RTCOR_VAL =0xa53a
|
|
options FRQCR_VAL =0x0102
|
|
|
|
options HZ=50 # clock interrupt generates every 1/HZ sec
|
|
options USERCONF # userconf(4) support
|
|
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
|
|
|
|
# Compatibility options
|
|
options COMPAT_43 # and 4.3BSD
|
|
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
|
|
|
|
# Executable format options
|
|
options EXEC_COFF # 32-bit COFF executables (sh-compiler)
|
|
|
|
# File systems
|
|
file-system FFS # UFS
|
|
options FFS_NO_SNAPSHOT # No FFS snapshot support
|
|
|
|
# Kernel root file system and dump configuration.
|
|
config netbsd root on ? type ?
|
|
|
|
#
|
|
# Device configuration
|
|
#
|
|
mainbus0 at root
|
|
shb* at mainbus?
|
|
rtc0 at shb?
|
|
wdog0 at shb?
|
|
options SCICONSOLE,SCICN_SPEED=38400
|
|
sci0 at shb?
|
|
|
|
# Pseudo-Devices
|
|
pseudo-device md 1 # memory disk device (ramdisk)
|
|
pseudo-device pty # pseudo-terminals
|
|
pseudo-device clockctl # user control of clock subsystem
|