summaryrefslogtreecommitdiff
path: root/src/mainboard/digitallogic
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/digitallogic')
-rw-r--r--src/mainboard/digitallogic/Kconfig11
-rw-r--r--src/mainboard/digitallogic/adl855pc/Kconfig24
-rw-r--r--src/mainboard/digitallogic/adl855pc/Makefile.inc3
-rw-r--r--src/mainboard/digitallogic/msm586seg/Kconfig21
-rw-r--r--src/mainboard/digitallogic/msm586seg/Makefile.inc3
-rw-r--r--src/mainboard/digitallogic/msm800sev/Kconfig48
-rw-r--r--src/mainboard/digitallogic/msm800sev/Makefile.inc31
7 files changed, 140 insertions, 1 deletions
diff --git a/src/mainboard/digitallogic/Kconfig b/src/mainboard/digitallogic/Kconfig
index 792d600548..7c8fb1164e 100644
--- a/src/mainboard/digitallogic/Kconfig
+++ b/src/mainboard/digitallogic/Kconfig
@@ -1 +1,10 @@
-#
+choice
+ prompt "Mainboard model"
+ depends on VENDOR_DIGITAL_LOGIC
+
+source "src/mainboard/digitallogic/adl855pc/Kconfig"
+source "src/mainboard/digitallogic/msm586seg/Kconfig"
+source "src/mainboard/digitallogic/msm800sev/Kconfig"
+
+endchoice
+
diff --git a/src/mainboard/digitallogic/adl855pc/Kconfig b/src/mainboard/digitallogic/adl855pc/Kconfig
new file mode 100644
index 0000000000..12814c6aa6
--- /dev/null
+++ b/src/mainboard/digitallogic/adl855pc/Kconfig
@@ -0,0 +1,24 @@
+config BOARD_DIGITALLOGIC_ADL855PC
+ bool "ADL855PC"
+ select ARCH_X86
+ select CPU_INTEL_SOCKET_MPGA479M
+ select NORTHBRIDGE_INTEL_I855PM
+ select SOUTHBRIDGE_INTEL_I82801DBM
+ select SUPERIO_WINBOND_W83627HF
+ select HAVE_PIRQ_TABLE
+ select UDELAY_TSC
+
+config MAINBOARD_DIR
+ string
+ default digitallogic/adl855pc
+ depends on BOARD_DIGITALLOGIC_ADL855PC
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "ADL855PC"
+ depends on BOARD_DIGITALLOGIC_ADL855PC
+
+config IRQ_SLOT_COUNT
+ int
+ default 5
+ depends on BOARD_DIGITALLOGIC_ADL855PC
diff --git a/src/mainboard/digitallogic/adl855pc/Makefile.inc b/src/mainboard/digitallogic/adl855pc/Makefile.inc
new file mode 100644
index 0000000000..33d10100d7
--- /dev/null
+++ b/src/mainboard/digitallogic/adl855pc/Makefile.inc
@@ -0,0 +1,3 @@
+ROMCCFLAGS := -mcpu=p3 -O
+include $(src)/mainboard/Makefile.romccboard.inc
+
diff --git a/src/mainboard/digitallogic/msm586seg/Kconfig b/src/mainboard/digitallogic/msm586seg/Kconfig
new file mode 100644
index 0000000000..344314e840
--- /dev/null
+++ b/src/mainboard/digitallogic/msm586seg/Kconfig
@@ -0,0 +1,21 @@
+config BOARD_DIGITALLOGIC_MSM586SEG
+ bool "MSM586SEG"
+ select ARCH_X86
+ select CPU_AMD_SC520
+ select HAVE_PIRQ_TABLE
+
+config MAINBOARD_DIR
+ string
+ default digitallogic/msm586seg
+ depends on BOARD_DIGITALLOGIC_MSM586SEG
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "TS5300"
+ depends on BOARD_DIGITALLOGIC_MSM586SEG
+
+config IRQ_SLOT_COUNT
+ int
+ default 2
+ depends on BOARD_DIGITALLOGIC_MSM586SEG
+
diff --git a/src/mainboard/digitallogic/msm586seg/Makefile.inc b/src/mainboard/digitallogic/msm586seg/Makefile.inc
new file mode 100644
index 0000000000..b46377a206
--- /dev/null
+++ b/src/mainboard/digitallogic/msm586seg/Makefile.inc
@@ -0,0 +1,3 @@
+ROMCCFLAGS := -mcpu=i386 -O
+include $(src)/mainboard/Makefile.romccboard.inc
+
diff --git a/src/mainboard/digitallogic/msm800sev/Kconfig b/src/mainboard/digitallogic/msm800sev/Kconfig
new file mode 100644
index 0000000000..52c22fb256
--- /dev/null
+++ b/src/mainboard/digitallogic/msm800sev/Kconfig
@@ -0,0 +1,48 @@
+config BOARD_DIGITALLOGIC_MSM800SEV
+ bool "MSM800SEV"
+ select ARCH_X86
+ select CPU_AMD_LX
+ select NORTHBRIDGE_AMD_LX
+ select SOUTHBRIDGE_AMD_CS5536
+ select SUPERIO_WINBOND_W83627HF
+ select HAVE_PIRQ_TABLE
+ select PIRQ_ROUTE
+ select UDELAY_TSC
+ select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select USE_DCACHE_RAM
+ select USE_PRINTK_IN_CAR
+
+config MAINBOARD_DIR
+ string
+ default digitallogic/msm800sev
+ depends on BOARD_DIGITALLOGIC_MSM800SEV
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "MSM800SEV"
+ depends on BOARD_DIGITALLOGIC_MSM800SEV
+
+config HAVE_OPTION_TABLE
+ bool
+ default n
+ depends on BOARD_DIGITALLOGIC_MSM800SEV
+
+config IRQ_SLOT_COUNT
+ int
+ default 7
+ depends on BOARD_DIGITALLOGIC_MSM800SEV
+
+config DCACHE_RAM_BASE
+ hex
+ default 0xc8000
+ depends on BOARD_DIGITALLOGIC_MSM800SEV
+
+config DCACHE_RAM_SIZE
+ hex
+ default 0x8000
+ depends on BOARD_DIGITALLOGIC_MSM800SEV
+
+config RAMBASE
+ hex
+ default 0x4000
+ depends on BOARD_DIGITALLOGIC_MSM800SEV
diff --git a/src/mainboard/digitallogic/msm800sev/Makefile.inc b/src/mainboard/digitallogic/msm800sev/Makefile.inc
new file mode 100644
index 0000000000..eac4755d28
--- /dev/null
+++ b/src/mainboard/digitallogic/msm800sev/Makefile.inc
@@ -0,0 +1,31 @@
+driver-y += mainboard.o
+
+# Needed by irq_tables and mptable and acpi_tables.
+obj-$(CONFIG_HAVE_PIRQ_TABLE) += irq_tables.o
+
+# This is part of the conversion to init-obj and away from included code.
+
+initobj-y += crt0.o
+# FIXME in $(top)/Makefile
+crt0-y += ../../../../src/cpu/x86/16bit/entry16.inc
+crt0-y += ../../../../src/cpu/x86/32bit/entry32.inc
+crt0-y += ../../../../src/cpu/x86/16bit/reset16.inc
+crt0-y += ../../../../src/arch/i386/lib/id.inc
+crt0-y += ../../../../src/cpu/amd/model_lx/cache_as_ram.inc
+crt0-y += auto.inc
+
+ldscript-y += ../../../../src/arch/i386/init/ldscript_fallback_cbfs.lb
+ldscript-y += ../../../../src/cpu/x86/16bit/entry16.lds
+ldscript-y += ../../../../src/cpu/x86/16bit/reset16.lds
+ldscript-y += ../../../../src/arch/i386/lib/id.lds
+ldscript-y += ../../../../src/arch/i386/lib/failover.lds
+
+ifdef POST_EVALUATION
+
+$(obj)/mainboard/$(MAINBOARDDIR)/auto.inc: $(src)/mainboard/$(MAINBOARDDIR)/cache_as_ram_auto.c
+ $(CC) $(DISTRO_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(DEBUG_CFLAGS) -I$(src) -I. -c -S $(src)/mainboard/$(MAINBOARDDIR)/cache_as_ram_auto.c -o $@
+ perl -e 's/\.rodata/.rom.data/g' -pi $@
+ perl -e 's/\.text/.section .rom.text/g' -pi $@
+
+endif
+