0ec682f566
The XLP on-chip devices have PCI configuration headers, but some of the devices need custom resource allocation code. - devices with no MEM/IO BARs with registers in PCIe extended reg space have to be handled in memory resource allocation - devices without INTPIN/INTLINE in PCI header can be supported by having these faked with a shadow register. - Some devices does not allow 8/16 bit access to the register space, he default bus space cannot be used for these. Subclass pci and override attach and resource allocation methods to take care of this. Remove earlier code which did this partially.
43 lines
1.9 KiB
Plaintext
43 lines
1.9 KiB
Plaintext
# $FreeBSD$
|
|
mips/nlm/hal/nlm_hal.c standard
|
|
mips/nlm/hal/fmn.c standard
|
|
mips/nlm/xlp_machdep.c standard
|
|
mips/nlm/intr_machdep.c standard
|
|
mips/nlm/tick.c standard
|
|
mips/nlm/board.c standard
|
|
mips/nlm/cms.c standard
|
|
mips/nlm/bus_space_rmi.c standard
|
|
mips/nlm/bus_space_rmi_pci.c standard
|
|
mips/nlm/mpreset.S standard
|
|
mips/nlm/board_eeprom.c standard
|
|
mips/nlm/board_cpld.c standard
|
|
mips/nlm/xlp_pci.c optional pci
|
|
mips/nlm/uart_cpu_xlp.c optional uart
|
|
mips/nlm/usb_init.c optional usb
|
|
#
|
|
# Simple SoC devices
|
|
mips/nlm/dev/uart_pci_xlp.c optional uart
|
|
mips/nlm/dev/cfi_pci_xlp.c optional cfi
|
|
#
|
|
# Network driver and micro-core code
|
|
mips/nlm/dev/net/nae.c optional xlpge
|
|
mips/nlm/dev/net/mdio.c optional xlpge
|
|
mips/nlm/dev/net/sgmii.c optional xlpge
|
|
mips/nlm/dev/net/xaui.c optional xlpge
|
|
mips/nlm/dev/net/xlpge.c optional xlpge
|
|
ucore_app.bin optional xlpge \
|
|
compile-with "${CC} -march=mips32 -mabi=32 -msoft-float -I. -I$S -O3 -funroll-loops -finline-limit=20000 -fno-tree-loop-optimize -fomit-frame-pointer -mno-branch-likely -fno-pic -mno-abicalls -ffunction-sections -fdata-sections -G0 -Wall -Werror -c $S/$M/nlm/dev/net/ucore/crt0_basic.S $S/$M/nlm/dev/net/ucore/ucore_app.c && ${LD} -melf32btsmip_fbsd -d -warn-common -T$S/$M/nlm/dev/net/ucore/ld.ucore.S crt0_basic.o ucore_app.o -o ucore_app && ${OBJCOPY} -S -O binary -R .note -R .comment ucore_app ${.TARGET}" \
|
|
no-obj no-implicit-rule before-depend \
|
|
clean "crt0_basic.o ucore_app.o ucore_app ucore_app.bin"
|
|
ucore_app_bin.h optional xlpge \
|
|
dependency "ucore_app.bin" \
|
|
compile-with "file2c -sx 'static char ucore_app_bin[] = {' '};' < ucore_app.bin > ${.TARGET}" \
|
|
no-obj no-implicit-rule before-depend \
|
|
clean "ucore_app_bin.h"
|
|
#
|
|
# Security Driver
|
|
#
|
|
mips/nlm/dev/sec/nlmsec.c optional nlmsec
|
|
mips/nlm/dev/sec/nlmseclib.c optional nlmsec
|
|
mips/nlm/dev/sec/nlmrsa.c optional nlmrsa
|