diff options
author | zbb <zbb@FreeBSD.org> | 2016-01-20 13:14:36 +0000 |
---|---|---|
committer | zbb <zbb@FreeBSD.org> | 2016-01-20 13:14:36 +0000 |
commit | 5c07389daed09120ac5cc01420fbc4a63a2a2a7a (patch) | |
tree | d5b6b6a486ff7e38e826342156df75a01b544718 /sys/arm/conf/ARMADA38X | |
parent | 10002c03d973729575ded427bb46dba3ac339368 (diff) | |
download | FreeBSD-src-5c07389daed09120ac5cc01420fbc4a63a2a2a7a.zip FreeBSD-src-5c07389daed09120ac5cc01420fbc4a63a2a2a7a.tar.gz |
Introduce initial support for Marvell Armada38x
This commit introduces initial support for Marvell Armada38x platform.
Changes:
- Add common DTS files for Armada38x SoCs and DTS file for A388-GP
- Add ARMADA38X kernel configuration
- Add option SOC_MV_ARMADA38X and set MV_PCI_PORTS
- Add list of files to compile
- Implement get_tclk(), get_sar_value(), cpu_reset() functions
- Add CPU ID and SoC numbers
- Correct ifdefs in arm/mv/timer.c
Reviewed by: ian, imp
Obtained from: Semihalf
Sponsored by: Stormshield
Submitted by: Michal Stanek <mst@semihalf.com>
Differential revision: https://reviews.freebsd.org/D4210
Diffstat (limited to 'sys/arm/conf/ARMADA38X')
-rw-r--r-- | sys/arm/conf/ARMADA38X | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/sys/arm/conf/ARMADA38X b/sys/arm/conf/ARMADA38X new file mode 100644 index 0000000..ee1648f --- /dev/null +++ b/sys/arm/conf/ARMADA38X @@ -0,0 +1,63 @@ +# +# Kernel configuration for Marvell Armada38x +# +# $FreeBSD$ +# + +include "../mv/armada38x/std.armada38x" +include "std.armv6" + +ident ARMADA38X + +options SOC_MV_ARMADA38X + +makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols +makeoptions WERROR="-Werror" + +options MD_ROOT +#makeoptions MFS_IMAGE=/path/to/miniroot +options ROOTDEVNAME=\"ufs:md0\" + +options SCHED_ULE # ULE scheduler +#options SCHED_4BSD # 4BSD scheduler + +# Debugging +#options DEBUG +#options VERBOSE_SYSINIT +options ALT_BREAK_TO_DEBUGGER +options DDB +#options GDB +#options DIAGNOSTIC +options INVARIANTS # Enable calls of extra sanity checking +options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS +options KDB +options KDB_TRACE +#options WITNESS # Enable checks to detect deadlocks and cycles +#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed +#options WITNESS_KDB +#options BOOTVERBOSE + +# Pseudo devices +device random +device pty +device loop +device md + +# Serial ports +device uart +device uart_ns8250 + +# Network +device ether +device vlan + +# Interrupt controllers +device gic + +# Timers +device mpcore_timer + +#FDT +options FDT +options FDT_DTB_STATIC +makeoptions FDT_DTS_FILE=armada-388-gp.dts |