aboutsummaryrefslogtreecommitdiffstats
path: root/bsp/amd-x86
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/amd-x86')
-rw-r--r--bsp/amd-x86/amd-x86-64-preempt-rt.scc8
-rw-r--r--bsp/amd-x86/amd-x86-64-standard.scc8
-rw-r--r--bsp/amd-x86/amd-x86-64.scc32
-rw-r--r--bsp/amd-x86/amd-x86.cfg96
4 files changed, 144 insertions, 0 deletions
diff --git a/bsp/amd-x86/amd-x86-64-preempt-rt.scc b/bsp/amd-x86/amd-x86-64-preempt-rt.scc
new file mode 100644
index 00000000..2e503bbe
--- /dev/null
+++ b/bsp/amd-x86/amd-x86-64-preempt-rt.scc
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: MIT
+define KMACHINE amd-x86-64
+define KTYPE preempt-rt
+define KARCH x86-64
+
+include ktypes/preempt-rt/preempt-rt.scc
+
+include amd-x86-64.scc
diff --git a/bsp/amd-x86/amd-x86-64-standard.scc b/bsp/amd-x86/amd-x86-64-standard.scc
new file mode 100644
index 00000000..d5a2a788
--- /dev/null
+++ b/bsp/amd-x86/amd-x86-64-standard.scc
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: MIT
+define KMACHINE amd-x86-64
+define KTYPE standard
+define KARCH x86-64
+
+include ktypes/standard/standard.scc
+include features/transparent-hugepage/transparent-hugepage.scc
+include amd-x86-64.scc
diff --git a/bsp/amd-x86/amd-x86-64.scc b/bsp/amd-x86/amd-x86-64.scc
new file mode 100644
index 00000000..87f23b51
--- /dev/null
+++ b/bsp/amd-x86/amd-x86-64.scc
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: MIT
+# Core configuration settings for x86_64
+include cfg/x86_64.scc
+
+include cfg/vesafb.scc
+include cfg/8250.scc
+include cfg/sound.scc
+include cfg/efi-ext.scc
+include cfg/virtio.scc
+include cfg/boot-live.scc
+include cfg/usb-mass-storage.scc
+include features/profiling/profiling.scc
+
+include features/netfilter/netfilter.scc
+include features/scsi/cdrom.scc
+include features/usb/ehci-hcd.scc
+include features/usb/uhci-hcd.scc
+include features/usb/ohci-hcd.scc
+include features/usb/xhci-hcd.scc
+include features/usb/touchscreen-composite.scc
+include features/scsi/cdrom.scc
+include features/spi/spi.scc
+include features/spi/spidev.scc
+include features/sound/snd_hda_intel.scc
+include features/igb/igb.scc
+
+kconf hardware bsp/common-pc/common-pc-drivers.cfg
+kconf hardware bsp/common-pc/common-pc-eth.cfg
+kconf hardware bsp/common-pc/common-pc-gfx.cfg
+kconf hardware bsp/common-pc/common-pc-wifi.cfg
+
+kconf hardware amd-x86.cfg
diff --git a/bsp/amd-x86/amd-x86.cfg b/bsp/amd-x86/amd-x86.cfg
new file mode 100644
index 00000000..45fa2b92
--- /dev/null
+++ b/bsp/amd-x86/amd-x86.cfg
@@ -0,0 +1,96 @@
+# SPDX-License-Identifier: MIT
+
+#
+# Processor type and features
+#
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
+CONFIG_MICROCODE=y
+CONFIG_PERF_EVENTS_AMD_POWER=y
+CONFIG_PERF_EVENTS_AMD_UNCORE=y
+CONFIG_AMD_MEM_ENCRYPT=y
+
+#
+# Device Drivers
+#
+CONFIG_PCI_IOV=y
+CONFIG_AMD_PMC=y
+CONFIG_AMD_IOMMU=y
+CONFIG_AMD_IOMMU_V2=y
+CONFIG_E1000E=y
+CONFIG_AMD_XGBE=y
+
+#
+# DMA engine configuration
+#
+CONFIG_DMADEVICES=y
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250_DMA=y
+CONFIG_SERIAL_8250_NR_UARTS=16
+CONFIG_SERIAL_8250_RUNTIME_UARTS=16
+CONFIG_SERIAL_8250_DW=y
+
+#
+# Graphics support
+#
+CONFIG_DRM_RADEON=m
+CONFIG_DRM_RADEON_USERPTR=y
+
+#
+# PPS generators support
+#
+CONFIG_PINCTRL_AMD=y
+
+#
+# Native drivers
+#
+CONFIG_SENSORS_K10TEMP=m
+
+#
+# Watchdog Device Drivers
+#
+CONFIG_SP5100_TCO=m
+
+#
+#Miscellaneous filesystems
+#
+CONFIG_PSTORE=m
+
+#
+# EFI (Extensible Firmware Interface) Support
+#
+CONFIG_EFI_VARS_PSTORE=m
+
+#
+# I2C support
+#
+CONFIG_I2C_CHARDEV=m
+
+#
+# I2C Hardware Bus support
+#
+CONFIG_I2C_PIIX4=m
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+CONFIG_I2C_DESIGNWARE_CORE=m
+CONFIG_I2C_DESIGNWARE_PLATFORM=m
+CONFIG_I2C_DESIGNWARE_PCI=m
+
+#
+# CPU frequency scaling drivers
+#
+CONFIG_X86_ACPI_CPUFREQ=m
+CONFIG_X86_ACPI_CPUFREQ_CPB=y
+CONFIG_X86_AMD_FREQ_SENSITIVITY=m
+
+CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=m
+CONFIG_CPU_FREQ_GOV_USERSPACE=m
+CONFIG_CPU_FREQ_GOV_ONDEMAND=m
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
+CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y