diff options
Diffstat (limited to 'src/mainboard/artecgroup')
-rw-r--r-- | src/mainboard/artecgroup/Kconfig | 9 | ||||
-rw-r--r-- | src/mainboard/artecgroup/dbe61/Kconfig | 47 | ||||
-rw-r--r-- | src/mainboard/artecgroup/dbe61/Makefile.inc | 31 |
3 files changed, 86 insertions, 1 deletions
diff --git a/src/mainboard/artecgroup/Kconfig b/src/mainboard/artecgroup/Kconfig index 792d6005489e..5f1a6e906f42 100644 --- a/src/mainboard/artecgroup/Kconfig +++ b/src/mainboard/artecgroup/Kconfig @@ -1 +1,8 @@ -# +choice + prompt "Mainboard model" + depends on VENDOR_ARTEC_GROUP + +source "src/mainboard/artecgroup/dbe61/Kconfig" + +endchoice + diff --git a/src/mainboard/artecgroup/dbe61/Kconfig b/src/mainboard/artecgroup/dbe61/Kconfig new file mode 100644 index 000000000000..6caef7bba88f --- /dev/null +++ b/src/mainboard/artecgroup/dbe61/Kconfig @@ -0,0 +1,47 @@ +config BOARD_ARTECGROUP_DBE61 + bool "dbe61" + select ARCH_X86 + select CPU_AMD_LX + select NORTHBRIDGE_AMD_LX + select SOUTHBRIDGE_AMD_CS5536 + 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 artecgroup/dbe61 + depends on BOARD_ARTECGROUP_DBE61 + +config MAINBOARD_PART_NUMBER + string + default "DBE61" + depends on BOARD_ARTECGROUP_DBE61 + +config HAVE_OPTION_TABLE + bool + default n + depends on BOARD_ARTECGROUP_DBE61 + +config IRQ_SLOT_COUNT + int + default 3 + depends on BOARD_ARTECGROUP_DBE61 + +config DCACHE_RAM_BASE + hex + default 0xc8000 + depends on BOARD_ARTECGROUP_DBE61 + +config DCACHE_RAM_SIZE + hex + default 0x8000 + depends on BOARD_ARTECGROUP_DBE61 + +config RAMBASE + hex + default 0x4000 + depends on BOARD_ARTECGROUP_DBE61 diff --git a/src/mainboard/artecgroup/dbe61/Makefile.inc b/src/mainboard/artecgroup/dbe61/Makefile.inc new file mode 100644 index 000000000000..90b154a4e100 --- /dev/null +++ b/src/mainboard/artecgroup/dbe61/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 $(obj)/option_table.h + $(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 + |