1 # $NetBSD: files.hb68k,v 1.1 2026/07/19 01:48:20 thorpej Exp $ 2 3 # config file for hb68k 4 5 # maxpartitions must be first item in files.${ARCH}.newconf 6 maxpartitions 8 7 8 # Generic devices 9 include "dev/ata/files.ata" # ATA 10 include "dev/scsipi/files.scsipi" # SCSI 11 12 ## 13 ## HOMEBREW PLATFORM CONFIG OPTIONS 14 ## 15 ## We're not attempting to have a single kernel image that can 16 ## boot on anything here, as there is going to be a pretty wide 17 ## variety of hardware configurations we're trying to bring under 18 ## a single umbrella. 19 ## 20 ## NOTE: All kernels are expected to use Flattened Device Tree 21 ## for hardware description. The main difference how the FDT 22 ## is provided to the kernel (either via firmware / boot loader 23 ## via some mechanism, or by having a static device tree blob 24 ## included in the kernel binary). 25 ## 26 27 # 28 # CONFIG_LINUX_BOOTINFO -- 29 # 30 # Machine uses Linux/m68k-style "bootinfo" to get information about 31 # CPU, memory, etc. configuration. May also include a Device Tree 32 # blob and symbol information. 33 # 34 defflag opt_hb68k_config.h CONFIG_LINUX_BOOTINFO 35 file arch/m68k/m68k/linux_bootinfo.c config_linux_bootinfo 36 37 # 38 # CONFIG_FDT_BOOTSTRAP -- 39 # 40 # Macine uses FDT information for early bootstrap (rather than 41 # Linux/m68k-style "bootinfo"). 42 # 43 # N.B. This only works for machines where the kernel is mapped VA==PA. 44 # 45 defflag opt_hb68k_config.h CONFIG_FDT_BOOTSTRAP 46 file arch/m68k/fdt/fdt_bootstrap.c config_fdt_bootstrap 47 48 # 49 # CONFIG_STATIC_DEVICE_TREE -- 50 # 51 # Machine uses a static Flattened Device Tree blob. 52 # 53 defflag opt_hb68k_config.h CONFIG_STATIC_DEVICE_TREE 54 55 # 56 # CONFIG_BUS_DMA -- 57 # 58 # Machine supports DMA, and so bus_dma(9) support should be included. 59 # 60 defflag opt_hb68k_config.h CONFIG_BUS_DMA 61 62 ## 63 ## COMMON SUPPORT FILES 64 ## 65 66 file arch/hb68k/hb68k/autoconf.c 67 file arch/hb68k/hb68k/clock.c 68 file arch/hb68k/hb68k/machdep.c 69 70 file arch/m68k/m68k/delay.s 71 file arch/m68k/m68k/dumpsys.c 72 73 file arch/m68k/m68k/bus_dma.c config_bus_dma 74 file arch/m68k/m68k/bus_space_simple.c 75 file arch/m68k/m68k/bus_dma_stub.c !config_bus_dma 76 77 file arch/m68k/m68k/m68k_intr.c 78 file arch/m68k/m68k/m68k_intr_stubs.s 79 80 file kern/subr_disk_4bsd.c 81 82 include "arch/hb68k/conf/majors.hb68k" 83 84 ## 85 ## GENERIC DEVICES 86 ## 87 88 file dev/cons.c 89 90 # Memory disk for installer 91 file dev/md_root.c memory_disk_hooks 92 93 ## 94 ## FDT support 95 ## 96 97 file dev/fdt/fdt_platform.c fdt 98 99 device fdtroot: fdt 100 attach fdtroot at root 101 file arch/hb68k/generic/fdtroot.c fdtroot 102 103 # Generic m68k interrupts for FDT 104 device genintc: fdt_syscon 105 attach genintc at fdt 106 file arch/hb68k/generic/genintc.c genintc 107 108 ## 109 ## PHAETHON 1 DEVICES 110 ## 111 112 defflag opt_m68k_arch.h M68K_MMU_PGMMU: M68K_MMU_CUSTOM 113 defflag opt_hb68k_config.h CONFIG_MACH_PHAETHON1 114 115 file arch/hb68k/pg68k/pmap_pgmmu.c m68k_mmu_pgmmu 116 file arch/hb68k/pg68k/ph1_machdep.c config_mach_phaethon1 117 file arch/hb68k/pg68k/pgromcalls.c config_mach_phaethon1 118 119 device pgctrl: fdt_syscon 120 attach pgctrl at fdt 121 file arch/hb68k/pg68k/pgctrl.c pgctrl 122 123 device pgtimer 124 attach pgtimer at fdt 125 file arch/hb68k/pg68k/pgtimer.c pgtimer 126