├── COPYING ├── Makefile ├── README ├── documentation ├── Doxyfile.coreboot ├── Kconfig.tex ├── LinuxBIOS-AMD64.tex ├── Makefile ├── POSTCODES ├── RFC │ ├── chip.tex │ └── config.tex ├── beginverbatim.tex ├── cbfs.txt ├── codeflow.svg ├── endverbatim.tex └── hypertransport.svg ├── payloads ├── bayou │ ├── Doxyfile │ ├── Makefile │ ├── bayou.h │ ├── bayou.ldscript │ ├── bayou.xml.example │ ├── config.c │ ├── lzma.c │ ├── lzmadecode.c │ ├── lzmadecode.h │ ├── main.c │ ├── menu.c │ ├── nrv2b.c │ ├── payload.c │ ├── self.c │ ├── self.h │ └── util │ │ └── pbuilder │ │ ├── Makefile │ │ ├── config.c │ │ ├── create.c │ │ ├── liblar │ │ ├── Makefile │ │ ├── elf.h │ │ ├── lar.h │ │ ├── lib.c │ │ ├── liblar.h │ │ ├── self.c │ │ └── self.h │ │ ├── lzma │ │ ├── C │ │ │ ├── 7zip │ │ │ │ ├── Common │ │ │ │ │ ├── InBuffer.h │ │ │ │ │ ├── OutBuffer.cpp │ │ │ │ │ ├── OutBuffer.h │ │ │ │ │ ├── StdAfx.h │ │ │ │ │ ├── StreamUtils.cpp │ │ │ │ │ └── StreamUtils.h │ │ │ │ ├── Compress │ │ │ │ │ ├── LZ │ │ │ │ │ │ ├── BinTree │ │ │ │ │ │ │ ├── BinTree.h │ │ │ │ │ │ │ ├── BinTree2.h │ │ │ │ │ │ │ ├── BinTree3.h │ │ │ │ │ │ │ ├── BinTree4.h │ │ │ │ │ │ │ └── BinTreeMain.h │ │ │ │ │ │ ├── HashChain │ │ │ │ │ │ │ ├── HC4.h │ │ │ │ │ │ │ └── HCMain.h │ │ │ │ │ │ ├── IMatchFinder.h │ │ │ │ │ │ ├── LZInWindow.cpp │ │ │ │ │ │ ├── LZInWindow.h │ │ │ │ │ │ └── StdAfx.h │ │ │ │ │ ├── LZMA │ │ │ │ │ │ ├── LZMA.h │ │ │ │ │ │ ├── LZMAEncoder.cpp │ │ │ │ │ │ ├── LZMAEncoder.h │ │ │ │ │ │ └── StdAfx.h │ │ │ │ │ └── RangeCoder │ │ │ │ │ │ ├── RangeCoder.h │ │ │ │ │ │ ├── RangeCoderBit.cpp │ │ │ │ │ │ ├── RangeCoderBit.h │ │ │ │ │ │ ├── RangeCoderBitTree.h │ │ │ │ │ │ ├── RangeCoderOpt.h │ │ │ │ │ │ └── StdAfx.h │ │ │ │ ├── Decompress │ │ │ │ │ ├── LzmaDecode.c │ │ │ │ │ └── LzmaDecode.h │ │ │ │ ├── ICoder.h │ │ │ │ └── IStream.h │ │ │ ├── Common │ │ │ │ ├── Alloc.cpp │ │ │ │ ├── Alloc.h │ │ │ │ ├── CRC.cpp │ │ │ │ ├── CRC.h │ │ │ │ ├── Defs.h │ │ │ │ ├── MyCom.h │ │ │ │ ├── MyGuidDef.h │ │ │ │ ├── MyInitGuid.h │ │ │ │ ├── MyUnknown.h │ │ │ │ ├── MyWindows.h │ │ │ │ ├── NewHandler.h │ │ │ │ ├── StdAfx.h │ │ │ │ └── Types.h │ │ │ ├── LGPL.txt │ │ │ └── ORIGIN │ │ ├── Makefile │ │ └── minilzma.cc │ │ ├── main.c │ │ ├── pbuilder.h │ │ └── show.c ├── coreinfo │ ├── COPYING │ ├── Kconfig │ ├── Makefile │ ├── README │ ├── bootlog_module.c │ ├── cbfs_module.c │ ├── coreboot_module.c │ ├── coreinfo.c │ ├── coreinfo.h │ ├── cpuid.S │ ├── cpuinfo_module.c │ ├── lar_module.c │ ├── multiboot_module.c │ ├── nvram_module.c │ ├── pci_module.c │ ├── ramdump_module.c │ └── util │ │ └── kconfig │ │ ├── Makefile │ │ ├── POTFILES.in │ │ ├── check.sh │ │ ├── conf.c │ │ ├── confdata.c │ │ ├── expr.c │ │ ├── expr.h │ │ ├── gconf.c │ │ ├── gconf.glade │ │ ├── images.c │ │ ├── kconfig_load.c │ │ ├── kxgettext.c │ │ ├── lex.zconf.c_shipped │ │ ├── lkc.h │ │ ├── lkc_proto.h │ │ ├── lxdialog │ │ ├── BIG.FAT.WARNING │ │ ├── check-lxdialog.sh │ │ ├── checklist.c │ │ ├── dialog.h │ │ ├── inputbox.c │ │ ├── menubox.c │ │ ├── textbox.c │ │ ├── util.c │ │ └── yesno.c │ │ ├── mconf.c │ │ ├── menu.c │ │ ├── qconf.cc │ │ ├── qconf.h │ │ ├── symbol.c │ │ ├── util.c │ │ ├── zconf.gperf │ │ ├── zconf.hash.c_shipped │ │ ├── zconf.l │ │ ├── zconf.tab.c_shipped │ │ └── zconf.y ├── external │ └── tint │ │ ├── README │ │ └── libpayload_tint.patch └── libpayload │ ├── Config.in │ ├── Doxyfile │ ├── LICENSES │ ├── Makefile │ ├── README │ ├── arch │ ├── i386 │ │ ├── Makefile.inc │ │ ├── coreboot.c │ │ ├── exec.S │ │ ├── head.S │ │ ├── main.c │ │ ├── multiboot.c │ │ ├── sysinfo.c │ │ ├── timer.c │ │ ├── util.S │ │ └── virtual.c │ └── powerpc │ │ ├── Makefile.inc │ │ ├── coreboot.c │ │ ├── exec.S │ │ ├── head.S │ │ ├── main.c │ │ ├── sysinfo.c │ │ ├── timer.c │ │ ├── util.S │ │ └── virtual.c │ ├── bin │ ├── lp.functions │ ├── lpas │ └── lpgcc │ ├── configs │ └── defconfig │ ├── crypto │ ├── Makefile.inc │ └── sha1.c │ ├── curses │ ├── Makefile.inc │ ├── colors.c │ ├── keyboard.c │ ├── local.h │ └── tinycurses.c │ ├── drivers │ ├── Makefile.inc │ ├── hid.c │ ├── keyboard.c │ ├── nvram.c │ ├── options.c │ ├── pci.c │ ├── serial.c │ ├── speaker.c │ ├── usb │ │ ├── TODO │ │ ├── ehci.c │ │ ├── ehci.h │ │ ├── ehci_private.h │ │ ├── ehci_rh.c │ │ ├── ohci.c │ │ ├── ohci.h │ │ ├── ohci_private.h │ │ ├── ohci_rh.c │ │ ├── quirks.c │ │ ├── uhci.c │ │ ├── uhci.h │ │ ├── uhci_private.h │ │ ├── uhci_rh.c │ │ ├── usb.c │ │ ├── usb_dev.c │ │ ├── usbhid.c │ │ ├── usbhub.c │ │ ├── usbinit.c │ │ ├── usbmsc.c │ │ ├── xhci.c │ │ ├── xhci.h │ │ ├── xhci_private.h │ │ └── xhci_rh.c │ └── video │ │ ├── corebootfb.c │ │ ├── font8x16.c │ │ ├── font8x16.h │ │ ├── geodelx.c │ │ ├── vga.c │ │ └── video.c │ ├── include │ ├── coreboot_tables.h │ ├── ctype.h │ ├── curses.h │ ├── curses.priv.h │ ├── errno.h │ ├── getopt.h │ ├── i386 │ │ └── arch │ │ │ ├── endian.h │ │ │ ├── io.h │ │ │ ├── msr.h │ │ │ ├── rdtsc.h │ │ │ ├── types.h │ │ │ └── virtual.h │ ├── lar.h │ ├── libpayload.h │ ├── limits.h │ ├── multiboot_tables.h │ ├── pci.h │ ├── pci │ │ └── pci.h │ ├── powerpc │ │ └── arch │ │ │ ├── endian.h │ │ │ ├── io.h │ │ │ ├── types.h │ │ │ └── virtual.h │ ├── stdarg.h │ ├── stdint.h │ ├── stdio.h │ ├── stdlib.h │ ├── string.h │ ├── sys │ │ └── types.h │ ├── sysinfo.h │ ├── unistd.h │ ├── usb │ │ ├── usb.h │ │ ├── usbdisk.h │ │ └── usbmsc.h │ └── video_console.h │ ├── lib │ └── libpayload.ldscript │ ├── libc │ ├── Makefile.inc │ ├── args.c │ ├── console.c │ ├── ctype.c │ ├── exec.c │ ├── getopt_long.c │ ├── ipchecksum.c │ ├── lar.c │ ├── lib.c │ ├── malloc.c │ ├── memory.c │ ├── printf.c │ ├── rand.c │ ├── readline.c │ ├── string.c │ ├── sysinfo.c │ └── time.c │ ├── libpci │ ├── Makefile.inc │ └── libpci.c │ ├── sample │ ├── Makefile │ └── hello.c │ └── util │ ├── kconfig │ ├── Makefile │ ├── POTFILES.in │ ├── check.sh │ ├── conf.c │ ├── confdata.c │ ├── expr.c │ ├── expr.h │ ├── gconf.c │ ├── gconf.glade │ ├── images.c │ ├── kconfig_load.c │ ├── kxgettext.c │ ├── lex.zconf.c_shipped │ ├── lkc.h │ ├── lkc_proto.h │ ├── lxdialog │ │ ├── BIG.FAT.WARNING │ │ ├── check-lxdialog.sh │ │ ├── checklist.c │ │ ├── dialog.h │ │ ├── inputbox.c │ │ ├── menubox.c │ │ ├── textbox.c │ │ ├── util.c │ │ └── yesno.c │ ├── mconf.c │ ├── menu.c │ ├── qconf.cc │ ├── qconf.h │ ├── regex.c │ ├── regex.h │ ├── symbol.c │ ├── util.c │ ├── zconf.gperf │ ├── zconf.hash.c_shipped │ ├── zconf.l │ ├── zconf.tab.c_shipped │ └── zconf.y │ └── xcompile │ └── xcompile ├── src ├── Kconfig ├── Kconfig.deprecated_options ├── arch │ └── i386 │ │ ├── Kconfig │ │ ├── Makefile.bigbootblock.inc │ │ ├── Makefile.bootblock.inc │ │ ├── Makefile.inc │ │ ├── boot │ │ ├── Makefile.inc │ │ ├── acpi.c │ │ ├── acpigen.c │ │ ├── boot.c │ │ ├── coreboot_table.c │ │ ├── gdt.c │ │ ├── mpspec.c │ │ ├── multiboot.c │ │ ├── pirq_routing.c │ │ ├── tables.c │ │ └── wakeup.S │ │ ├── coreboot_ram.ld │ │ ├── include │ │ ├── arch │ │ │ ├── acpi.h │ │ │ ├── acpigen.h │ │ │ ├── boot │ │ │ │ └── boot.h │ │ │ ├── byteorder.h │ │ │ ├── coreboot_tables.h │ │ │ ├── cpu.h │ │ │ ├── hlt.h │ │ │ ├── interrupt.h │ │ │ ├── io.h │ │ │ ├── ioapic.h │ │ │ ├── llshell.h │ │ │ ├── mmio_conf.h │ │ │ ├── pci_ops.h │ │ │ ├── pciconf.h │ │ │ ├── pirq_routing.h │ │ │ ├── registers.h │ │ │ ├── rom_segs.h │ │ │ ├── romcc_io.h │ │ │ ├── smp │ │ │ │ ├── atomic.h │ │ │ │ ├── mpspec.h │ │ │ │ └── spinlock.h │ │ │ └── stages.h │ │ ├── bitops.h │ │ ├── bootblock_common.h │ │ ├── div64.h │ │ ├── stddef.h │ │ └── stdint.h │ │ ├── init │ │ ├── Makefile.inc │ │ ├── bootblock_normal.c │ │ ├── bootblock_simple.c │ │ ├── crt0_romcc_epilogue.inc │ │ ├── entry.S │ │ ├── ldscript.ld │ │ ├── ldscript_apc.lb │ │ ├── ldscript_failover.lb │ │ ├── ldscript_fallback_cbfs.lb │ │ └── prologue.inc │ │ ├── lib │ │ ├── Makefile.inc │ │ ├── c_start.S │ │ ├── cbfs_and_run.c │ │ ├── cpu.c │ │ ├── exception.c │ │ ├── id.inc │ │ ├── id.lds │ │ ├── ioapic.c │ │ ├── pci_ops_auto.c │ │ ├── pci_ops_conf1.c │ │ ├── pci_ops_conf2.c │ │ ├── pci_ops_mmconf.c │ │ ├── printk_init.c │ │ ├── stages.c │ │ └── walkcbfs.S │ │ └── llshell │ │ ├── console.inc │ │ ├── llshell.inc │ │ ├── pci.inc │ │ ├── ramtest.inc │ │ └── readme.coreboot ├── boot │ ├── Makefile.inc │ ├── hardwaremain.c │ └── selfboot.c ├── console │ ├── Kconfig │ ├── Makefile.inc │ ├── btext_console.c │ ├── console.c │ ├── font-8x16.c │ ├── logbuf_console.c │ ├── ne2k_console.c │ ├── printk.c │ ├── uart8250_console.c │ ├── usbdebug_console.c │ ├── vga_console.c │ ├── vsprintf.c │ └── vtxprintf.c ├── cpu │ ├── Kconfig │ ├── Makefile.inc │ ├── amd │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── car │ │ │ ├── cache_as_ram.inc │ │ │ ├── disable_cache_as_ram.c │ │ │ └── post_cache_as_ram.c │ │ ├── dualcore │ │ │ ├── Makefile.inc │ │ │ ├── amd_sibling.c │ │ │ ├── dualcore.c │ │ │ └── dualcore_id.c │ │ ├── microcode │ │ │ ├── Makefile.inc │ │ │ └── microcode.c │ │ ├── model_10xxx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── apic_timer.c │ │ │ ├── defaults.h │ │ │ ├── fidvid.c │ │ │ ├── init_cpus.c │ │ │ ├── mc_patch_01000020.h │ │ │ ├── mc_patch_01000083.h │ │ │ ├── mc_patch_01000084.h │ │ │ ├── mc_patch_01000086.h │ │ │ ├── mc_patch_01000095.h │ │ │ ├── mc_patch_01000096.h │ │ │ ├── mc_patch_0100009f.h │ │ │ ├── mc_patch_010000b6.h │ │ │ ├── model_10xxx_init.c │ │ │ ├── processor_name.c │ │ │ └── update_microcode.c │ │ ├── model_fxx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── apic_timer.c │ │ │ ├── fidvid.c │ │ │ ├── init_cpus.c │ │ │ ├── microcode_rev_c.h │ │ │ ├── microcode_rev_d.h │ │ │ ├── microcode_rev_e.h │ │ │ ├── model_fxx_init.c │ │ │ ├── model_fxx_update_microcode.c │ │ │ ├── powernow_acpi.c │ │ │ └── processor_name.c │ │ ├── model_gx1 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── cpu_setup.inc │ │ │ ├── gx_setup.inc │ │ │ └── model_gx1_init.c │ │ ├── model_gx2 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── cache_as_ram.inc │ │ │ ├── cpubug.c │ │ │ ├── cpureginit.c │ │ │ ├── model_gx2_init.c │ │ │ └── syspreinit.c │ │ ├── model_lx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── cache_as_ram.inc │ │ │ ├── cpubug.c │ │ │ ├── cpureginit.c │ │ │ ├── model_lx_init.c │ │ │ ├── msrinit.c │ │ │ └── syspreinit.c │ │ ├── mtrr │ │ │ ├── Makefile.inc │ │ │ └── amd_mtrr.c │ │ ├── quadcore │ │ │ ├── Makefile.inc │ │ │ ├── amd_sibling.c │ │ │ ├── quadcore.c │ │ │ └── quadcore_id.c │ │ ├── sc520 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── raminit.c │ │ │ └── sc520.c │ │ ├── socket_754 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_754.c │ │ ├── socket_939 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_939.c │ │ ├── socket_940 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_940.c │ │ ├── socket_AM2 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_AM2.c │ │ ├── socket_AM2r2 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_AM2r2.c │ │ ├── socket_AM3 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_AM3.c │ │ ├── socket_ASB2 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_ASB2.c │ │ ├── socket_F │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_F.c │ │ ├── socket_F_1207 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_F_1207.c │ │ └── socket_S1G1 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_S1G1.c │ ├── intel │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── bga956 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── bga956.c │ │ │ └── chip.h │ │ ├── car │ │ │ └── cache_as_ram.inc │ │ ├── ep80579 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── ep80579.c │ │ │ └── ep80579_init.c │ │ ├── hyperthreading │ │ │ ├── Makefile.inc │ │ │ └── intel_sibling.c │ │ ├── microcode │ │ │ ├── Makefile.inc │ │ │ ├── microcode.c │ │ │ └── update-microcodes.sh │ │ ├── model_1067x │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── model_1067x_init.c │ │ ├── model_106cx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── cache_as_ram.inc │ │ │ ├── microcode-2963-M01106C2217.h │ │ │ ├── microcode-2964-M04106C2218.h │ │ │ ├── microcode-2965-M08106C2219.h │ │ │ ├── microcode-3101-M04106CA107.h │ │ │ ├── microcode-3104-M08106CA107.h │ │ │ ├── microcode-3107-M10106CA107.h │ │ │ └── model_106cx_init.c │ │ ├── model_68x │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── microcode-534-MU16810d.h │ │ │ ├── microcode-535-MU16810e.h │ │ │ ├── microcode-536-MU16810f.h │ │ │ ├── microcode-537-MU268110.h │ │ │ ├── microcode-538-MU168111.h │ │ │ ├── microcode-550-MU168307.h │ │ │ ├── microcode-551-MU168308.h │ │ │ ├── microcode-611-MU168607.h │ │ │ ├── microcode-612-MU168608.h │ │ │ ├── microcode-615-MU16860a.h │ │ │ ├── microcode-617-MU16860c.h │ │ │ ├── microcode-618-MU268602.h │ │ │ ├── microcode-662-MU168a01.h │ │ │ ├── microcode-691-MU168a04.h │ │ │ ├── microcode-692-MU168a05.h │ │ │ ├── microcode-727-MU168313.h │ │ │ ├── microcode-728-MU168314.h │ │ │ ├── microcode-729-MU268310.h │ │ │ └── model_68x_init.c │ │ ├── model_69x │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── model_69x_init.c │ │ ├── model_6bx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── microcode-737-MU16b11c.h │ │ │ ├── microcode-738-MU16b11d.h │ │ │ ├── microcode-875-MU16b401.h │ │ │ ├── microcode-885-MU16b402.h │ │ │ └── model_6bx_init.c │ │ ├── model_6dx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── model_6dx_init.c │ │ ├── model_6ex │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── cache_as_ram.inc │ │ │ ├── microcode-1624-m206e839.h │ │ │ ├── microcode-1729-m206ec54.h │ │ │ ├── microcode-1869-m806ec59.h │ │ │ └── model_6ex_init.c │ │ ├── model_6fx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── cache_as_ram.inc │ │ │ ├── microcode-2129-m206f257.h │ │ │ ├── microcode-2334-m016fbB6.h │ │ │ ├── microcode-2336-m106fbB6.h │ │ │ ├── microcode-2337-m806fbB6.h │ │ │ ├── microcode-2346-m16fda3.h │ │ │ ├── microcode-2347-m206fda3.h │ │ │ ├── microcode-2348-m806fda3.h │ │ │ ├── microcode-2374-m16f6cb.h │ │ │ ├── microcode-2375-m206f6cc.h │ │ │ ├── microcode-2376-m46f6cd.h │ │ │ ├── microcode-2380-m106f768.h │ │ │ ├── microcode-2381-m406f769.h │ │ │ ├── microcode-2385-m806fa94.h │ │ │ ├── microcode-2389-m16f25a.h │ │ │ ├── microcode-2986-m086fbB8.h │ │ │ ├── microcode-2990-m046fbB9.h │ │ │ ├── microcode-2991-m406fbB9.h │ │ │ └── model_6fx_init.c │ │ ├── model_6xx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── microcode-534-MU16810d.h │ │ │ ├── microcode-535-MU16810e.h │ │ │ ├── microcode-536-MU16810f.h │ │ │ ├── microcode-538-MU168111.h │ │ │ ├── microcode-550-MU168307.h │ │ │ ├── microcode-551-MU168308.h │ │ │ ├── microcode-727-MU168313.h │ │ │ ├── microcode-728-MU168314.h │ │ │ └── model_6xx_init.c │ │ ├── model_f0x │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── model_f0x_init.c │ │ │ └── multiplier.h │ │ ├── model_f1x │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── model_f1x_init.c │ │ │ └── multiplier.h │ │ ├── model_f2x │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── microcode_m02f2203.h │ │ │ ├── microcode_m02f2410.h │ │ │ ├── microcode_m02f2728.h │ │ │ ├── microcode_m02f2734.h │ │ │ ├── microcode_m02f2918.h │ │ │ └── model_f2x_init.c │ │ ├── model_f3x │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── microcode-1290-m0df320a.h │ │ │ ├── microcode-1467-m0df330c.h │ │ │ ├── microcode-1468-m1df3417.h │ │ │ └── model_f3x_init.c │ │ ├── model_f4x │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── microcode_MBDF410D.h │ │ │ └── model_f4x_init.c │ │ ├── slot_1 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── slot_1.c │ │ ├── slot_2 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── slot_2.c │ │ ├── socket_441 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_441.c │ │ ├── socket_FC_PGA370 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_FC_PGA370.c │ │ ├── socket_PGA370 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_PGA370.c │ │ ├── socket_mFCBGA479 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_mFCBGA479.c │ │ ├── socket_mFCPGA478 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_mFCPGA478.c │ │ ├── socket_mPGA478 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_mPGA478.c │ │ ├── socket_mPGA479M │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_mPGA479M.c │ │ ├── socket_mPGA603 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_mPGA603_400Mhz.c │ │ ├── socket_mPGA604 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── socket_mPGA604.c │ │ ├── speedstep │ │ │ ├── Makefile.inc │ │ │ └── acpi.c │ │ └── thermal_monitoring │ │ │ └── thermal_monitoring.h │ ├── via │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── car │ │ │ └── cache_as_ram.inc │ │ ├── model_c3 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── model_c3_init.c │ │ └── model_c7 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── model_c7_init.c │ └── x86 │ │ ├── 16bit │ │ ├── entry16.inc │ │ ├── entry16.lds │ │ ├── reset16.inc │ │ └── reset16.lds │ │ ├── 32bit │ │ ├── entry32.inc │ │ └── entry32.lds │ │ ├── Kconfig │ │ ├── cache │ │ ├── Makefile.inc │ │ └── cache.c │ │ ├── fpu_enable.inc │ │ ├── lapic │ │ ├── Makefile.inc │ │ ├── apic_timer.c │ │ ├── boot_cpu.c │ │ ├── lapic.c │ │ ├── lapic_cpu_init.c │ │ └── secondary.S │ │ ├── mmx_disable.inc │ │ ├── mtrr │ │ ├── Makefile.inc │ │ ├── earlymtrr.c │ │ └── mtrr.c │ │ ├── name │ │ ├── Makefile.inc │ │ └── name.c │ │ ├── pae │ │ ├── Makefile.inc │ │ └── pgtbl.c │ │ ├── smm │ │ ├── Makefile.inc │ │ ├── smihandler.c │ │ ├── smiutil.c │ │ ├── smm.ld │ │ ├── smmhandler.S │ │ └── smmrelocate.S │ │ ├── sse_disable.inc │ │ ├── sse_enable.inc │ │ └── tsc │ │ ├── Makefile.inc │ │ └── delay_tsc.c ├── devices │ ├── Kconfig │ ├── Makefile.inc │ ├── agp_device.c │ ├── cardbus_device.c │ ├── device.c │ ├── device_util.c │ ├── hypertransport.c │ ├── oprom │ │ ├── Makefile.inc │ │ ├── include │ │ │ └── x86emu │ │ │ │ ├── fpu_regs.h │ │ │ │ ├── regs.h │ │ │ │ ├── types.h │ │ │ │ └── x86emu.h │ │ ├── x86.c │ │ ├── x86_asm.S │ │ ├── x86_interrupts.c │ │ ├── x86emu │ │ │ ├── LICENSE │ │ │ ├── Makefile.inc │ │ │ ├── debug.c │ │ │ ├── debug.h │ │ │ ├── decode.c │ │ │ ├── decode.h │ │ │ ├── fpu.c │ │ │ ├── fpu.h │ │ │ ├── ops.c │ │ │ ├── ops.h │ │ │ ├── ops2.c │ │ │ ├── prim_asm.h │ │ │ ├── prim_ops.c │ │ │ ├── prim_ops.h │ │ │ ├── sys.c │ │ │ └── x86emui.h │ │ └── yabel │ │ │ ├── Makefile.inc │ │ │ ├── biosemu.c │ │ │ ├── biosemu.h │ │ │ ├── compat │ │ │ ├── Makefile.inc │ │ │ ├── functions.c │ │ │ ├── of.h │ │ │ ├── rtas.h │ │ │ └── time.h │ │ │ ├── debug.c │ │ │ ├── debug.h │ │ │ ├── device.c │ │ │ ├── device.h │ │ │ ├── interrupt.c │ │ │ ├── interrupt.h │ │ │ ├── io.c │ │ │ ├── io.h │ │ │ ├── mem.c │ │ │ ├── mem.h │ │ │ ├── pmm.c │ │ │ ├── pmm.h │ │ │ ├── vbe.c │ │ │ └── vbe.h │ ├── pci_device.c │ ├── pci_ops.c │ ├── pci_rom.c │ ├── pciexp_device.c │ ├── pcix_device.c │ ├── pnp_device.c │ ├── root_device.c │ └── smbus_ops.c ├── drivers │ ├── Kconfig │ ├── Makefile.inc │ ├── ati │ │ └── ragexl │ │ │ ├── Makefile.inc │ │ │ ├── atyfb.h │ │ │ ├── fb.h │ │ │ ├── fbcon.h │ │ │ ├── mach64.h │ │ │ ├── mach64_ct.c │ │ │ └── xlinit.c │ ├── dec │ │ ├── 21143 │ │ │ ├── 21143.c │ │ │ ├── Kconfig │ │ │ └── Makefile.inc │ │ ├── Kconfig │ │ └── Makefile.inc │ ├── emulation │ │ └── qemu │ │ │ ├── fb.h │ │ │ ├── fbcon.h │ │ │ └── init.c │ ├── generic │ │ └── debug │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── debug_dev.c │ ├── i2c │ │ ├── adm1026 │ │ │ ├── adm1026.c │ │ │ └── chip.h │ │ ├── adm1027 │ │ │ ├── adm1027.c │ │ │ └── chip.h │ │ ├── adt7463 │ │ │ ├── adt7463.c │ │ │ └── chip.h │ │ ├── i2cmux │ │ │ ├── chip.h │ │ │ └── i2cmux.c │ │ ├── i2cmux2 │ │ │ ├── chip.h │ │ │ └── i2cmux2.c │ │ └── lm63 │ │ │ ├── chip.h │ │ │ └── lm63.c │ ├── sil │ │ └── 3114 │ │ │ ├── Makefile.inc │ │ │ └── sil_sata.c │ └── trident │ │ └── blade3d │ │ └── blade3d.c ├── include │ ├── arch-generic │ │ └── div64.h │ ├── assert.h │ ├── boot │ │ ├── coreboot_tables.h │ │ ├── elf.h │ │ ├── elf_boot.h │ │ └── tables.h │ ├── cbfs.h │ ├── cbmem.h │ ├── console │ │ ├── btext.h │ │ ├── console.h │ │ ├── loglevel.h │ │ ├── ne2k.h │ │ └── vtxprintf.h │ ├── cpu │ │ ├── amd │ │ │ ├── amdfam10_sysconf.h │ │ │ ├── amdk8_sysconf.h │ │ │ ├── geode_post_code.h │ │ │ ├── gx1def.h │ │ │ ├── gx2def.h │ │ │ ├── lxdef.h │ │ │ ├── microcode.h │ │ │ ├── model_10xxx_msr.h │ │ │ ├── model_10xxx_rev.h │ │ │ ├── model_fxx_msr.h │ │ │ ├── model_fxx_powernow.h │ │ │ ├── model_fxx_rev.h │ │ │ ├── mtrr.h │ │ │ ├── multicore.h │ │ │ ├── sc520.h │ │ │ └── vr.h │ │ ├── cpu.h │ │ ├── intel │ │ │ ├── hyperthreading.h │ │ │ └── microcode.h │ │ └── x86 │ │ │ ├── bist.h │ │ │ ├── cache.h │ │ │ ├── car.h │ │ │ ├── lapic.h │ │ │ ├── lapic_def.h │ │ │ ├── msr.h │ │ │ ├── mtrr.h │ │ │ ├── multiboot.h │ │ │ ├── name.h │ │ │ ├── pae.h │ │ │ ├── post_code.h │ │ │ ├── smm.h │ │ │ ├── stack.h │ │ │ └── tsc.h │ ├── delay.h │ ├── device │ │ ├── agp.h │ │ ├── cardbus.h │ │ ├── device.h │ │ ├── hypertransport.h │ │ ├── hypertransport_def.h │ │ ├── path.h │ │ ├── pci.h │ │ ├── pci_def.h │ │ ├── pci_ids.h │ │ ├── pci_ops.h │ │ ├── pci_rom.h │ │ ├── pciexp.h │ │ ├── pcix.h │ │ ├── pnp.h │ │ ├── pnp_def.h │ │ ├── resource.h │ │ ├── smbus.h │ │ └── smbus_def.h │ ├── ehci.h │ ├── fallback.h │ ├── ip_checksum.h │ ├── lib.h │ ├── pc80 │ │ ├── i8254.h │ │ ├── i8259.h │ │ ├── isa-dma.h │ │ ├── keyboard.h │ │ ├── mc146818rtc.h │ │ ├── vga.h │ │ └── vga_io.h │ ├── reset.h │ ├── sdram_mode.h │ ├── smp │ │ ├── atomic.h │ │ └── spinlock.h │ ├── spd.h │ ├── spd_ddr2.h │ ├── stdlib.h │ ├── string.h │ ├── swab.h │ ├── types.h │ ├── uart8250.h │ ├── usb_ch9.h │ ├── usbdebug.h │ ├── version.h │ └── watchdog.h ├── lib │ ├── Makefile.inc │ ├── cbfs.c │ ├── cbmem.c │ ├── clog2.c │ ├── compute_ip_checksum.c │ ├── debug.c │ ├── delay.c │ ├── fallback_boot.c │ ├── gcc.c │ ├── generic_dump_spd.c │ ├── generic_sdram.c │ ├── jpeg.c │ ├── jpeg.h │ ├── lzma.c │ ├── lzmadecode.c │ ├── lzmadecode.h │ ├── malloc.c │ ├── memcmp.c │ ├── memcpy.c │ ├── memmove.c │ ├── memset.c │ ├── ne2k.c │ ├── nrv2b.c │ ├── ns8390.h │ ├── ramtest.c │ ├── uart8250.c │ ├── usbdebug.c │ ├── version.c │ └── xmodem.c ├── mainboard │ ├── Kconfig │ ├── a-trend │ │ ├── Kconfig │ │ ├── atc-6220 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── atc-6240 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── abit │ │ ├── Kconfig │ │ └── be6-ii_v2_0 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── advantech │ │ ├── Kconfig │ │ └── pcm-5820 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── amd │ │ ├── Kconfig │ │ ├── db800 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── dbm690t │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── debug.asl │ │ │ │ ├── globutil.asl │ │ │ │ ├── ide.asl │ │ │ │ ├── routing.asl │ │ │ │ ├── sata.asl │ │ │ │ ├── statdef.asl │ │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── mahogany │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── debug.asl │ │ │ │ ├── globutil.asl │ │ │ │ ├── ide.asl │ │ │ │ ├── routing.asl │ │ │ │ ├── sata.asl │ │ │ │ ├── statdef.asl │ │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── mahogany_fam10 │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── cpstate.asl │ │ │ │ ├── debug.asl │ │ │ │ ├── globutil.asl │ │ │ │ ├── ide.asl │ │ │ │ ├── routing.asl │ │ │ │ ├── sata.asl │ │ │ │ ├── statdef.asl │ │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ └── spd_addr.h │ │ ├── norwich │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── pistachio │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── debug.asl │ │ │ │ ├── globutil.asl │ │ │ │ ├── ide.asl │ │ │ │ ├── routing.asl │ │ │ │ ├── sata.asl │ │ │ │ ├── statdef.asl │ │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── rumba │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── serengeti_cheetah │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi │ │ │ │ ├── amd8111.asl │ │ │ │ ├── amd8111_isa.asl │ │ │ │ ├── amd8111_pic.asl │ │ │ │ ├── amd8131.asl │ │ │ │ ├── amd8131_2.asl │ │ │ │ ├── amd8132_2.asl │ │ │ │ ├── amd8151.asl │ │ │ │ ├── pci0_hc.asl │ │ │ │ ├── pci2_hc.asl │ │ │ │ ├── pci3_hc.asl │ │ │ │ ├── pci4_hc.asl │ │ │ │ └── superio.asl │ │ │ ├── acpi_tables.c │ │ │ ├── ap_romstage.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── readme_acpi.txt │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ ├── ssdt2.asl │ │ │ ├── ssdt3.asl │ │ │ └── ssdt4.asl │ │ ├── serengeti_cheetah_fam10 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi │ │ │ │ ├── amd8111.asl │ │ │ │ ├── amd8111_isa.asl │ │ │ │ ├── amd8111_pic.asl │ │ │ │ ├── amd8131_2.asl │ │ │ │ ├── amd8132.asl │ │ │ │ ├── amd8132_2.asl │ │ │ │ ├── amd8151.asl │ │ │ │ ├── htx_no_ioapic.asl │ │ │ │ ├── pci0_hc.asl │ │ │ │ ├── pci2_hc.asl │ │ │ │ ├── pci3_hc.asl │ │ │ │ ├── pci4_hc.asl │ │ │ │ ├── pci5_hc.asl │ │ │ │ └── superio.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ ├── spd_addr.h │ │ │ ├── ssdt2.asl │ │ │ ├── ssdt3.asl │ │ │ ├── ssdt4.asl │ │ │ └── ssdt5.asl │ │ └── tilapia_fam10 │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ ├── cpstate.asl │ │ │ ├── debug.asl │ │ │ ├── globutil.asl │ │ │ ├── ide.asl │ │ │ ├── routing.asl │ │ │ ├── sata.asl │ │ │ ├── statdef.asl │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ └── spd_addr.h │ ├── arima │ │ ├── Kconfig │ │ └── hdama │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── debug.c │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ ├── artecgroup │ │ ├── Kconfig │ │ └── dbe61 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── romstage.c │ │ │ └── spd_table.h │ ├── asi │ │ ├── Kconfig │ │ ├── mb_5blgp │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── mb_5blmp │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── asrock │ │ ├── 939a785gmh │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── debug.asl │ │ │ │ ├── globutil.asl │ │ │ │ ├── ide.asl │ │ │ │ ├── routing.asl │ │ │ │ ├── sata.asl │ │ │ │ ├── statdef.asl │ │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ └── Kconfig │ ├── asus │ │ ├── Kconfig │ │ ├── a8n_e │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── a8v-e_se │ │ │ ├── Kconfig │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── m2v-mx_se │ │ │ ├── Kconfig │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── m4a785-m │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── cpstate.asl │ │ │ │ ├── debug.asl │ │ │ │ ├── globutil.asl │ │ │ │ ├── ide.asl │ │ │ │ ├── routing.asl │ │ │ │ ├── sata.asl │ │ │ │ ├── statdef.asl │ │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ └── spd_addr.h │ │ ├── mew-am │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── mew-vm │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── p2b-d │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── p2b-ds │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── p2b-f │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── p2b-ls │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── p2b │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── p3b-f │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── axus │ │ ├── Kconfig │ │ └── tc320 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── azza │ │ ├── Kconfig │ │ └── pt-6ibd │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── bcom │ │ ├── Kconfig │ │ ├── winnet100 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── winnetp680 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── biostar │ │ ├── Kconfig │ │ └── m6tba │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── broadcom │ │ ├── Kconfig │ │ └── blast │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── compaq │ │ ├── Kconfig │ │ └── deskpro_en_sff_p600 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── dell │ │ ├── Kconfig │ │ └── s1850 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── debug.c │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── reset.c │ │ │ ├── romstage.c │ │ │ ├── s1850_fixups.c │ │ │ └── watchdog.c │ ├── digitallogic │ │ ├── Kconfig │ │ ├── adl855pc │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── msm586seg │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── msm800sev │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── eaglelion │ │ ├── 5bcm │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── Kconfig │ ├── ecs │ │ ├── Kconfig │ │ └── p6iwp-fe │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── emulation │ │ ├── Kconfig │ │ └── qemu-x86 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── northbridge.c │ │ │ └── romstage.c │ ├── getac │ │ ├── Kconfig │ │ └── p470 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi │ │ │ ├── battery.asl │ │ │ ├── ec.asl │ │ │ ├── gpe.asl │ │ │ ├── i945_pci_irqs.asl │ │ │ ├── ich7_pci_irqs.asl │ │ │ ├── mainboard.asl │ │ │ ├── platform.asl │ │ │ ├── superio.asl │ │ │ ├── thermal.asl │ │ │ └── video.asl │ │ │ ├── acpi_slic.c │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dmi.h │ │ │ ├── dsdt.asl │ │ │ ├── ec.c │ │ │ ├── ec.h │ │ │ ├── fadt.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mainboard_smi.c │ │ │ ├── mptable.c │ │ │ ├── romstage.c │ │ │ └── rtl8168.c │ ├── gigabyte │ │ ├── Kconfig │ │ ├── ga-6bxc │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── ga-6bxe │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── ga_2761gxdk │ │ │ ├── Kconfig │ │ │ ├── ap_romstage.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── m57sli │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi_tables.c │ │ │ ├── ap_romstage.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fanctl.c │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── ma785gmt │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── cpstate.asl │ │ │ │ ├── debug.asl │ │ │ │ ├── globutil.asl │ │ │ │ ├── ide.asl │ │ │ │ ├── routing.asl │ │ │ │ ├── sata.asl │ │ │ │ ├── statdef.asl │ │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ └── ma78gm │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ ├── cpstate.asl │ │ │ ├── debug.asl │ │ │ ├── globutil.asl │ │ │ ├── ide.asl │ │ │ ├── routing.asl │ │ │ ├── sata.asl │ │ │ ├── statdef.asl │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── hp │ │ ├── Kconfig │ │ ├── dl145_g1 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── dl145_g3 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── dl165_g6_fam10 │ │ │ ├── Kconfig │ │ │ ├── bootblock.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── romstage.c │ │ │ └── spd_addr.h │ │ └── e_vectra_p2706t │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── ibase │ │ ├── Kconfig │ │ └── mb899 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi │ │ │ ├── ec.asl │ │ │ ├── i945_pci_irqs.asl │ │ │ ├── ich7_pci_irqs.asl │ │ │ ├── platform.asl │ │ │ ├── superio.asl │ │ │ ├── thermal.asl │ │ │ └── video.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dmi.h │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mainboard_smi.c │ │ │ ├── mptable.c │ │ │ ├── romstage.c │ │ │ └── rtl8168.c │ ├── ibm │ │ ├── Kconfig │ │ ├── e325 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ └── e326 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── iei │ │ ├── Kconfig │ │ ├── juki-511p │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── kino-780am2-fam10 │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── cpstate.asl │ │ │ │ ├── debug.asl │ │ │ │ ├── globutil.asl │ │ │ │ ├── ide.asl │ │ │ │ ├── routing.asl │ │ │ │ ├── sata.asl │ │ │ │ ├── statdef.asl │ │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ └── spd_addr.h │ │ ├── nova4899r │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── pcisa-lx-800-r10 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── intel │ │ ├── Kconfig │ │ ├── d810e2cb │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── gpio.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── d945gclf │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi │ │ │ │ ├── ec.asl │ │ │ │ ├── i945_pci_irqs.asl │ │ │ │ ├── ich7_pci_irqs.asl │ │ │ │ ├── mainboard.asl │ │ │ │ ├── platform.asl │ │ │ │ ├── superio.asl │ │ │ │ ├── thermal.asl │ │ │ │ └── video.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dmi.h │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mainboard_smi.c │ │ │ ├── mptable.c │ │ │ ├── romstage.c │ │ │ └── rtl8168.c │ │ ├── eagleheights │ │ │ ├── Kconfig │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── debug.c │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── ioapic.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── reset.c │ │ │ └── romstage.c │ │ ├── jarrell │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── debug.c │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── jarrell_fixups.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── power_reset_check.c │ │ │ ├── reset.c │ │ │ ├── romstage.c │ │ │ └── watchdog.c │ │ ├── mtarvon │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── truxton │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ └── xe7501devkit │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi_tables.c │ │ │ ├── bus.h │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── ioapic.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── reset.c │ │ │ └── romstage.c │ ├── iwill │ │ ├── Kconfig │ │ ├── dk8_htx │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── amd8111.asl │ │ │ │ ├── amd8111_isa.asl │ │ │ │ ├── amd8111_pic.asl │ │ │ │ ├── amd8131.asl │ │ │ │ ├── amd8131_2.asl │ │ │ │ ├── amd8132_2.asl │ │ │ │ ├── amd8151.asl │ │ │ │ ├── htx_no_ioapic.asl │ │ │ │ ├── pci0_hc.asl │ │ │ │ ├── pci2_hc.asl │ │ │ │ ├── pci3_hc.asl │ │ │ │ ├── pci4_hc.asl │ │ │ │ ├── pci5_hc.asl │ │ │ │ └── superio.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ ├── ssdt2.asl │ │ │ ├── ssdt3.asl │ │ │ ├── ssdt4.asl │ │ │ └── ssdt5.asl │ │ ├── dk8s2 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ └── dk8x │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ ├── jetway │ │ ├── Kconfig │ │ ├── j7f24 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── pa78vm5 │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ ├── cpstate.asl │ │ │ ├── debug.asl │ │ │ ├── globutil.asl │ │ │ ├── ide.asl │ │ │ ├── routing.asl │ │ │ ├── sata.asl │ │ │ ├── statdef.asl │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── kontron │ │ ├── 986lcd-m │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi │ │ │ │ ├── ec.asl │ │ │ │ ├── i945_pci_irqs.asl │ │ │ │ ├── ich7_pci_irqs.asl │ │ │ │ ├── platform.asl │ │ │ │ ├── superio.asl │ │ │ │ ├── thermal.asl │ │ │ │ └── video.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dmi.h │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mainboard_smi.c │ │ │ ├── mptable.c │ │ │ ├── romstage.c │ │ │ └── rtl8168.c │ │ ├── Kconfig │ │ └── kt690 │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ ├── debug.asl │ │ │ ├── globutil.asl │ │ │ ├── ide.asl │ │ │ ├── routing.asl │ │ │ ├── sata.asl │ │ │ ├── statdef.asl │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── lanner │ │ ├── Kconfig │ │ └── em8510 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── lippert │ │ ├── Kconfig │ │ ├── frontrunner │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── hurricane-lx │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── literunner-lx │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── roadrunner-lx │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── spacerunner-lx │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── mitac │ │ ├── 6513wu │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── Kconfig │ ├── msi │ │ ├── Kconfig │ │ ├── ms6119 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── ms6147 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── ms6156 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── ms6178 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── ms7135 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── ms7260 │ │ │ ├── Kconfig │ │ │ ├── ap_romstage.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── ms9185 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── ms9282 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ └── ms9652_fam10 │ │ │ ├── Kconfig │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ └── spd_addr.h │ ├── nec │ │ ├── Kconfig │ │ └── powermate2000 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── newisys │ │ ├── Kconfig │ │ └── khepri │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── nokia │ │ ├── Kconfig │ │ └── ip530 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── nvidia │ │ ├── Kconfig │ │ └── l1_2pvv │ │ │ ├── Kconfig │ │ │ ├── ap_romstage.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── pcengines │ │ ├── Kconfig │ │ ├── alix1c │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ └── alix2d │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── rca │ │ ├── Kconfig │ │ └── rm4100 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── gpio.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mainboard_smi.c │ │ │ ├── romstage.c │ │ │ └── spd_table.h │ ├── roda │ │ ├── Kconfig │ │ └── rk886ex │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi │ │ │ ├── battery.asl │ │ │ ├── ec.asl │ │ │ ├── gpe.asl │ │ │ ├── i945_pci_irqs.asl │ │ │ ├── ich7_pci_irqs.asl │ │ │ ├── mainboard.asl │ │ │ ├── platform.asl │ │ │ ├── superio.asl │ │ │ ├── thermal.asl │ │ │ └── video.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dmi.h │ │ │ ├── dsdt.asl │ │ │ ├── ec.c │ │ │ ├── ec.h │ │ │ ├── fadt.c │ │ │ ├── irq_tables.c │ │ │ ├── m3885.c │ │ │ ├── m3885.h │ │ │ ├── mainboard.c │ │ │ ├── mainboard_smi.c │ │ │ ├── mptable.c │ │ │ ├── romstage.c │ │ │ └── rtl8168.c │ ├── soyo │ │ ├── Kconfig │ │ └── sy-6ba-plus-iii │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── sunw │ │ ├── Kconfig │ │ └── ultra40 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── supermicro │ │ ├── Kconfig │ │ ├── h8dme │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── ap_romstage.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── h8dmr │ │ │ ├── Kconfig │ │ │ ├── ap_romstage.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── h8dmr_fam10 │ │ │ ├── Kconfig │ │ │ ├── README │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ └── spd_addr.h │ │ ├── h8qme_fam10 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ └── spd_addr.h │ │ ├── x6dai_g │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── debug.c │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── reset.c │ │ │ ├── romstage.c │ │ │ └── watchdog.c │ │ ├── x6dhe_g │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── debug.c │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── reset.c │ │ │ ├── romstage.c │ │ │ ├── watchdog.c │ │ │ └── x6dhe_g_fixups.c │ │ ├── x6dhe_g2 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── debug.c │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── reset.c │ │ │ ├── romstage.c │ │ │ ├── watchdog.c │ │ │ └── x6dhe_g2_fixups.c │ │ ├── x6dhr_ig │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── debug.c │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── reset.c │ │ │ ├── romstage.c │ │ │ ├── watchdog.c │ │ │ └── x6dhr_fixups.c │ │ └── x6dhr_ig2 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── debug.c │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── reset.c │ │ │ ├── romstage.c │ │ │ ├── watchdog.c │ │ │ └── x6dhr2_fixups.c │ ├── technexion │ │ ├── Kconfig │ │ ├── tim5690 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi │ │ │ │ ├── debug.asl │ │ │ │ ├── globutil.asl │ │ │ │ ├── ide.asl │ │ │ │ ├── routing.asl │ │ │ │ ├── sata.asl │ │ │ │ ├── statdef.asl │ │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ ├── speaker.c │ │ │ ├── speaker.h │ │ │ ├── tn_post_code.c │ │ │ ├── tn_post_code.h │ │ │ ├── vgabios.c │ │ │ └── vgabios.h │ │ └── tim8690 │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ ├── debug.asl │ │ │ ├── globutil.asl │ │ │ ├── ide.asl │ │ │ ├── routing.asl │ │ │ ├── sata.asl │ │ │ ├── statdef.asl │ │ │ └── usb.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── technologic │ │ ├── Kconfig │ │ └── ts5300 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── televideo │ │ ├── Kconfig │ │ └── tc7020 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── thomson │ │ ├── Kconfig │ │ └── ip1000 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── gpio.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mainboard_smi.c │ │ │ ├── romstage.c │ │ │ └── spd_table.h │ ├── traverse │ │ ├── Kconfig │ │ └── geos │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ ├── tyan │ │ ├── Kconfig │ │ ├── s1846 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── devicetree.cb │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── s2735 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── reset.c │ │ │ └── romstage.c │ │ ├── s2850 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── s2875 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── s2880 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── s2881 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── s2882 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── s2885 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── s2891 │ │ │ ├── Kconfig │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── s2892 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── s2895 │ │ │ ├── Kconfig │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── get_bus_conf.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── s2912 │ │ │ ├── Kconfig │ │ │ ├── ap_romstage.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ ├── s2912_fam10 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── get_bus_conf.c │ │ │ ├── hda_verb.h │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mb_sysconf.h │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ ├── romstage.c │ │ │ └── spd_addr.h │ │ ├── s4880 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ │ └── s4882 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ ├── resourcemap.c │ │ │ └── romstage.c │ ├── via │ │ ├── Kconfig │ │ ├── epia-cn │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── epia-m │ │ │ ├── Kconfig │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── dsdt.c │ │ │ ├── fadt.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── epia-m700 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── driving_clk_phase_data.c │ │ │ ├── fadt.c │ │ │ ├── get_dsdt │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── romstage.c │ │ │ ├── wakeup.c │ │ │ └── wakeup.h │ │ ├── epia-n │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ │ ├── irq_links.asl │ │ │ │ ├── pata_methods.asl │ │ │ │ ├── pci_init.asl │ │ │ │ └── sb_physical.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ ├── epia │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ │ ├── pc2500e │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ │ └── vt8454c │ │ │ ├── Kconfig │ │ │ ├── acpi │ │ │ ├── irq-p2p-bridge.asl │ │ │ └── irq.asl │ │ │ ├── acpi_tables.c │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── dmi.h │ │ │ ├── dsdt.asl │ │ │ ├── fadt.c │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ ├── mptable.c │ │ │ └── romstage.c │ ├── winent │ │ ├── Kconfig │ │ └── pl6064 │ │ │ ├── Kconfig │ │ │ ├── chip.h │ │ │ ├── cmos.layout │ │ │ ├── devicetree.cb │ │ │ ├── irq_tables.c │ │ │ ├── mainboard.c │ │ │ └── romstage.c │ └── wyse │ │ ├── Kconfig │ │ └── s50 │ │ ├── Kconfig │ │ ├── chip.h │ │ ├── cmos.layout │ │ ├── devicetree.cb │ │ ├── irq_tables.c │ │ ├── mainboard.c │ │ └── romstage.c ├── northbridge │ ├── Kconfig │ ├── Makefile.inc │ ├── amd │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── amdfam10 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── amdfam10.h │ │ │ ├── amdfam10_acpi.c │ │ │ ├── amdfam10_conf.c │ │ │ ├── amdfam10_nums.h │ │ │ ├── amdfam10_pci.c │ │ │ ├── amdfam10_util.asl │ │ │ ├── bootblock.c │ │ │ ├── chip.h │ │ │ ├── debug.c │ │ │ ├── early_ht.c │ │ │ ├── get_pci1234.c │ │ │ ├── misc_control.c │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── raminit.h │ │ │ ├── raminit_amdmct.c │ │ │ ├── raminit_sysinfo_in_ram.c │ │ │ ├── reset_test.c │ │ │ ├── resourcemap.c │ │ │ ├── root_complex │ │ │ │ ├── Kconfig │ │ │ │ └── chip.h │ │ │ ├── setup_resource_map.c │ │ │ ├── ssdt.asl │ │ │ ├── sspr1.asl │ │ │ ├── sspr2.asl │ │ │ ├── sspr3.asl │ │ │ ├── sspr4.asl │ │ │ ├── sspr5.asl │ │ │ └── util.c │ │ ├── amdht │ │ │ ├── AsPsDefs.h │ │ │ ├── AsPsNb.c │ │ │ ├── AsPsNb.h │ │ │ ├── comlib.c │ │ │ ├── comlib.h │ │ │ ├── h3ffeat.h │ │ │ ├── h3finit.c │ │ │ ├── h3finit.h │ │ │ ├── h3gtopo.h │ │ │ ├── h3ncmn.c │ │ │ ├── h3ncmn.h │ │ │ ├── ht_wrapper.c │ │ │ └── porting.h │ │ ├── amdk8 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── amdk8.h │ │ │ ├── amdk8_acpi.c │ │ │ ├── amdk8_acpi.h │ │ │ ├── amdk8_f.h │ │ │ ├── amdk8_f_pci.c │ │ │ ├── amdk8_pre_f.h │ │ │ ├── amdk8_util.asl │ │ │ ├── chip.h │ │ │ ├── coherent_ht.c │ │ │ ├── debug.c │ │ │ ├── early_ht.c │ │ │ ├── exit_from_self.c │ │ │ ├── get_sblk_pci1234.c │ │ │ ├── incoherent_ht.c │ │ │ ├── misc_control.c │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── raminit.c │ │ │ ├── raminit.h │ │ │ ├── raminit_f.c │ │ │ ├── raminit_f_dqs.c │ │ │ ├── raminit_test.c │ │ │ ├── reset_test.c │ │ │ ├── resourcemap.c │ │ │ ├── root_complex │ │ │ │ ├── Kconfig │ │ │ │ └── chip.h │ │ │ ├── setup_resource_map.c │ │ │ └── util.c │ │ ├── amdmct │ │ │ ├── amddefs.h │ │ │ ├── mct │ │ │ │ ├── mct.h │ │ │ │ ├── mct_d.c │ │ │ │ ├── mct_d.h │ │ │ │ ├── mct_d_gcc.h │ │ │ │ ├── mctardk3.c │ │ │ │ ├── mctardk4.c │ │ │ │ ├── mctchi_d.c │ │ │ │ ├── mctcsi_d.c │ │ │ │ ├── mctdqs_d.c │ │ │ │ ├── mctecc_d.c │ │ │ │ ├── mctgr.c │ │ │ │ ├── mcthdi.c │ │ │ │ ├── mctmtr_d.c │ │ │ │ ├── mctndi_d.c │ │ │ │ ├── mctpro_d.c │ │ │ │ ├── mctsrc.c │ │ │ │ ├── mctsrc1p.c │ │ │ │ ├── mctsrc2p.c │ │ │ │ └── mcttmrl.c │ │ │ ├── mct_ddr3 │ │ │ │ ├── mct_d.c │ │ │ │ ├── mct_d.h │ │ │ │ ├── mct_d_gcc.h │ │ │ │ ├── mctardk5.c │ │ │ │ ├── mctardk6.c │ │ │ │ ├── mctchi_d.c │ │ │ │ ├── mctcsi_d.c │ │ │ │ ├── mctdqs_d.c │ │ │ │ ├── mctecc_d.c │ │ │ │ ├── mcthdi.c │ │ │ │ ├── mcthwl.c │ │ │ │ ├── mctmtr_d.c │ │ │ │ ├── mctndi_d.c │ │ │ │ ├── mctprob.c │ │ │ │ ├── mctproc.c │ │ │ │ ├── mctrci.c │ │ │ │ ├── mctsdi.c │ │ │ │ ├── mctsrc.c │ │ │ │ ├── mctsrc1p.c │ │ │ │ ├── mctsrc2p.c │ │ │ │ ├── mcttmrl.c │ │ │ │ ├── mctwl.c │ │ │ │ ├── mhwlc_d.c │ │ │ │ ├── modtrdim.c │ │ │ │ ├── mport_d.c │ │ │ │ ├── mutilc_d.c │ │ │ │ └── mwlc_d.h │ │ │ └── wrappers │ │ │ │ ├── mcti.h │ │ │ │ └── mcti_d.c │ │ ├── gx1 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── raminit.c │ │ │ └── raminit.h │ │ ├── gx2 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── grphinit.c │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── northbridgeinit.c │ │ │ ├── pll_reset.c │ │ │ ├── raminit.c │ │ │ └── raminit.h │ │ └── lx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── grphinit.c │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── northbridgeinit.c │ │ │ ├── pll_reset.c │ │ │ ├── raminit.c │ │ │ └── raminit.h │ ├── intel │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── e7501 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── debug.c │ │ │ ├── e7501.h │ │ │ ├── northbridge.c │ │ │ ├── raminit.c │ │ │ ├── raminit.h │ │ │ └── reset_test.c │ │ ├── e7520 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── e7520.h │ │ │ ├── memory_initialized.c │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── pciexp_porta.c │ │ │ ├── pciexp_porta1.c │ │ │ ├── pciexp_portb.c │ │ │ ├── pciexp_portc.c │ │ │ ├── raminit.c │ │ │ └── raminit.h │ │ ├── e7525 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── e7525.h │ │ │ ├── memory_initialized.c │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── pciexp_porta.c │ │ │ ├── pciexp_porta1.c │ │ │ ├── pciexp_portb.c │ │ │ ├── pciexp_portc.c │ │ │ ├── raminit.c │ │ │ └── raminit.h │ │ ├── i3100 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── ep80579.h │ │ │ ├── i3100.h │ │ │ ├── memory_initialized.c │ │ │ ├── northbridge.c │ │ │ ├── pciexp_porta.c │ │ │ ├── pciexp_porta_ep80579.c │ │ │ ├── raminit.c │ │ │ ├── raminit.h │ │ │ ├── raminit_ep80579.c │ │ │ ├── raminit_ep80579.h │ │ │ └── reset_test.c │ │ ├── i440bx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── debug.c │ │ │ ├── i440bx.h │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── raminit.c │ │ │ └── raminit.h │ │ ├── i440lx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── i440lx.h │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── raminit.c │ │ │ └── raminit.h │ │ ├── i82810 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── debug.c │ │ │ ├── i82810.h │ │ │ ├── northbridge.c │ │ │ ├── northbridge.h │ │ │ ├── raminit.c │ │ │ └── raminit.h │ │ ├── i82830 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── i82830.h │ │ │ ├── i82830_smihandler.c │ │ │ ├── memory_initialized.c │ │ │ ├── northbridge.c │ │ │ ├── raminit.c │ │ │ ├── raminit.h │ │ │ └── vga.c │ │ ├── i855 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── debug.c │ │ │ ├── i855.h │ │ │ ├── northbridge.c │ │ │ ├── raminit.c │ │ │ ├── raminit.h │ │ │ └── reset_test.c │ │ └── i945 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi.c │ │ │ ├── acpi │ │ │ ├── i945.asl │ │ │ ├── i945_hostbridge.asl │ │ │ ├── i945_igd.asl │ │ │ └── i945_peg.asl │ │ │ ├── chip.h │ │ │ ├── debug.c │ │ │ ├── early_init.c │ │ │ ├── errata.c │ │ │ ├── gma.c │ │ │ ├── i945.h │ │ │ ├── northbridge.c │ │ │ ├── pcie_config.c │ │ │ ├── raminit.c │ │ │ ├── raminit.h │ │ │ ├── rcven.c │ │ │ └── udelay.c │ └── via │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── cn400 │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── agp.c │ │ ├── chip.h │ │ ├── cn400.h │ │ ├── northbridge.c │ │ ├── northbridge.h │ │ ├── raminit.c │ │ ├── raminit.h │ │ ├── vga.c │ │ └── vlink.c │ │ ├── cn700 │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── agp.c │ │ ├── chip.h │ │ ├── cn700.h │ │ ├── northbridge.c │ │ ├── northbridge.h │ │ ├── raminit.c │ │ ├── raminit.h │ │ └── vga.c │ │ ├── cx700 │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── cx700_agp.c │ │ ├── cx700_early_serial.c │ │ ├── cx700_early_smbus.c │ │ ├── cx700_lpc.c │ │ ├── cx700_registers.h │ │ ├── cx700_reset.c │ │ ├── cx700_sata.c │ │ ├── cx700_usb.c │ │ ├── cx700_vga.c │ │ ├── northbridge.c │ │ ├── northbridge.h │ │ ├── raminit.c │ │ └── raminit.h │ │ ├── vt8601 │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── northbridge.c │ │ ├── northbridge.h │ │ ├── raminit.c │ │ └── raminit.h │ │ ├── vt8623 │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── northbridge.c │ │ ├── northbridge.h │ │ ├── raminit.c │ │ ├── raminit.h │ │ └── vga.c │ │ └── vx800 │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── clk_ctrl.c │ │ ├── detection.c │ │ ├── dev_init.c │ │ ├── dqs_search.c │ │ ├── dram_init.c │ │ ├── dram_init.h │ │ ├── dram_util.c │ │ ├── dram_util.h │ │ ├── drdy_bl.c │ │ ├── driving_clk_phase_data.h │ │ ├── driving_setting.c │ │ ├── examples │ │ ├── chipset_init.c │ │ ├── driving_clk_phase_data.c │ │ └── romstage.c │ │ ├── final_setting.c │ │ ├── freq_setting.c │ │ ├── northbridge.c │ │ ├── northbridge.h │ │ ├── pci_rawops.h │ │ ├── raminit.c │ │ ├── raminit.h │ │ ├── rank_map.c │ │ ├── romstrap.inc │ │ ├── romstrap.lds │ │ ├── timing_setting.c │ │ ├── translator_ddr2_init.c │ │ ├── uma_ram_setting.c │ │ ├── vga.c │ │ ├── vx800.h │ │ ├── vx800_early_serial.c │ │ ├── vx800_early_smbus.c │ │ ├── vx800_ide.c │ │ └── vx800_lpc.c ├── pc80 │ ├── Makefile.inc │ ├── i8254.c │ ├── i8259.c │ ├── isa-dma.c │ ├── keyboard.c │ ├── mc146818rtc.c │ ├── mc146818rtc_early.c │ ├── serial.c │ ├── udelay_io.c │ ├── usbdebug_serial.c │ └── vga │ │ ├── Makefile.inc │ │ ├── vga.c │ │ ├── vga_font_8x16.c │ │ ├── vga_io.c │ │ └── vga_palette.c ├── southbridge │ ├── Kconfig │ ├── Makefile.inc │ ├── amd │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── amd8111 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── amd8111.c │ │ │ ├── amd8111.h │ │ │ ├── amd8111_ac97.c │ │ │ ├── amd8111_acpi.c │ │ │ ├── amd8111_early_ctrl.c │ │ │ ├── amd8111_early_smbus.c │ │ │ ├── amd8111_enable_rom.c │ │ │ ├── amd8111_ide.c │ │ │ ├── amd8111_lpc.c │ │ │ ├── amd8111_nic.c │ │ │ ├── amd8111_pci.c │ │ │ ├── amd8111_reset.c │ │ │ ├── amd8111_smbus.c │ │ │ ├── amd8111_smbus.h │ │ │ ├── amd8111_usb.c │ │ │ ├── amd8111_usb2.c │ │ │ ├── bootblock.c │ │ │ └── chip.h │ │ ├── amd8131-disable │ │ │ └── amd8131_bridge.c │ │ ├── amd8131 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── amd8131_bridge.c │ │ ├── amd8132 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── amd8132_bridge.c │ │ ├── amd8151 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── amd8151_agp3.c │ │ ├── cs5530 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── bitmap.c │ │ │ ├── chip.h │ │ │ ├── cs5530.c │ │ │ ├── cs5530.h │ │ │ ├── cs5530_enable_rom.c │ │ │ ├── cs5530_ide.c │ │ │ ├── cs5530_isa.c │ │ │ ├── cs5530_pirq.c │ │ │ └── cs5530_vga.c │ │ ├── cs5535 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── chipsetinit.c │ │ │ ├── cs5535.c │ │ │ ├── cs5535.h │ │ │ ├── cs5535_early_setup.c │ │ │ ├── cs5535_early_smbus.c │ │ │ ├── cs5535_ide.c │ │ │ └── cs5535_smbus.h │ │ ├── cs5536 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── cs5536.c │ │ │ ├── cs5536.h │ │ │ ├── cs5536_early_setup.c │ │ │ ├── cs5536_early_smbus.c │ │ │ ├── cs5536_ide.c │ │ │ ├── cs5536_pirq.c │ │ │ └── cs5536_smbus2.h │ │ ├── rs690 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── rs690.c │ │ │ ├── rs690.h │ │ │ ├── rs690_cmn.c │ │ │ ├── rs690_early_setup.c │ │ │ ├── rs690_gfx.c │ │ │ ├── rs690_ht.c │ │ │ └── rs690_pcie.c │ │ ├── rs780 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── rs780.c │ │ │ ├── rs780.h │ │ │ ├── rs780_cmn.c │ │ │ ├── rs780_early_setup.c │ │ │ ├── rs780_gfx.c │ │ │ ├── rs780_ht.c │ │ │ ├── rs780_pcie.c │ │ │ └── rs780_rev.h │ │ ├── sb600 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── sb600.c │ │ │ ├── sb600.h │ │ │ ├── sb600_ac97.c │ │ │ ├── sb600_early_setup.c │ │ │ ├── sb600_enable_usbdebug.c │ │ │ ├── sb600_hda.c │ │ │ ├── sb600_ide.c │ │ │ ├── sb600_lpc.c │ │ │ ├── sb600_pci.c │ │ │ ├── sb600_reset.c │ │ │ ├── sb600_sata.c │ │ │ ├── sb600_sm.c │ │ │ ├── sb600_smbus.c │ │ │ ├── sb600_smbus.h │ │ │ └── sb600_usb.c │ │ └── sb700 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── sb700.c │ │ │ ├── sb700.h │ │ │ ├── sb700_early_setup.c │ │ │ ├── sb700_enable_usbdebug.c │ │ │ ├── sb700_hda.c │ │ │ ├── sb700_ide.c │ │ │ ├── sb700_lpc.c │ │ │ ├── sb700_pci.c │ │ │ ├── sb700_reset.c │ │ │ ├── sb700_sata.c │ │ │ ├── sb700_sm.c │ │ │ ├── sb700_smbus.c │ │ │ ├── sb700_smbus.h │ │ │ └── sb700_usb.c │ ├── broadcom │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── bcm21000 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── bcm21000_pcie.c │ │ ├── bcm5780 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── bcm5780_nic.c │ │ │ ├── bcm5780_pcie.c │ │ │ └── bcm5780_pcix.c │ │ └── bcm5785 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── bcm5785.c │ │ │ ├── bcm5785.h │ │ │ ├── bcm5785_early_setup.c │ │ │ ├── bcm5785_early_smbus.c │ │ │ ├── bcm5785_enable_rom.c │ │ │ ├── bcm5785_ide.c │ │ │ ├── bcm5785_lpc.c │ │ │ ├── bcm5785_reset.c │ │ │ ├── bcm5785_sata.c │ │ │ ├── bcm5785_sb_pci_main.c │ │ │ ├── bcm5785_smbus.h │ │ │ ├── bcm5785_usb.c │ │ │ ├── bootblock.c │ │ │ └── chip.h │ ├── intel │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── esb6300 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── esb6300.c │ │ │ ├── esb6300.h │ │ │ ├── esb6300_ac97.c │ │ │ ├── esb6300_bridge1c.c │ │ │ ├── esb6300_early_smbus.c │ │ │ ├── esb6300_ehci.c │ │ │ ├── esb6300_ide.c │ │ │ ├── esb6300_lpc.c │ │ │ ├── esb6300_pci.c │ │ │ ├── esb6300_pic.c │ │ │ ├── esb6300_sata.c │ │ │ ├── esb6300_smbus.c │ │ │ ├── esb6300_smbus.h │ │ │ └── esb6300_uhci.c │ │ ├── i3100 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── i3100.c │ │ │ ├── i3100.h │ │ │ ├── i3100_early_lpc.c │ │ │ ├── i3100_early_smbus.c │ │ │ ├── i3100_ehci.c │ │ │ ├── i3100_lpc.c │ │ │ ├── i3100_pci.c │ │ │ ├── i3100_pciexp_portb.c │ │ │ ├── i3100_reset.c │ │ │ ├── i3100_sata.c │ │ │ ├── i3100_smbus.c │ │ │ ├── i3100_smbus.h │ │ │ └── i3100_uhci.c │ │ ├── i82371eb │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── bootblock.c │ │ │ ├── chip.h │ │ │ ├── i82371eb.c │ │ │ ├── i82371eb.h │ │ │ ├── i82371eb_early_pm.c │ │ │ ├── i82371eb_early_smbus.c │ │ │ ├── i82371eb_enable_rom.c │ │ │ ├── i82371eb_ide.c │ │ │ ├── i82371eb_isa.c │ │ │ ├── i82371eb_reset.c │ │ │ ├── i82371eb_smbus.c │ │ │ ├── i82371eb_smbus.h │ │ │ └── i82371eb_usb.c │ │ ├── i82801ax │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── i82801ax.c │ │ │ ├── i82801ax.h │ │ │ ├── i82801ax_ac97.c │ │ │ ├── i82801ax_early_smbus.c │ │ │ ├── i82801ax_ide.c │ │ │ ├── i82801ax_lpc.c │ │ │ ├── i82801ax_pci.c │ │ │ ├── i82801ax_reset.c │ │ │ ├── i82801ax_smbus.c │ │ │ ├── i82801ax_smbus.h │ │ │ ├── i82801ax_usb.c │ │ │ └── i82801ax_watchdog.c │ │ ├── i82801bx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── i82801bx.c │ │ │ ├── i82801bx.h │ │ │ ├── i82801bx_ac97.c │ │ │ ├── i82801bx_early_smbus.c │ │ │ ├── i82801bx_ide.c │ │ │ ├── i82801bx_lpc.c │ │ │ ├── i82801bx_nic.c │ │ │ ├── i82801bx_pci.c │ │ │ ├── i82801bx_reset.c │ │ │ ├── i82801bx_smbus.c │ │ │ ├── i82801bx_smbus.h │ │ │ ├── i82801bx_usb.c │ │ │ └── i82801bx_watchdog.c │ │ ├── i82801cx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── i82801cx.c │ │ │ ├── i82801cx.h │ │ │ ├── i82801cx_ac97.c │ │ │ ├── i82801cx_early_smbus.c │ │ │ ├── i82801cx_ide.c │ │ │ ├── i82801cx_lpc.c │ │ │ ├── i82801cx_nic.c │ │ │ ├── i82801cx_pci.c │ │ │ ├── i82801cx_reset.c │ │ │ ├── i82801cx_smbus.c │ │ │ └── i82801cx_usb.c │ │ ├── i82801dx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── i82801dx.c │ │ │ ├── i82801dx.h │ │ │ ├── i82801dx_ac97.c │ │ │ ├── i82801dx_early_smbus.c │ │ │ ├── i82801dx_ide.c │ │ │ ├── i82801dx_lpc.c │ │ │ ├── i82801dx_nvs.h │ │ │ ├── i82801dx_pci.c │ │ │ ├── i82801dx_reset.c │ │ │ ├── i82801dx_smbus.c │ │ │ ├── i82801dx_smi.c │ │ │ ├── i82801dx_smihandler.c │ │ │ ├── i82801dx_tco_timer.c │ │ │ ├── i82801dx_usb.c │ │ │ └── i82801dx_usb2.c │ │ ├── i82801ex │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── i82801ex.c │ │ │ ├── i82801ex.h │ │ │ ├── i82801ex_ac97.c │ │ │ ├── i82801ex_early_smbus.c │ │ │ ├── i82801ex_ehci.c │ │ │ ├── i82801ex_ide.c │ │ │ ├── i82801ex_lpc.c │ │ │ ├── i82801ex_pci.c │ │ │ ├── i82801ex_reset.c │ │ │ ├── i82801ex_sata.c │ │ │ ├── i82801ex_smbus.c │ │ │ ├── i82801ex_smbus.h │ │ │ ├── i82801ex_uhci.c │ │ │ └── i82801ex_watchdog.c │ │ ├── i82801gx │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── acpi │ │ │ │ ├── globalnvs.asl │ │ │ │ ├── ich7.asl │ │ │ │ ├── ich7_ac97.asl │ │ │ │ ├── ich7_audio.asl │ │ │ │ ├── ich7_irqlinks.asl │ │ │ │ ├── ich7_lpc.asl │ │ │ │ ├── ich7_pata.asl │ │ │ │ ├── ich7_pci.asl │ │ │ │ ├── ich7_pcie.asl │ │ │ │ ├── ich7_sata.asl │ │ │ │ ├── ich7_smbus.asl │ │ │ │ ├── ich7_usb.asl │ │ │ │ └── sleepstates.asl │ │ │ ├── chip.h │ │ │ ├── i82801gx.c │ │ │ ├── i82801gx.h │ │ │ ├── i82801gx_ac97.c │ │ │ ├── i82801gx_azalia.c │ │ │ ├── i82801gx_early_smbus.c │ │ │ ├── i82801gx_ide.c │ │ │ ├── i82801gx_lpc.c │ │ │ ├── i82801gx_nic.c │ │ │ ├── i82801gx_nvs.h │ │ │ ├── i82801gx_pci.c │ │ │ ├── i82801gx_pcie.c │ │ │ ├── i82801gx_reset.c │ │ │ ├── i82801gx_sata.c │ │ │ ├── i82801gx_smbus.c │ │ │ ├── i82801gx_smbus.h │ │ │ ├── i82801gx_smi.c │ │ │ ├── i82801gx_smihandler.c │ │ │ ├── i82801gx_usb.c │ │ │ ├── i82801gx_usb_debug.c │ │ │ ├── i82801gx_usb_ehci.c │ │ │ └── i82801gx_watchdog.c │ │ ├── i82870 │ │ │ ├── 82870.h │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── p64h2_ioapic.c │ │ │ ├── p64h2_pci_parity.c │ │ │ └── p64h2_pcibridge.c │ │ └── pxhd │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── pxhd.h │ │ │ └── pxhd_bridge.c │ ├── nvidia │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── ck804 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── ck804.c │ │ │ ├── ck804.h │ │ │ ├── ck804_ac97.c │ │ │ ├── ck804_early_setup.c │ │ │ ├── ck804_early_setup_car.c │ │ │ ├── ck804_early_setup_ss.h │ │ │ ├── ck804_early_smbus.c │ │ │ ├── ck804_enable_rom.c │ │ │ ├── ck804_enable_usbdebug.c │ │ │ ├── ck804_fadt.c │ │ │ ├── ck804_ht.c │ │ │ ├── ck804_ide.c │ │ │ ├── ck804_lpc.c │ │ │ ├── ck804_nic.c │ │ │ ├── ck804_pci.c │ │ │ ├── ck804_pcie.c │ │ │ ├── ck804_reset.c │ │ │ ├── ck804_sata.c │ │ │ ├── ck804_smbus.c │ │ │ ├── ck804_smbus.h │ │ │ ├── ck804_usb.c │ │ │ ├── ck804_usb2.c │ │ │ ├── romstrap.inc │ │ │ └── romstrap.lds │ │ └── mcp55 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── mcp55.c │ │ │ ├── mcp55.h │ │ │ ├── mcp55_azalia.c │ │ │ ├── mcp55_early_ctrl.c │ │ │ ├── mcp55_early_setup_car.c │ │ │ ├── mcp55_early_setup_ss.h │ │ │ ├── mcp55_early_smbus.c │ │ │ ├── mcp55_enable_rom.c │ │ │ ├── mcp55_enable_usbdebug.c │ │ │ ├── mcp55_fadt.c │ │ │ ├── mcp55_ht.c │ │ │ ├── mcp55_ide.c │ │ │ ├── mcp55_lpc.c │ │ │ ├── mcp55_nic.c │ │ │ ├── mcp55_pci.c │ │ │ ├── mcp55_pcie.c │ │ │ ├── mcp55_reset.c │ │ │ ├── mcp55_sata.c │ │ │ ├── mcp55_smbus.c │ │ │ ├── mcp55_smbus.h │ │ │ ├── mcp55_usb.c │ │ │ ├── mcp55_usb2.c │ │ │ ├── romstrap.inc │ │ │ └── romstrap.lds │ ├── ricoh │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ └── rl5c476 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── rl5c476.c │ │ │ └── rl5c476.h │ ├── sis │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ └── sis966 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── romstrap.inc │ │ │ ├── romstrap.lds │ │ │ ├── sis761.c │ │ │ ├── sis966.c │ │ │ ├── sis966.h │ │ │ ├── sis966_aza.c │ │ │ ├── sis966_early_ctrl.c │ │ │ ├── sis966_early_setup_car.c │ │ │ ├── sis966_early_setup_ss.h │ │ │ ├── sis966_early_smbus.c │ │ │ ├── sis966_enable_rom.c │ │ │ ├── sis966_enable_usbdebug.c │ │ │ ├── sis966_ide.c │ │ │ ├── sis966_lpc.c │ │ │ ├── sis966_nic.c │ │ │ ├── sis966_pcie.c │ │ │ ├── sis966_reset.c │ │ │ ├── sis966_sata.c │ │ │ ├── sis966_smbus.h │ │ │ ├── sis966_usb.c │ │ │ └── sis966_usb2.c │ ├── ti │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── pci1x2x │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ └── pci1x2x.c │ │ ├── pci7420 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ ├── pci7420.h │ │ │ ├── pci7420_cardbus.c │ │ │ └── pci7420_firewire.c │ │ └── pcixx12 │ │ │ ├── Kconfig │ │ │ ├── Makefile.inc │ │ │ ├── chip.h │ │ │ └── pcixx12.c │ └── via │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── k8t890 │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── k8m890_chrome.c │ │ ├── k8t890.h │ │ ├── k8t890_bridge.c │ │ ├── k8t890_ctrl.c │ │ ├── k8t890_dram.c │ │ ├── k8t890_early_car.c │ │ ├── k8t890_error.c │ │ ├── k8t890_host.c │ │ ├── k8t890_host_ctrl.c │ │ ├── k8t890_pcie.c │ │ ├── k8t890_traf_ctrl.c │ │ ├── romstrap.inc │ │ └── romstrap.lds │ │ ├── vt8231 │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── vt8231.c │ │ ├── vt8231_acpi.c │ │ ├── vt8231_early_serial.c │ │ ├── vt8231_early_smbus.c │ │ ├── vt8231_ide.c │ │ ├── vt8231_lpc.c │ │ ├── vt8231_nic.c │ │ └── vt8231_usb.c │ │ ├── vt8235 │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── vt8235.c │ │ ├── vt8235_early_serial.c │ │ ├── vt8235_early_smbus.c │ │ ├── vt8235_ide.c │ │ ├── vt8235_lpc.c │ │ ├── vt8235_nic.c │ │ └── vt8235_usb.c │ │ ├── vt8237r │ │ ├── Kconfig │ │ ├── Makefile.inc │ │ ├── bootblock.c │ │ ├── chip.h │ │ ├── vt8237_ctrl.c │ │ ├── vt8237_fadt.c │ │ ├── vt8237r.c │ │ ├── vt8237r.h │ │ ├── vt8237r_early_smbus.c │ │ ├── vt8237r_ide.c │ │ ├── vt8237r_lpc.c │ │ ├── vt8237r_nic.c │ │ ├── vt8237r_sata.c │ │ └── vt8237r_usb.c │ │ └── vt82c686 │ │ ├── chip.h │ │ ├── vt82c686.h │ │ └── vt82c686_early_serial.c └── superio │ ├── Kconfig │ ├── Makefile.inc │ ├── fintek │ ├── Kconfig │ ├── Makefile.inc │ ├── f71805f │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── f71805f.h │ │ ├── f71805f_early_serial.c │ │ └── superio.c │ ├── f71859 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── f71859.h │ │ ├── f71859_early_serial.c │ │ └── superio.c │ └── f71863fg │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── f71863fg.h │ │ ├── f71863fg_early_serial.c │ │ └── superio.c │ ├── intel │ ├── Kconfig │ ├── Makefile.inc │ └── i3100 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── i3100.h │ │ ├── i3100_early_serial.c │ │ └── superio.c │ ├── ite │ ├── Kconfig │ ├── Makefile.inc │ ├── it8661f │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── it8661f.h │ │ ├── it8661f_early_serial.c │ │ └── superio.c │ ├── it8671f │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── it8671f.h │ │ ├── it8671f_early_serial.c │ │ └── superio.c │ ├── it8673f │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── it8673f.h │ │ ├── it8673f_early_serial.c │ │ └── superio.c │ ├── it8705f │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── it8705f.h │ │ ├── it8705f_early_serial.c │ │ └── superio.c │ ├── it8712f │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── it8712f.h │ │ ├── it8712f_early_serial.c │ │ └── superio.c │ ├── it8716f │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── it8716f.h │ │ ├── it8716f_early_init.c │ │ ├── it8716f_early_serial.c │ │ └── superio.c │ └── it8718f │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── it8718f.h │ │ ├── it8718f_early_serial.c │ │ └── superio.c │ ├── nsc │ ├── Kconfig │ ├── Makefile.inc │ ├── pc8374 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── pc8374.h │ │ ├── pc8374_early_init.c │ │ └── superio.c │ ├── pc87309 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── pc87309.h │ │ ├── pc87309_early_serial.c │ │ └── superio.c │ ├── pc87351 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── pc87351.h │ │ ├── pc87351_early_serial.c │ │ └── superio.c │ ├── pc87360 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── pc87360.h │ │ ├── pc87360_early_serial.c │ │ └── superio.c │ ├── pc87366 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── pc87366.h │ │ ├── pc87366_early_serial.c │ │ └── superio.c │ ├── pc87417 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── pc87417.h │ │ ├── pc87417_early_init.c │ │ ├── pc87417_early_serial.c │ │ └── superio.c │ ├── pc87427 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── pc87427.h │ │ ├── pc87427_early_init.c │ │ └── superio.c │ ├── pc97307 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── pc97307.h │ │ └── superio.c │ └── pc97317 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── pc97317.h │ │ ├── pc97317_early_serial.c │ │ └── superio.c │ ├── renesas │ ├── Kconfig │ ├── Makefile.inc │ └── m3885x │ │ ├── Makefile.inc │ │ ├── chip.h │ │ └── superio.c │ ├── serverengines │ ├── Kconfig │ └── pilot │ │ ├── pilot.h │ │ ├── pilot_early_init.c │ │ └── pilot_early_serial.c │ ├── smsc │ ├── Kconfig │ ├── Makefile.inc │ ├── fdc37m60x │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── fdc37m60x.h │ │ ├── fdc37m60x_early_serial.c │ │ └── superio.c │ ├── fdc37n972 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── fdc37n972.c │ │ └── fdc37n972.h │ ├── lpc47b272 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── lpc47b272.h │ │ ├── lpc47b272_early_serial.c │ │ └── superio.c │ ├── lpc47b397 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── lpc47b397.h │ │ ├── lpc47b397_early_gpio.c │ │ ├── lpc47b397_early_serial.c │ │ └── superio.c │ ├── lpc47m10x │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── lpc47m10x.h │ │ ├── lpc47m10x_early_serial.c │ │ └── superio.c │ ├── lpc47m15x │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── lpc47m15x.h │ │ ├── lpc47m15x_early_serial.c │ │ └── superio.c │ ├── lpc47n217 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── lpc47n217.h │ │ ├── lpc47n217_early_serial.c │ │ └── superio.c │ ├── lpc47n227 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── lpc47n227.h │ │ ├── lpc47n227_early_serial.c │ │ └── superio.c │ ├── sio10n268 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── sio10n268.c │ │ └── sio10n268.h │ └── smscsuperio │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── smscsuperio_early_serial.c │ │ └── superio.c │ ├── via │ ├── Kconfig │ ├── Makefile.inc │ └── vt1211 │ │ ├── Makefile.inc │ │ ├── chip.h │ │ ├── vt1211.c │ │ └── vt1211.h │ └── winbond │ ├── Kconfig │ ├── Makefile.inc │ ├── w83627dhg │ ├── Makefile.inc │ ├── chip.h │ ├── superio.c │ ├── w83627dhg.h │ └── w83627dhg_early_serial.c │ ├── w83627ehg │ ├── Makefile.inc │ ├── chip.h │ ├── superio.c │ ├── w83627ehg.h │ ├── w83627ehg_early_init.c │ └── w83627ehg_early_serial.c │ ├── w83627hf │ ├── Makefile.inc │ ├── chip.h │ ├── superio.c │ ├── w83627hf.h │ ├── w83627hf_early_init.c │ └── w83627hf_early_serial.c │ ├── w83627thf │ ├── Makefile.inc │ ├── chip.h │ ├── superio.c │ ├── w83627thf.h │ └── w83627thf_early_serial.c │ ├── w83627thg │ ├── Makefile.inc │ ├── chip.h │ ├── superio.c │ ├── w83627thg.h │ └── w83627thg_early_serial.c │ ├── w83627uhg │ ├── Makefile.inc │ ├── chip.h │ ├── superio.c │ ├── w83627uhg.h │ └── w83627uhg_early_serial.c │ ├── w83697hf │ ├── Makefile.inc │ ├── chip.h │ ├── superio.c │ ├── w83697hf.h │ └── w83697hf_early_serial.c │ ├── w83977f │ ├── Makefile.inc │ ├── chip.h │ ├── superio.c │ ├── w83977f.h │ └── w83977f_early_serial.c │ └── w83977tf │ ├── Makefile.inc │ ├── chip.h │ ├── superio.c │ ├── w83977tf.h │ └── w83977tf_early_serial.c └── util ├── abuild ├── abuild └── abuild.1 ├── amdtools ├── README ├── example_input │ ├── coreboot-48G-667MHz-memsettings │ ├── coreboot-48G-667MHz-memsettings-20090909h │ ├── lspci-cb-48G-667MHz-18.2-20090909e │ └── lspci-prop-48G-667MHz-18.2 ├── k8-compare-pci-space.pl ├── k8-interpret-extended-memory-settings.pl ├── k8-read-mem-settings.sh └── parse-bkdg.pl ├── cbfstool ├── EXAMPLE ├── Makefile ├── Makefile.inc ├── cbfs-mkpayload.c ├── cbfs-mkstage.c ├── cbfs.h ├── cbfstool.c ├── common.c ├── common.h ├── compress.c ├── elf.h └── lzma │ ├── C │ ├── 7zip │ │ ├── Common │ │ │ ├── InBuffer.h │ │ │ ├── OutBuffer.cpp │ │ │ ├── OutBuffer.h │ │ │ ├── StdAfx.h │ │ │ ├── StreamUtils.cpp │ │ │ └── StreamUtils.h │ │ ├── Compress │ │ │ ├── LZ │ │ │ │ ├── BinTree │ │ │ │ │ ├── BinTree.h │ │ │ │ │ ├── BinTree2.h │ │ │ │ │ ├── BinTree3.h │ │ │ │ │ ├── BinTree4.h │ │ │ │ │ └── BinTreeMain.h │ │ │ │ ├── HashChain │ │ │ │ │ ├── HC4.h │ │ │ │ │ └── HCMain.h │ │ │ │ ├── IMatchFinder.h │ │ │ │ ├── LZInWindow.cpp │ │ │ │ ├── LZInWindow.h │ │ │ │ └── StdAfx.h │ │ │ ├── LZMA │ │ │ │ ├── LZMA.h │ │ │ │ ├── LZMAEncoder.cpp │ │ │ │ ├── LZMAEncoder.h │ │ │ │ └── StdAfx.h │ │ │ └── RangeCoder │ │ │ │ ├── RangeCoder.h │ │ │ │ ├── RangeCoderBit.cpp │ │ │ │ ├── RangeCoderBit.h │ │ │ │ ├── RangeCoderBitTree.h │ │ │ │ ├── RangeCoderOpt.h │ │ │ │ └── StdAfx.h │ │ ├── Decompress │ │ │ ├── LzmaDecode.c │ │ │ └── LzmaDecode.h │ │ ├── ICoder.h │ │ └── IStream.h │ ├── Common │ │ ├── Alloc.cpp │ │ ├── Alloc.h │ │ ├── CRC.cpp │ │ ├── CRC.h │ │ ├── Defs.h │ │ ├── MyCom.h │ │ ├── MyGuidDef.h │ │ ├── MyInitGuid.h │ │ ├── MyUnknown.h │ │ ├── MyWindows.h │ │ ├── NewHandler.h │ │ ├── StdAfx.h │ │ └── Types.h │ ├── LGPL.txt │ └── ORIGIN │ ├── Makefile │ ├── Makefile.inc │ └── minilzma.cc ├── crossgcc ├── README ├── buildgcc ├── getopt.c └── patches │ ├── binutils-2.19.1_no-i386-svr4-asm-comments.patch │ ├── binutils-2.20.1_no-bfd-doc.patch │ ├── binutils-2.20_no-i386-svr4-asm-comments.patch │ ├── gcc-4.4.1_less-junk-in-crtbegin.patch │ ├── gcc-4.4.2_less-junk-in-crtbegin.patch │ └── mpfr-2.4.2_allpatches_20100308.patch ├── dumpmmcr ├── Makefile └── dumpmmcr.c ├── ectool ├── Makefile ├── ec.c ├── ec.h └── ectool.c ├── getpir ├── Makefile ├── README ├── checkpir.c ├── checksum.c ├── checksum.h ├── code_gen.c ├── code_gen.h ├── getpir.c └── pirq_routing.h ├── inteltool ├── Makefile ├── cpu.c ├── gpio.c ├── inteltool.8 ├── inteltool.c ├── inteltool.h ├── memory.c ├── pcie.c ├── powermgt.c └── rootcmplx.c ├── k8resdump ├── .dependencies ├── Makefile └── k8resdump.c ├── kconfig ├── Makefile ├── POTFILES.in ├── check.sh ├── conf.c ├── confdata.c ├── expr.c ├── expr.h ├── gconf.c ├── gconf.glade ├── images.c ├── kconfig_load.c ├── kxgettext.c ├── lex.zconf.c_shipped ├── lkc.h ├── lkc_proto.h ├── lxdialog │ ├── BIG.FAT.WARNING │ ├── check-lxdialog.sh │ ├── checklist.c │ ├── dialog.h │ ├── inputbox.c │ ├── menubox.c │ ├── textbox.c │ ├── util.c │ └── yesno.c ├── mconf.c ├── menu.c ├── qconf.cc ├── qconf.h ├── regex.c ├── regex.h ├── symbol.c ├── util.c ├── zconf.gperf ├── zconf.hash.c_shipped ├── zconf.l ├── zconf.tab.c_shipped └── zconf.y ├── lbtdump ├── Makefile ├── README └── lbtdump.c ├── mkelfImage ├── AUTHORS ├── COPYING ├── Makefile ├── Makefile.conf.in ├── News ├── arch │ ├── i386 │ │ └── include │ │ │ ├── arch │ │ │ └── io.h │ │ │ ├── limits.h │ │ │ └── stdint.h │ └── ia64 │ │ └── include │ │ ├── limits.h │ │ └── stdint.h ├── config │ ├── config.guess │ ├── config.sub │ └── install-sh ├── configure ├── configure.ac ├── include │ ├── elf.h │ ├── elf_boot.h │ ├── linuxbios_tables.h │ └── mkelfImage.h ├── kunzip_src │ ├── arch │ │ ├── alpha │ │ │ ├── include │ │ │ │ ├── stddef.h │ │ │ │ ├── stdint.h │ │ │ │ └── va-alpha.h │ │ │ └── lib │ │ │ │ ├── Makefile │ │ │ │ ├── divide.S │ │ │ │ ├── kunzip.lds │ │ │ │ └── start.S │ │ └── i386 │ │ │ ├── include │ │ │ ├── stddef.h │ │ │ └── stdint.h │ │ │ └── lib │ │ │ ├── Makefile │ │ │ ├── kunzip.lds │ │ │ └── start.S │ ├── include │ │ ├── stdarg.h │ │ ├── stdlib.h │ │ ├── string.h │ │ └── types.h │ └── lib │ │ ├── inflate.c │ │ ├── kunzip.c │ │ ├── malloc.c │ │ ├── memcmp.c │ │ ├── memcpy.c │ │ └── memset.c ├── linux-i386 │ ├── Makefile │ ├── convert.bin.c │ ├── convert.h │ ├── convert.lds │ ├── convert_params.c │ ├── head.S │ ├── mkelf-linux-i386.c │ ├── uniform_boot.h │ └── x86-linux.h ├── linux-ia64 │ ├── Makefile │ ├── convert.bin.c │ ├── convert.h │ ├── convert.lds │ ├── convert_params.c │ ├── head.S │ └── mkelf-linux-ia64.c ├── main │ ├── Makefile │ ├── mkelfImage.c │ └── mkelfImage.man ├── mkelfImage.spec.in └── util │ ├── Makefile │ └── bin-to-hex.c ├── mptable ├── Makefile └── mptable.c ├── msrtool ├── COPYING ├── Makefile.in ├── TODO ├── configure ├── cs5536.c ├── darwin.c ├── freebsd.c ├── geodegx2.c ├── geodelx.c ├── k8.c ├── linux.c ├── msrtool.c ├── msrtool.h ├── msrutils.c └── sys.c ├── nrv2b ├── Makefile └── nrv2b.c ├── nvramtool ├── COPYING ├── ChangeLog ├── DISCLAIMER ├── Makefile ├── README ├── cmos_lowlevel.c ├── cmos_lowlevel.h ├── cmos_ops.c ├── cmos_ops.h ├── common.c ├── common.h ├── compute_ip_checksum.c ├── coreboot_tables.h ├── hexdump.c ├── hexdump.h ├── input_file.c ├── input_file.h ├── ip_checksum.h ├── layout.c ├── layout.h ├── layout_file.c ├── layout_file.h ├── lbtable.c ├── lbtable.h ├── nvramtool.8 ├── nvramtool.c ├── nvramtool.spec ├── opts.c ├── opts.h ├── reg_expr.c └── reg_expr.h ├── optionlist ├── Makefile ├── README └── kconfig2wiki ├── options └── build_opt_tbl.c ├── resetcf └── resetcf.c ├── romcc ├── COPYING ├── Makefile ├── do_tests.sh ├── results │ ├── linux_test1.out │ ├── linux_test10.out │ ├── linux_test11.out │ ├── linux_test12.out │ ├── linux_test13.out │ ├── linux_test2.out │ ├── linux_test3.out │ ├── linux_test4.out │ ├── linux_test5.out │ ├── linux_test6.out │ ├── linux_test7.out │ ├── linux_test8.out │ └── linux_test9.out ├── romcc.1 ├── romcc.c ├── tests.sh └── tests │ ├── fail_test1.c │ ├── fail_test10.c │ ├── fail_test11.c │ ├── fail_test2.c │ ├── fail_test3.c │ ├── fail_test4.c │ ├── fail_test5.c │ ├── fail_test6.c │ ├── fail_test7.c │ ├── fail_test8.c │ ├── fail_test9.c │ ├── hello_world.c │ ├── hello_world1.c │ ├── hello_world2.c │ ├── include │ ├── linux_console.h │ ├── linux_syscall.h │ └── linuxi386_syscall.h │ ├── ldscript.ld │ ├── linux_console.h │ ├── linux_syscall.h │ ├── linux_test1.c │ ├── linux_test10.c │ ├── linux_test11.c │ ├── linux_test12.c │ ├── linux_test13.c │ ├── linux_test2.c │ ├── linux_test3.c │ ├── linux_test4.c │ ├── linux_test5.c │ ├── linux_test6.c │ ├── linux_test7.c │ ├── linux_test8.c │ ├── linux_test9.c │ ├── linuxi386_syscall.h │ ├── raminit_test.c │ ├── raminit_test1.c │ ├── raminit_test2.c │ ├── raminit_test3.c │ ├── raminit_test4.c │ ├── raminit_test5.c │ ├── raminit_test6.c │ ├── raminit_test7.c │ ├── simple_test.c │ ├── simple_test1.c │ ├── simple_test10.c │ ├── simple_test11.c │ ├── simple_test12.c │ ├── simple_test13.c │ ├── simple_test14.c │ ├── simple_test15.c │ ├── simple_test16.c │ ├── simple_test17.c │ ├── simple_test18.c │ ├── simple_test19.c │ ├── simple_test2.c │ ├── simple_test20.c │ ├── simple_test21.c │ ├── simple_test22.c │ ├── simple_test23.c │ ├── simple_test24.c │ ├── simple_test25.c │ ├── simple_test26.c │ ├── simple_test27.c │ ├── simple_test28.c │ ├── simple_test29.c │ ├── simple_test3.c │ ├── simple_test30.c │ ├── simple_test31.c │ ├── simple_test32.c │ ├── simple_test33.c │ ├── simple_test34.c │ ├── simple_test35.c │ ├── simple_test36.c │ ├── simple_test37.c │ ├── simple_test38.c │ ├── simple_test39.c │ ├── simple_test4.c │ ├── simple_test40.c │ ├── simple_test41.c │ ├── simple_test43.c │ ├── simple_test45.c │ ├── simple_test46.c │ ├── simple_test47.c │ ├── simple_test48.c │ ├── simple_test49.c │ ├── simple_test5.c │ ├── simple_test50.c │ ├── simple_test51.c │ ├── simple_test52.c │ ├── simple_test53.c │ ├── simple_test54.c │ ├── simple_test55.c │ ├── simple_test56.c │ ├── simple_test57.c │ ├── simple_test58.c │ ├── simple_test59.c │ ├── simple_test6.c │ ├── simple_test60.c │ ├── simple_test61.c │ ├── simple_test62.c │ ├── simple_test63.c │ ├── simple_test64.c │ ├── simple_test65.c │ ├── simple_test66.c │ ├── simple_test67.c │ ├── simple_test68.c │ ├── simple_test69.c │ ├── simple_test7.c │ ├── simple_test70.c │ ├── simple_test71.c │ ├── simple_test72.c │ ├── simple_test73.c │ ├── simple_test74.c │ ├── simple_test75.c │ ├── simple_test76.c │ ├── simple_test77.c │ ├── simple_test78.c │ ├── simple_test79.c │ ├── simple_test8.c │ ├── simple_test80.c │ ├── simple_test81.c │ ├── simple_test82.c │ ├── simple_test83.c │ ├── simple_test84.c │ ├── simple_test85.c │ ├── simple_test86.c │ └── simple_test9.c ├── sconfig ├── Makefile.inc ├── lex.yy.c_shipped ├── main.c ├── sconfig.h ├── sconfig.l ├── sconfig.tab.c_shipped ├── sconfig.tab.h_shipped └── sconfig.y ├── superiotool ├── COPYING ├── Makefile ├── README ├── ali.c ├── fintek.c ├── ite.c ├── nsc.c ├── nuvoton.c ├── pci.c ├── smsc.c ├── superiotool.8 ├── superiotool.c ├── superiotool.h ├── via.c └── winbond.c ├── vgabios ├── Makefile ├── helper_exec.c ├── helper_exec.h ├── helper_mem.c ├── include │ ├── arch │ │ └── io.h │ └── console │ │ └── console.h ├── int10.c ├── int15.c ├── int16.c ├── int1a.c ├── inte6.c ├── pci-userspace.c ├── pci-userspace.h ├── pci.h ├── test.h └── testbios.c └── xcompile └── xcompile /documentation/beginverbatim.tex: -------------------------------------------------------------------------------- 1 | \begin{verbatim} 2 | -------------------------------------------------------------------------------- /documentation/endverbatim.tex: -------------------------------------------------------------------------------- 1 | \end{verbatim} 2 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Common/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | #include "../../Common/MyWindows.h" 7 | #include "../../Common/NewHandler.h" 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Common/StreamUtils.h: -------------------------------------------------------------------------------- 1 | // StreamUtils.h 2 | 3 | #ifndef __STREAMUTILS_H 4 | #define __STREAMUTILS_H 5 | 6 | #include "../IStream.h" 7 | 8 | HRESULT ReadStream(ISequentialInStream *stream, void *data, UInt32 size, UInt32 *processedSize); 9 | HRESULT WriteStream(ISequentialOutStream *stream, const void *data, UInt32 size, UInt32 *processedSize); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Compress/LZ/BinTree/BinTree2.h: -------------------------------------------------------------------------------- 1 | // BinTree2.h 2 | 3 | #ifndef __BINTREE2_H 4 | #define __BINTREE2_H 5 | 6 | #define BT_NAMESPACE NBT2 7 | 8 | #include "BinTreeMain.h" 9 | 10 | #undef BT_NAMESPACE 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Compress/LZ/BinTree/BinTree3.h: -------------------------------------------------------------------------------- 1 | // BinTree3.h 2 | 3 | #ifndef __BINTREE3_H 4 | #define __BINTREE3_H 5 | 6 | #define BT_NAMESPACE NBT3 7 | 8 | #define HASH_ARRAY_2 9 | 10 | #include "BinTreeMain.h" 11 | 12 | #undef HASH_ARRAY_2 13 | 14 | #undef BT_NAMESPACE 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Compress/LZ/BinTree/BinTree4.h: -------------------------------------------------------------------------------- 1 | // BinTree4.h 2 | 3 | #ifndef __BINTREE4_H 4 | #define __BINTREE4_H 5 | 6 | #define BT_NAMESPACE NBT4 7 | 8 | #define HASH_ARRAY_2 9 | #define HASH_ARRAY_3 10 | 11 | #include "BinTreeMain.h" 12 | 13 | #undef HASH_ARRAY_2 14 | #undef HASH_ARRAY_3 15 | 16 | #undef BT_NAMESPACE 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Compress/LZ/HashChain/HC4.h: -------------------------------------------------------------------------------- 1 | // HC4.h 2 | 3 | #ifndef __HC4_H 4 | #define __HC4_H 5 | 6 | #define BT_NAMESPACE NHC4 7 | 8 | #define HASH_ARRAY_2 9 | #define HASH_ARRAY_3 10 | 11 | #include "HCMain.h" 12 | 13 | #undef HASH_ARRAY_2 14 | #undef HASH_ARRAY_3 15 | 16 | #undef BT_NAMESPACE 17 | 18 | #endif 19 | 20 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Compress/LZ/HashChain/HCMain.h: -------------------------------------------------------------------------------- 1 | // HCMain.h 2 | 3 | #define _HASH_CHAIN 4 | #include "../BinTree/BinTreeMain.h" 5 | #undef _HASH_CHAIN 6 | 7 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Compress/LZ/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Compress/LZMA/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | #include "../../../Common/MyWindows.h" 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/7zip/Compress/RangeCoder/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/Common/MyInitGuid.h: -------------------------------------------------------------------------------- 1 | // Common/MyInitGuid.h 2 | 3 | #ifndef __COMMON_MYINITGUID_H 4 | #define __COMMON_MYINITGUID_H 5 | 6 | #ifdef _WIN32 7 | #include 8 | #else 9 | #define INITGUID 10 | #include "MyGuidDef.h" 11 | #endif 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/Common/MyUnknown.h: -------------------------------------------------------------------------------- 1 | // MyUnknown.h 2 | 3 | #ifndef __MYUNKNOWN_H 4 | #define __MYUNKNOWN_H 5 | 6 | #ifdef _WIN32 7 | 8 | #ifdef _WIN32_WCE 9 | #if (_WIN32_WCE > 300) 10 | #include 11 | #else 12 | #define MIDL_INTERFACE(x) struct 13 | #endif 14 | #else 15 | #include 16 | #endif 17 | 18 | #include 19 | 20 | #else 21 | #include "MyWindows.h" 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/Common/NewHandler.h: -------------------------------------------------------------------------------- 1 | // Common/NewHandler.h 2 | 3 | #ifndef __COMMON_NEWHANDLER_H 4 | #define __COMMON_NEWHANDLER_H 5 | 6 | class CNewException {}; 7 | 8 | #ifdef _WIN32 9 | void 10 | #ifdef _MSC_VER 11 | __cdecl 12 | #endif 13 | operator delete(void *p) throw(); 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/Common/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | // #include "MyWindows.h" 7 | #include "NewHandler.h" 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/Common/Types.h: -------------------------------------------------------------------------------- 1 | // Common/Types.h 2 | 3 | #ifndef __COMMON_TYPES_H 4 | #define __COMMON_TYPES_H 5 | 6 | typedef unsigned char Byte; 7 | typedef short Int16; 8 | typedef unsigned short UInt16; 9 | typedef int Int32; 10 | typedef unsigned int UInt32; 11 | #ifdef _MSC_VER 12 | typedef __int64 Int64; 13 | typedef unsigned __int64 UInt64; 14 | #else 15 | typedef long long int Int64; 16 | typedef unsigned long long int UInt64; 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /payloads/bayou/util/pbuilder/lzma/C/ORIGIN: -------------------------------------------------------------------------------- 1 | The contents of this directory are extracted from 2 | the official LZMA SDK, version lzma442.tar.bz2 , 3 | for the use in mkcromfs. 4 | -------------------------------------------------------------------------------- /payloads/coreinfo/README: -------------------------------------------------------------------------------- 1 | This is a silly little program that demonstrates how cool libpayload is 2 | and also serves a purpose. Its fun and educational! 3 | 4 | -------------------------------------------------------------------------------- /payloads/coreinfo/util/kconfig/POTFILES.in: -------------------------------------------------------------------------------- 1 | util/kconfig/lxdialog/checklist.c 2 | util/kconfig/lxdialog/inputbox.c 3 | util/kconfig/lxdialog/menubox.c 4 | util/kconfig/lxdialog/textbox.c 5 | util/kconfig/lxdialog/util.c 6 | util/kconfig/lxdialog/yesno.c 7 | util/kconfig/mconf.c 8 | util/kconfig/conf.c 9 | util/kconfig/confdata.c 10 | util/kconfig/gconf.c 11 | util/kconfig/gconf.glade.h 12 | util/kconfig/qconf.cc 13 | -------------------------------------------------------------------------------- /payloads/coreinfo/util/kconfig/check.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Needed for systems without gettext 3 | $* -xc -o /dev/null - > /dev/null 2>&1 << EOF 4 | #include 5 | int main() 6 | { 7 | gettext(""); 8 | return 0; 9 | } 10 | EOF 11 | if [ ! "$?" -eq "0" ]; then 12 | echo -DKBUILD_NO_NLS; 13 | fi 14 | 15 | -------------------------------------------------------------------------------- /payloads/coreinfo/util/kconfig/lxdialog/BIG.FAT.WARNING: -------------------------------------------------------------------------------- 1 | This is NOT the official version of dialog. This version has been 2 | significantly modified from the original. It is for use by the Linux 3 | kernel configuration script. Please do not bother Savio Lam with 4 | questions about this program. 5 | -------------------------------------------------------------------------------- /payloads/external/tint/README: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------- 2 | tint 3 | ------------------------------------------------------------------------------- 4 | 5 | For instructions on how to download, patch, and build tint as a coreboot 6 | payload, please see 7 | 8 | http://www.coreboot.org/Tint 9 | 10 | -------------------------------------------------------------------------------- /payloads/libpayload/drivers/video/font8x16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wt/coreboot/5b280ddf5bcdfcd2b5589a759d63f45cbbd81fc7/payloads/libpayload/drivers/video/font8x16.c -------------------------------------------------------------------------------- /payloads/libpayload/util/kconfig/POTFILES.in: -------------------------------------------------------------------------------- 1 | util/kconfig/lxdialog/checklist.c 2 | util/kconfig/lxdialog/inputbox.c 3 | util/kconfig/lxdialog/menubox.c 4 | util/kconfig/lxdialog/textbox.c 5 | util/kconfig/lxdialog/util.c 6 | util/kconfig/lxdialog/yesno.c 7 | util/kconfig/mconf.c 8 | util/kconfig/conf.c 9 | util/kconfig/confdata.c 10 | util/kconfig/gconf.c 11 | util/kconfig/gconf.glade.h 12 | util/kconfig/qconf.cc 13 | -------------------------------------------------------------------------------- /payloads/libpayload/util/kconfig/check.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Needed for systems without gettext 3 | $* -xc -o /dev/null - > /dev/null 2>&1 << EOF 4 | #include 5 | int main() 6 | { 7 | gettext(""); 8 | return 0; 9 | } 10 | EOF 11 | if [ ! "$?" -eq "0" ]; then 12 | echo -DKBUILD_NO_NLS; 13 | fi 14 | 15 | -------------------------------------------------------------------------------- /payloads/libpayload/util/kconfig/lxdialog/BIG.FAT.WARNING: -------------------------------------------------------------------------------- 1 | This is NOT the official version of dialog. This version has been 2 | significantly modified from the original. It is for use by the Linux 3 | kernel configuration script. Please do not bother Savio Lam with 4 | questions about this program. 5 | -------------------------------------------------------------------------------- /src/arch/i386/include/arch/boot/boot.h: -------------------------------------------------------------------------------- 1 | #ifndef ASM_I386_BOOT_H 2 | #define ASM_I386_BOOT_H 3 | 4 | #define ELF_CLASS ELFCLASS32 5 | #define ELF_DATA ELFDATA2LSB 6 | #define ELF_ARCH EM_386 7 | 8 | #endif /* ASM_I386_BOOT_H */ 9 | -------------------------------------------------------------------------------- /src/arch/i386/include/arch/hlt.h: -------------------------------------------------------------------------------- 1 | #ifndef ARCH_HLT_H 2 | #define ARCH_HLT_H 3 | 4 | #if defined(__ROMCC__) 5 | static void hlt(void) 6 | { 7 | __builtin_hlt(); 8 | } 9 | #else 10 | static inline __attribute__((always_inline)) void hlt(void) 11 | { 12 | asm("hlt"); 13 | } 14 | #endif 15 | 16 | #endif /* ARCH_HLT_H */ 17 | -------------------------------------------------------------------------------- /src/arch/i386/include/arch/llshell.h: -------------------------------------------------------------------------------- 1 | #ifndef __ARCH_LLSHELL__ 2 | #define __ARCH_LLSHELL__ 3 | 4 | 5 | #if CONFIG_LLSHELL 6 | #define llshell() asm("jmp low_level_shell"); 7 | #else 8 | #define llshell() print_debug("LLSHELL not active.\n"); 9 | #endif 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/arch/i386/include/arch/pci_ops.h: -------------------------------------------------------------------------------- 1 | #ifndef ARCH_I386_PCI_OPS_H 2 | #define ARCH_I386_PCI_OPS_H 3 | 4 | extern const struct pci_bus_operations pci_cf8_conf1; 5 | extern const struct pci_bus_operations pci_cf8_conf2; 6 | 7 | #if CONFIG_MMCONF_SUPPORT==1 8 | extern const struct pci_bus_operations pci_ops_mmconf; 9 | #endif 10 | 11 | void pci_set_method(device_t dev); 12 | 13 | #endif /* ARCH_I386_PCI_OPS_H */ 14 | -------------------------------------------------------------------------------- /src/arch/i386/include/arch/rom_segs.h: -------------------------------------------------------------------------------- 1 | #ifndef ROM_SEGS_H 2 | #define ROM_SEGS_H 3 | 4 | #define ROM_CODE_SEG 0x08 5 | #define ROM_DATA_SEG 0x10 6 | 7 | #endif /* ROM_SEGS_H */ 8 | -------------------------------------------------------------------------------- /src/arch/i386/include/bitops.h: -------------------------------------------------------------------------------- 1 | #ifndef I386_BITOPS_H 2 | #define I386_BITOPS_H 3 | 4 | /** 5 | * log2 - Find the truncated log base 2 of x 6 | */ 7 | 8 | static inline unsigned long log2(unsigned long x) 9 | { 10 | unsigned long r = 0; 11 | __asm__( 12 | "bsrl %1, %0\n\t" 13 | "jnz 1f\n\t" 14 | "movl $-1, %0\n\t" 15 | "1:\n\t" 16 | : "=r" (r) : "r" (x)); 17 | return r; 18 | 19 | } 20 | #endif /* I386_BITOPS_H */ 21 | -------------------------------------------------------------------------------- /src/arch/i386/include/stddef.h: -------------------------------------------------------------------------------- 1 | #ifndef I386_STDDEF_H 2 | #define I386_STDDEF_H 3 | 4 | typedef long ptrdiff_t; 5 | typedef unsigned long size_t; 6 | typedef long ssize_t; 7 | 8 | typedef int wchar_t; 9 | typedef unsigned int wint_t; 10 | 11 | #define NULL ((void *)0) 12 | 13 | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) 14 | 15 | #endif /* I386_STDDEF_H */ 16 | -------------------------------------------------------------------------------- /src/arch/i386/init/Makefile.inc: -------------------------------------------------------------------------------- 1 | # If you add something to this file, enable it in src/arch/i386/Makefile.inc first. 2 | -------------------------------------------------------------------------------- /src/arch/i386/init/bootblock_simple.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static void main(unsigned long bist) 4 | { 5 | if (boot_cpu()) { 6 | bootblock_northbridge_init(); 7 | bootblock_southbridge_init(); 8 | } 9 | const char* target1 = "fallback/romstage"; 10 | unsigned long entry; 11 | entry = findstage(target1); 12 | if (entry) call(entry, bist); 13 | asm volatile ("1:\n\thlt\n\tjmp 1b\n\t"); 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/arch/i386/lib/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += c_start.S 2 | ramstage-y += cpu.c 3 | ramstage-y += pci_ops_conf1.c 4 | ramstage-y += pci_ops_conf2.c 5 | ramstage-y += pci_ops_mmconf.c 6 | ramstage-y += pci_ops_auto.c 7 | ramstage-y += exception.c 8 | ramstage-$(CONFIG_IOAPIC) += ioapic.c 9 | 10 | romstage-y += printk_init.c 11 | romstage-y += cbfs_and_run.c 12 | 13 | $(obj)/arch/i386/lib/console.ramstage.o :: $(obj)/build.h 14 | -------------------------------------------------------------------------------- /src/arch/i386/lib/id.lds: -------------------------------------------------------------------------------- 1 | SECTIONS { 2 | . = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - CONFIG_ID_SECTION_OFFSET) - (__id_end - __id_start); 3 | .id (.): { 4 | *(.id) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/boot/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += hardwaremain.c 2 | ramstage-y += selfboot.c 3 | -------------------------------------------------------------------------------- /src/console/font-8x16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wt/coreboot/5b280ddf5bcdfcd2b5589a759d63f45cbbd81fc7/src/console/font-8x16.c -------------------------------------------------------------------------------- /src/cpu/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += amd 2 | subdirs-y += intel 3 | subdirs-y += via 4 | -------------------------------------------------------------------------------- /src/cpu/amd/dualcore/Makefile.inc: -------------------------------------------------------------------------------- 1 | # This is a leaf Makefile, no conditionals. If it is included it will be used. 2 | ramstage-y += amd_sibling.c 3 | -------------------------------------------------------------------------------- /src/cpu/amd/microcode/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += microcode.c 2 | -------------------------------------------------------------------------------- /src/cpu/amd/model_10xxx/Makefile.inc: -------------------------------------------------------------------------------- 1 | # no conditionals here. If you include this file from a socket, then you get all the binaries. 2 | driver-y += model_10xxx_init.c 3 | ramstage-y += update_microcode.c 4 | ramstage-y += apic_timer.c 5 | ramstage-y += processor_name.c 6 | -------------------------------------------------------------------------------- /src/cpu/amd/model_fxx/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_AMD_MODEL_FXX 2 | bool 3 | select MMX 4 | select SSE 5 | select SSE2 6 | 7 | config UDELAY_IO 8 | bool 9 | default n 10 | depends on CPU_AMD_MODEL_FXX 11 | -------------------------------------------------------------------------------- /src/cpu/amd/model_fxx/Makefile.inc: -------------------------------------------------------------------------------- 1 | # no conditionals here. If you include this file from a socket, then you get all the binaries. 2 | driver-y += model_fxx_init.c 3 | ramstage-y += apic_timer.c 4 | ramstage-y += model_fxx_update_microcode.c 5 | ramstage-y += processor_name.c 6 | ramstage-y += powernow_acpi.c 7 | -------------------------------------------------------------------------------- /src/cpu/amd/model_gx2/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += ../../x86/tsc 2 | subdirs-y += ../../x86/lapic 3 | subdirs-y += ../../x86/cache 4 | subdirs-y += ../../x86/smm 5 | 6 | driver-y += model_gx2_init.c 7 | ramstage-y += cpubug.c 8 | 9 | cpu_incs += $(src)/cpu/amd/model_gx2/cache_as_ram.inc 10 | -------------------------------------------------------------------------------- /src/cpu/amd/model_lx/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += ../../x86/tsc 2 | subdirs-y += ../../x86/lapic 3 | subdirs-y += ../../x86/cache 4 | subdirs-y += ../../x86/smm 5 | 6 | driver-y += model_lx_init.c 7 | ramstage-y += cpubug.c 8 | 9 | cpu_incs += $(src)/cpu/amd/model_lx/cache_as_ram.inc 10 | -------------------------------------------------------------------------------- /src/cpu/amd/mtrr/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += amd_mtrr.c 2 | -------------------------------------------------------------------------------- /src/cpu/amd/quadcore/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += amd_sibling.c 2 | -------------------------------------------------------------------------------- /src/cpu/amd/sc520/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_AMD_SC520 2 | bool 3 | -------------------------------------------------------------------------------- /src/cpu/amd/sc520/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += sc520.c 2 | -------------------------------------------------------------------------------- /src/cpu/amd/sc520/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_amd_sc520_ops; 2 | 3 | struct cpu_amd_sc520_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_754/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_AMD_SOCKET_754 2 | bool 3 | select CPU_AMD_MODEL_FXX 4 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_754/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_754.c 2 | subdirs-y += ../model_fxx 3 | subdirs-y += ../dualcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/mtrr 10 | subdirs-y += ../../x86/pae 11 | 12 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 13 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_754/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_amd_socket_754_ops; 2 | 3 | struct cpu_amd_socket_754_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_754/socket_754.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | 5 | struct chip_operations cpu_amd_socket_754_ops = { 6 | CHIP_NAME("Socket 754 CPU") 7 | }; 8 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_939/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_AMD_SOCKET_939 2 | bool 3 | select CPU_AMD_MODEL_FXX 4 | 5 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_939/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_939.c 2 | subdirs-y += ../model_fxx 3 | subdirs-y += ../dualcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/mtrr 10 | subdirs-y += ../../x86/pae 11 | 12 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 13 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_939/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_amd_socket_939_ops; 2 | 3 | struct cpu_amd_socket_939_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_939/socket_939.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations cpu_amd_socket_939_ops = { 5 | CHIP_NAME("Socket 939 CPU") 6 | }; 7 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_940/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_940.c 2 | subdirs-y += ../model_fxx 3 | subdirs-y += ../dualcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/mtrr 10 | subdirs-y += ../../x86/pae 11 | 12 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 13 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_940/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_amd_socket_940_ops; 2 | 3 | struct cpu_amd_socket_940_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_940/socket_940.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations cpu_amd_socket_940_ops = { 5 | CHIP_NAME("Socket 940 CPU") 6 | }; 7 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_AM2/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_AMD_SOCKET_AM2 2 | bool 3 | select K8_REV_F_SUPPORT 4 | # Opteron K8 1G HT support 5 | select K8_HT_FREQ_1G_SUPPORT 6 | select CPU_AMD_MODEL_FXX 7 | 8 | config CPU_SOCKET_TYPE 9 | hex 10 | default 0x11 11 | depends on CPU_AMD_SOCKET_AM2 12 | 13 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_AM2/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_AM2.c 2 | subdirs-y += ../model_fxx 3 | subdirs-y += ../dualcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/mtrr 10 | subdirs-y += ../../x86/pae 11 | subdirs-y += ../../x86/smm 12 | 13 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 14 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_AM2/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_amd_socket_AM2_ops; 2 | 3 | struct cpu_amd_socket_AM2_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_AM2/socket_AM2.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations cpu_amd_socket_AM2_ops = { 5 | CHIP_NAME("Socket AM2 CPU") 6 | }; 7 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_AM2r2/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_AM2r2.c 2 | subdirs-y += ../model_10xxx 3 | subdirs-y += ../quadcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/pae 10 | subdirs-y += ../../x86/smm 11 | subdirs-y += ../../x86/mtrr 12 | 13 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 14 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_AM3/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_AM3.c 2 | subdirs-y += ../model_10xxx 3 | subdirs-y += ../quadcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/pae 10 | subdirs-y += ../../x86/smm 11 | subdirs-y += ../../x86/mtrr 12 | 13 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 14 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_ASB2/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_ASB2.c 2 | subdirs-y += ../model_10xxx 3 | subdirs-y += ../quadcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/pae 10 | subdirs-y += ../../x86/smm 11 | subdirs-y += ../../x86/mtrr 12 | 13 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 14 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_F/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_AMD_SOCKET_F 2 | bool 3 | select K8_REV_F_SUPPORT 4 | select K8_HT_FREQ_1G_SUPPORT 5 | select CPU_AMD_MODEL_FXX 6 | 7 | config CPU_SOCKET_TYPE 8 | hex 9 | default 0x10 10 | depends on CPU_AMD_SOCKET_F 11 | 12 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_F/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_F.c 2 | subdirs-y += ../model_fxx 3 | subdirs-y += ../dualcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/mtrr 10 | subdirs-y += ../../x86/pae 11 | subdirs-y += ../../x86/smm 12 | 13 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 14 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_F/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_amd_socket_F_ops; 2 | 3 | struct cpu_amd_socket_F_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_F/socket_F.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations cpu_amd_socket_F_ops = { 5 | CHIP_NAME("Socket F CPU") 6 | }; 7 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_F_1207/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_F_1207.c 2 | subdirs-y += ../model_10xxx 3 | subdirs-y += ../quadcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/mtrr 10 | subdirs-y += ../../x86/pae 11 | subdirs-y += ../../x86/smm 12 | 13 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 14 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_S1G1/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_S1G1.c 2 | subdirs-y += ../model_fxx 3 | subdirs-y += ../dualcore 4 | subdirs-y += ../mtrr 5 | subdirs-y += ../microcode 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/pae 10 | subdirs-y += ../../x86/smm 11 | subdirs-y += ../../x86/mtrr 12 | 13 | cpu_incs += $(src)/cpu/amd/car/cache_as_ram.inc 14 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_S1G1/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_amd_socket_S1G1_ops; 2 | 3 | struct cpu_amd_socket_S1G1_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/amd/socket_S1G1/socket_S1G1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations cpu_amd_socket_S1G1_ops = { 5 | CHIP_NAME("Socket S1G1 CPU") 6 | }; 7 | -------------------------------------------------------------------------------- /src/cpu/intel/bga956/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_SOCKET_BGA956 2 | bool 3 | select CPU_INTEL_CORE2 4 | -------------------------------------------------------------------------------- /src/cpu/intel/bga956/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += bga956.c 2 | subdirs-y += ../model_1067x 3 | subdirs-y += ../../x86/tsc 4 | subdirs-y += ../../x86/mtrr 5 | subdirs-y += ../../x86/lapic 6 | subdirs-y += ../../x86/cache 7 | subdirs-y += ../../x86/smm 8 | subdirs-y += ../microcode 9 | subdirs-y += ../hyperthreading 10 | 11 | # Use Intel Core (not Core 2) code for CAR init, any CPU might be used. 12 | cpu_incs += $(src)/cpu/intel/model_6ex/cache_as_ram.inc 13 | -------------------------------------------------------------------------------- /src/cpu/intel/bga956/bga956.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | 5 | struct chip_operations cpu_intel_bga956_ops = { 6 | CHIP_NAME("BGA956 CPU") 7 | }; 8 | -------------------------------------------------------------------------------- /src/cpu/intel/bga956/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_intel_bga956_ops; 2 | 3 | struct cpu_intel_bga956_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/intel/ep80579/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_EP80579 2 | bool 3 | select SSE 4 | -------------------------------------------------------------------------------- /src/cpu/intel/ep80579/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += ep80579.c 2 | driver-y += ep80579_init.c 3 | subdirs-y += ../../x86/tsc 4 | subdirs-y += ../../x86/mtrr 5 | subdirs-y += ../../x86/lapic 6 | subdirs-y += ../../x86/cache 7 | subdirs-y += ../../x86/smm 8 | subdirs-y += ../microcode 9 | 10 | -------------------------------------------------------------------------------- /src/cpu/intel/hyperthreading/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += intel_sibling.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/microcode/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += microcode.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/model_1067x/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_CORE2 2 | bool 3 | select SMP 4 | select SSE2 5 | -------------------------------------------------------------------------------- /src/cpu/intel/model_1067x/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_1067x_init.c 2 | subdirs-y += ../../x86/name 3 | 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_106cx/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_106CX 2 | bool 3 | select SMP 4 | select SSE2 5 | select UDELAY_LAPIC 6 | select AP_IN_SIPI_WAIT 7 | -------------------------------------------------------------------------------- /src/cpu/intel/model_106cx/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_106cx_init.c 2 | subdirs-y += ../../x86/name 3 | 4 | cpu_incs += $(src)/cpu/intel/model_106cx/cache_as_ram.inc 5 | -------------------------------------------------------------------------------- /src/cpu/intel/model_69x/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_69X 2 | bool 3 | select SMP 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_69x/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_69x_init.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6bx/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_6BX 2 | bool 3 | select SMP 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6bx/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_6bx_init.c 2 | subdirs-y += ../../x86/name 3 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6dx/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_6DX 2 | bool 3 | select SMP 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6dx/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_6dx_init.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6ex/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_CORE 2 | bool 3 | select SMP 4 | select SSE2 5 | select UDELAY_LAPIC 6 | select AP_IN_SIPI_WAIT 7 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6ex/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_6ex_init.c 2 | subdirs-y += ../../x86/name 3 | 4 | cpu_incs += $(src)/cpu/intel/model_6ex/cache_as_ram.inc 5 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6fx/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_CORE2 2 | bool 3 | select SMP 4 | select SSE2 5 | select UDELAY_LAPIC 6 | select AP_IN_SIPI_WAIT 7 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6fx/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_6fx_init.c 2 | subdirs-y += ../../x86/name 3 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6xx/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_6XX 2 | bool 3 | select SMP 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_6xx/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_6xx_init.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f0x/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_F0X 2 | bool 3 | select SMP 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f0x/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_f0x_init.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f1x/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_F1X 2 | bool 3 | select SMP 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f1x/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_f1x_init.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f2x/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_F2X 2 | bool 3 | select SMP 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f2x/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_f2x_init.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f3x/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_F3X 2 | bool 3 | select SMP 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f3x/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_f3x_init.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f4x/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_MODEL_F4X 2 | bool 3 | select SMP 4 | -------------------------------------------------------------------------------- /src/cpu/intel/model_f4x/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += model_f4x_init.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/slot_2/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_intel_slot_2_ops; 2 | 3 | struct cpu_intel_slot_2_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/intel/slot_2/slot_2.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | 5 | struct chip_operations cpu_intel_slot_2_ops = { 6 | CHIP_NAME("Slot 2 CPU") 7 | }; 8 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_441/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_SOCKET_441 2 | bool 3 | 4 | if CPU_INTEL_SOCKET_441 5 | 6 | config SOCKET_SPECIFIC_OPTIONS # dummy 7 | def_bool y 8 | select CPU_INTEL_MODEL_106CX 9 | select MMX 10 | select SSE 11 | select CACHE_AS_RAM 12 | 13 | config DCACHE_RAM_BASE 14 | hex 15 | default 0xffdf8000 16 | 17 | config DCACHE_RAM_SIZE 18 | hex 19 | default 0x8000 20 | 21 | endif # CPU_INTEL_SOCKET_441 22 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_441/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_441.c 2 | subdirs-y += ../model_106cx 3 | subdirs-y += ../../x86/tsc 4 | subdirs-y += ../../x86/mtrr 5 | subdirs-y += ../../x86/lapic 6 | subdirs-y += ../../x86/cache 7 | subdirs-y += ../../x86/smm 8 | subdirs-y += ../microcode 9 | subdirs-y += ../hyperthreading 10 | subdirs-y += ../speedstep 11 | 12 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_PGA370/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_intel_socket_PGA370_ops; 2 | 3 | struct cpu_intel_socket_PGA370_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_PGA370/socket_PGA370.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations cpu_intel_socket_PGA370_ops = { 5 | CHIP_NAME("Socket PGA370 CPU") 6 | }; 7 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mFCBGA479/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_SOCKET_MFCBGA479 2 | bool 3 | select CPU_INTEL_MODEL_6BX 4 | select MMX 5 | select SSE 6 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mFCBGA479/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_mFCBGA479.c 2 | subdirs-y += ../model_6bx 3 | subdirs-y += ../../x86/tsc 4 | subdirs-y += ../../x86/mtrr 5 | subdirs-y += ../../x86/lapic 6 | subdirs-y += ../../x86/cache 7 | subdirs-y += ../../x86/smm 8 | subdirs-y += ../microcode 9 | 10 | cpu_incs += $(src)/cpu/intel/car/cache_as_ram.inc 11 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mFCBGA479/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_intel_socket_mFCBGA479_ops; 2 | 3 | struct cpu_intel_socket_mFCBGA479_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mFCBGA479/socket_mFCBGA479.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations cpu_intel_socket_mFCBGA479_ops = { 5 | CHIP_NAME("Micro-FCBGA 479 CPU") 6 | }; 7 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mFCPGA478/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_SOCKET_MFCPGA478 2 | bool 3 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mFCPGA478/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_mFCPGA478.c 2 | subdirs-y += ../model_69x 3 | subdirs-y += ../model_6dx 4 | subdirs-y += ../model_6ex 5 | subdirs-y += ../model_6fx 6 | subdirs-y += ../../x86/tsc 7 | subdirs-y += ../../x86/mtrr 8 | subdirs-y += ../../x86/lapic 9 | subdirs-y += ../../x86/cache 10 | subdirs-y += ../../x86/smm 11 | subdirs-y += ../microcode 12 | subdirs-y += ../hyperthreading 13 | subdirs-y += ../speedstep 14 | 15 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mFCPGA478/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_intel_socket_mFCPGA478_ops; 2 | 3 | struct cpu_intel_socket_mFCPGA478_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mFCPGA478/socket_mFCPGA478.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | 5 | struct chip_operations cpu_intel_socket_mFCPGA478_ops = { 6 | CHIP_NAME("Socket mFCPGA478 CPU") 7 | }; 8 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA478/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_SOCKET_MPGA478 2 | bool 3 | select CPU_INTEL_MODEL_69X 4 | select CPU_INTEL_MODEL_6DX 5 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA478/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_mPGA478.c 2 | subdirs-y += ../model_69x 3 | subdirs-y += ../model_6dx 4 | subdirs-y += ../../x86/tsc 5 | subdirs-y += ../../x86/mtrr 6 | subdirs-y += ../../x86/lapic 7 | subdirs-y += ../../x86/cache 8 | subdirs-y += ../../x86/smm 9 | subdirs-y += ../microcode 10 | subdirs-y += ../hyperthreading 11 | 12 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA478/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_intel_socket_mPGA478_ops; 2 | 3 | struct cpu_intel_socket_mPGA478_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA478/socket_mPGA478.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | 5 | struct chip_operations cpu_intel_socket_mPGA478_ops = { 6 | CHIP_NAME("Socket mPGA478 CPU") 7 | }; 8 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA479M/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_SOCKET_MPGA479M 2 | bool 3 | select CPU_INTEL_MODEL_69X 4 | select CPU_INTEL_MODEL_6BX 5 | select CPU_INTEL_MODEL_6DX 6 | select CPU_INTEL_MODEL_F2X 7 | select MMX 8 | select SSE 9 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA479M/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_mPGA479M.c 2 | subdirs-y += ../model_69x 3 | subdirs-y += ../model_6dx 4 | subdirs-y += ../model_f2x 5 | subdirs-y += ../../x86/tsc 6 | subdirs-y += ../../x86/mtrr 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/smm 10 | subdirs-y += ../microcode 11 | subdirs-y += ../hyperthreading 12 | 13 | cpu_incs += $(src)/cpu/intel/car/cache_as_ram.inc 14 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA479M/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_intel_socket_mPGA479M_ops; 2 | 3 | struct cpu_intel_socket_mPGA479M_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA479M/socket_mPGA479M.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | 5 | struct chip_operations cpu_intel_socket_mPGA479M_ops = { 6 | CHIP_NAME("Socket mPGA479M CPU") 7 | }; 8 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA603/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_SOCKET_MPGA603 2 | bool 3 | select CPU_INTEL_MODEL_F0X 4 | select CPU_INTEL_MODEL_F1X 5 | select CPU_INTEL_MODEL_F2X 6 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA603/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_mPGA603_400Mhz.c 2 | subdirs-y += ../model_f0x 3 | subdirs-y += ../model_f1x 4 | subdirs-y += ../model_f2x 5 | subdirs-y += ../../x86/tsc 6 | subdirs-y += ../../x86/mtrr 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/smm 10 | subdirs-y += ../microcode 11 | subdirs-y += ../hyperthreading 12 | 13 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA603/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_intel_socket_mPGA603_ops; 2 | 3 | struct cpu_intel_socket_mPGA603_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA603/socket_mPGA603_400Mhz.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | 5 | struct chip_opertations cpu_intel_socket_mPGA603_ops = { 6 | CHIP_NAME("Socket mPGA603 400Mhz CPU") 7 | }; 8 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA604/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_INTEL_SOCKET_MPGA604 2 | bool 3 | select CPU_INTEL_MODEL_F2X 4 | select CPU_INTEL_MODEL_F3X 5 | select CPU_INTEL_MODEL_F4X 6 | select MMX 7 | select SSE 8 | select UDELAY_TSC 9 | 10 | # mPGA604 are usually Intel Netburst CPUs which should have SSE2 11 | # but the ramtest.c code on the Dell S1850 seems to choke on 12 | # enabling it, so disable it for now. 13 | config SSE2 14 | bool 15 | default n 16 | depends on CPU_INTEL_SOCKET_MPGA604 17 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA604/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += socket_mPGA604.c 2 | subdirs-y += ../model_f2x 3 | subdirs-y += ../model_f3x 4 | subdirs-y += ../model_f4x 5 | subdirs-y += ../../x86/tsc 6 | subdirs-y += ../../x86/mtrr 7 | subdirs-y += ../../x86/lapic 8 | subdirs-y += ../../x86/cache 9 | subdirs-y += ../../x86/smm 10 | subdirs-y += ../microcode 11 | subdirs-y += ../hyperthreading 12 | 13 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA604/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations cpu_intel_socket_mPGA604_ops; 2 | 3 | struct cpu_intel_socket_mPGA604_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/cpu/intel/socket_mPGA604/socket_mPGA604.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | 5 | struct chip_operations cpu_intel_socket_mPGA604_ops = { 6 | CHIP_NAME("Socket mPGA604 CPU") 7 | }; 8 | -------------------------------------------------------------------------------- /src/cpu/intel/speedstep/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c 2 | -------------------------------------------------------------------------------- /src/cpu/intel/thermal_monitoring/thermal_monitoring.h: -------------------------------------------------------------------------------- 1 | #define THERMAL_MONITORING_OFF 0 2 | #define THERMAL_MONITORING_SET 0x00000008 3 | #define MISC_ENABLE 0x01a0 4 | -------------------------------------------------------------------------------- /src/cpu/via/Kconfig: -------------------------------------------------------------------------------- 1 | source src/cpu/via/model_c3/Kconfig 2 | source src/cpu/via/model_c7/Kconfig 3 | -------------------------------------------------------------------------------- /src/cpu/via/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-$(CONFIG_CPU_VIA_C7) += model_c7 2 | subdirs-$(CONFIG_CPU_VIA_C3) += model_c3 3 | 4 | -------------------------------------------------------------------------------- /src/cpu/via/model_c3/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_VIA_C3 2 | bool 3 | select UDELAY_TSC 4 | select MMX 5 | -------------------------------------------------------------------------------- /src/cpu/via/model_c3/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += ../../x86/tsc 2 | subdirs-y += ../../x86/mtrr 3 | subdirs-y += ../../x86/lapic 4 | subdirs-y += ../../x86/cache 5 | subdirs-y += ../../x86/smm 6 | subdirs-y += ../../intel/microcode 7 | 8 | driver-y += model_c3_init.c 9 | -------------------------------------------------------------------------------- /src/cpu/via/model_c7/Kconfig: -------------------------------------------------------------------------------- 1 | config CPU_VIA_C7 2 | bool 3 | 4 | if CPU_VIA_C7 5 | 6 | config CPU_SPECFIC_OPTIONS 7 | def_bool y 8 | select UDELAY_TSC 9 | select MMX 10 | select SSE2 11 | select CACHE_AS_RAM 12 | 13 | config DCACHE_RAM_BASE 14 | hex 15 | default 0xffef0000 16 | depends on CPU_VIA_C7 17 | 18 | config DCACHE_RAM_SIZE 19 | hex 20 | default 0x8000 21 | depends on CPU_VIA_C7 22 | 23 | endif # CPU_VIA_C7 24 | -------------------------------------------------------------------------------- /src/cpu/via/model_c7/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += ../../x86/tsc 2 | subdirs-y += ../../x86/mtrr 3 | subdirs-y += ../../x86/lapic 4 | subdirs-y += ../../x86/cache 5 | subdirs-y += ../../x86/smm 6 | subdirs-y += ../../intel/microcode 7 | 8 | driver-y += model_c7_init.c 9 | 10 | cpu_incs += $(src)/cpu/via/car/cache_as_ram.inc 11 | -------------------------------------------------------------------------------- /src/cpu/x86/16bit/entry16.lds: -------------------------------------------------------------------------------- 1 | gdtptr16_offset = gdtptr16 & 0xffff; 2 | -------------------------------------------------------------------------------- /src/cpu/x86/16bit/reset16.lds: -------------------------------------------------------------------------------- 1 | /* 2 | * _ROMTOP : The top of the rom used where we 3 | * need to put the reset vector. 4 | */ 5 | 6 | SECTIONS { 7 | /* Trigger an error if I have an unuseable start address */ 8 | _bogus = ASSERT(_start >= 0xffff0000, "_start too low. Please decrease CONFIG_ROM_IMAGE_SIZE"); 9 | _ROMTOP = 0xfffffff0; 10 | . = _ROMTOP; 11 | .reset . : { 12 | *(.reset) 13 | . = 15 ; 14 | BYTE(0x00); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/cpu/x86/32bit/entry32.lds: -------------------------------------------------------------------------------- 1 | ENTRY(protected_start) 2 | -------------------------------------------------------------------------------- /src/cpu/x86/cache/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += cache.c 2 | -------------------------------------------------------------------------------- /src/cpu/x86/cache/cache.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void x86_enable_cache(void) 5 | { 6 | post_code(0x60); 7 | printk(BIOS_INFO, "Enabling cache\n"); 8 | enable_cache(); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/cpu/x86/lapic/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += lapic.c 2 | ramstage-y += lapic_cpu_init.c 3 | ramstage-y += secondary.S 4 | ramstage-$(CONFIG_UDELAY_LAPIC) += apic_timer.c 5 | -------------------------------------------------------------------------------- /src/cpu/x86/lapic/boot_cpu.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static int boot_cpu(void) 4 | { 5 | int bsp; 6 | msr_t msr; 7 | msr = rdmsr(0x1b); 8 | bsp = !!(msr.lo & (1 << 8)); 9 | return bsp; 10 | } 11 | -------------------------------------------------------------------------------- /src/cpu/x86/mtrr/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += mtrr.c 2 | -------------------------------------------------------------------------------- /src/cpu/x86/pae/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += pgtbl.c 2 | -------------------------------------------------------------------------------- /src/cpu/x86/tsc/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-$(CONFIG_UDELAY_TSC) += delay_tsc.c 2 | 3 | -------------------------------------------------------------------------------- /src/devices/oprom/x86emu/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += debug.c 2 | ramstage-y += decode.c 3 | ramstage-y += fpu.c 4 | ramstage-y += ops.c 5 | ramstage-y += ops2.c 6 | ramstage-y += prim_ops.c 7 | ramstage-y += sys.c 8 | -------------------------------------------------------------------------------- /src/devices/oprom/yabel/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += biosemu.c 2 | ramstage-y += debug.c 3 | ramstage-y += device.c 4 | ramstage-y += interrupt.c 5 | ramstage-y += io.c 6 | ramstage-y += mem.c 7 | ramstage-y += pmm.c 8 | ramstage-y += vbe.c 9 | subdirs-y += compat 10 | -------------------------------------------------------------------------------- /src/devices/oprom/yabel/compat/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += functions.c 2 | -------------------------------------------------------------------------------- /src/drivers/ati/ragexl/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-$(CONFIG_ATI_RAGE_XL) += xlinit.c 2 | -------------------------------------------------------------------------------- /src/drivers/dec/21143/Kconfig: -------------------------------------------------------------------------------- 1 | config DRIVERS_DEC_21143 2 | bool 3 | -------------------------------------------------------------------------------- /src/drivers/dec/21143/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += 21143.c 2 | 3 | -------------------------------------------------------------------------------- /src/drivers/dec/Kconfig: -------------------------------------------------------------------------------- 1 | source src/drivers/dec/21143/Kconfig 2 | -------------------------------------------------------------------------------- /src/drivers/dec/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-$(CONFIG_DRIVERS_DEC_21143) += 21143 2 | -------------------------------------------------------------------------------- /src/drivers/generic/debug/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-$(CONFIG_DRIVERS_GENERIC_DEBUG) += debug_dev.c 2 | -------------------------------------------------------------------------------- /src/drivers/generic/debug/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations drivers_generic_debug_ops; 2 | 3 | struct drivers_generic_debug_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/drivers/i2c/adm1026/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations drivers_i2c_adm1026_ops; 2 | 3 | struct drivers_i2c_adm1026_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/drivers/i2c/adm1027/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations drivers_i2c_adm1027_ops; 2 | 3 | struct drivers_i2c_adm1027_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/drivers/i2c/adt7463/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations drivers_i2c_adt7463_ops; 2 | 3 | struct drivers_i2c_adt7463_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/drivers/i2c/i2cmux/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations drivers_i2c_i2cmux_ops; 2 | 3 | struct drivers_i2c_i2cmux_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/drivers/i2c/i2cmux2/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations drivers_i2c_i2cmux2_ops; 2 | 3 | struct drivers_i2c_i2cmux2_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/drivers/i2c/lm63/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations drivers_i2c_lm63_ops; 2 | 3 | struct drivers_i2c_lm63_config { 4 | }; 5 | -------------------------------------------------------------------------------- /src/drivers/sil/3114/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-$(CONFIG_DRIVERS_SIL_3114) += sil_sata.c 2 | -------------------------------------------------------------------------------- /src/include/boot/tables.h: -------------------------------------------------------------------------------- 1 | #ifndef BOOT_TABLES_H 2 | #define BOOT_TABLES_H 3 | 4 | #include 5 | #include 6 | 7 | void lb_add_memory_range(struct lb_memory *mem, 8 | uint32_t type, uint64_t start, uint64_t size); 9 | 10 | struct lb_memory *write_tables(void); 11 | 12 | #endif /* BOOT_TABLES_H */ 13 | -------------------------------------------------------------------------------- /src/include/cpu/amd/microcode.h: -------------------------------------------------------------------------------- 1 | #ifndef CPU_AMD_MICROCODE_H 2 | #define CPU_AMD_MICROCODE_H 3 | 4 | void amd_update_microcode(void *microcode_updates, unsigned processor_rev_id); 5 | void update_microcode(u32 processor_rev_id); 6 | void model_fxx_update_microcode(unsigned cpu_deviceid); 7 | #endif /* CPU_AMD_MICROCODE_H */ 8 | 9 | -------------------------------------------------------------------------------- /src/include/cpu/intel/hyperthreading.h: -------------------------------------------------------------------------------- 1 | #ifndef CPU_INTEL_HYPERTHREADING_H 2 | #define CPU_INTEL_HYPERTHREADING_H 3 | 4 | struct device; 5 | void intel_sibling_init(struct device *cpu); 6 | 7 | #endif /* CPU_INTEL_HYPERTHREADING_H */ 8 | -------------------------------------------------------------------------------- /src/include/cpu/intel/microcode.h: -------------------------------------------------------------------------------- 1 | void intel_update_microcode(const void *microcode_updates); 2 | -------------------------------------------------------------------------------- /src/include/cpu/x86/bist.h: -------------------------------------------------------------------------------- 1 | #ifndef CPU_X86_BIST_H 2 | #define CPU_X86_BIST_H 3 | 4 | static void report_bist_failure(u32 bist) 5 | { 6 | if (bist != 0) { 7 | #if CONFIG_CACHE_AS_RAM 8 | printk(BIOS_EMERG, "BIST failed: %08x", bist); 9 | #else 10 | print_emerg("BIST failed: "); 11 | print_emerg_hex32(bist); 12 | #endif 13 | die("\n"); 14 | 15 | } 16 | } 17 | 18 | #endif /* CPU_Xf86_BIST_H */ 19 | -------------------------------------------------------------------------------- /src/include/cpu/x86/pae.h: -------------------------------------------------------------------------------- 1 | #ifndef CPU_X86_PAE_H 2 | #define CPU_X86_PAE_H 3 | 4 | #define MAPPING_ERROR ((void *)0xffffffffUL) 5 | void *map_2M_page(unsigned long page); 6 | 7 | #endif /* CPU_X86_PAE_H */ 8 | -------------------------------------------------------------------------------- /src/include/cpu/x86/post_code.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #define post_code(value) \ 4 | movb $value, %al; \ 5 | outb %al, $0x80 6 | 7 | -------------------------------------------------------------------------------- /src/include/delay.h: -------------------------------------------------------------------------------- 1 | #ifndef DELAY_H 2 | #define DELAY_H 3 | 4 | #if !defined( __ROMCC__) 5 | 6 | #if CONFIG_HAVE_INIT_TIMER == 1 7 | void init_timer(void); 8 | #else 9 | #define init_timer() do{} while(0) 10 | #endif 11 | 12 | void udelay(unsigned usecs); 13 | void mdelay(unsigned msecs); 14 | void delay(unsigned secs); 15 | 16 | #endif 17 | #endif /* DELAY_H */ 18 | -------------------------------------------------------------------------------- /src/include/device/agp.h: -------------------------------------------------------------------------------- 1 | #ifndef DEVICE_AGP_H 2 | #define DEVICE_AGP_H 3 | /* (c) 2005 Linux Networx GPL see COPYING for details */ 4 | 5 | unsigned int agp_scan_bus(struct bus *bus, 6 | unsigned min_devfn, unsigned max_devfn, unsigned int max); 7 | unsigned int agp_scan_bridge(device_t dev, unsigned int max); 8 | 9 | extern struct device_operations default_agp_ops_bus; 10 | 11 | 12 | #endif /* DEVICE_AGP_H */ 13 | -------------------------------------------------------------------------------- /src/include/device/cardbus.h: -------------------------------------------------------------------------------- 1 | #ifndef DEVICE_CARDBUS_H 2 | #define DEVICE_CARDBUS_H 3 | /* (c) 2005 Linux Networx GPL see COPYING for details */ 4 | 5 | void cardbus_read_resources(device_t dev); 6 | void cardbus_enable_resources(device_t dev); 7 | 8 | extern struct device_operations default_cardbus_ops_bus; 9 | 10 | #endif /* DEVICE_CARDBUS_H */ 11 | -------------------------------------------------------------------------------- /src/include/device/pciexp.h: -------------------------------------------------------------------------------- 1 | #ifndef DEVICE_PCIEXP_H 2 | #define DEVICE_PCIEXP_H 3 | /* (c) 2005 Linux Networx GPL see COPYING for details */ 4 | 5 | unsigned int pciexp_scan_bus(struct bus *bus, 6 | unsigned min_devfn, unsigned max_devfn, unsigned int max); 7 | unsigned int pciexp_scan_bridge(device_t dev, unsigned int max); 8 | 9 | extern struct device_operations default_pciexp_ops_bus; 10 | 11 | #endif /* DEVICE_PCIEXP_H */ 12 | -------------------------------------------------------------------------------- /src/include/device/pcix.h: -------------------------------------------------------------------------------- 1 | #ifndef DEVICE_PCIX_H 2 | #define DEVICE_PCIX_H 3 | /* (c) 2005 Linux Networx GPL see COPYING for details */ 4 | 5 | unsigned int pcix_scan_bus(struct bus *bus, 6 | unsigned min_devfn, unsigned max_devfn, unsigned int max); 7 | unsigned int pcix_scan_bridge(device_t dev, unsigned int max); 8 | const char *pcix_speed(unsigned sstatus); 9 | 10 | extern struct device_operations default_pcix_ops_bus; 11 | 12 | #endif /* DEVICE_PCIX_H */ 13 | -------------------------------------------------------------------------------- /src/include/device/pnp_def.h: -------------------------------------------------------------------------------- 1 | #ifndef DEVICE_PNP_DEF_H 2 | #define DEVICE_PNP_DEF_H 3 | 4 | #define PNP_IDX_EN 0x30 5 | #define PNP_IDX_IO0 0x60 6 | #define PNP_IDX_IO1 0x62 7 | #define PNP_IDX_IO2 0x64 8 | #define PNP_IDX_IO3 0x66 9 | #define PNP_IDX_IRQ0 0x70 10 | #define PNP_IDX_IRQ1 0x72 11 | #define PNP_IDX_DRQ0 0x74 12 | #define PNP_IDX_DRQ1 0x75 13 | #define PNP_IDX_MSC0 0xf0 14 | #define PNP_IDX_MSC1 0xf1 15 | 16 | #endif /* DEVICE_PNP_DEF_H */ 17 | -------------------------------------------------------------------------------- /src/include/device/smbus_def.h: -------------------------------------------------------------------------------- 1 | #ifndef DEVICE_SMBUS_DEF_H 2 | #define DEVICE_SMBUS_DEF_H 3 | 4 | /* Error results are negative success is >= 0 */ 5 | #define SMBUS_ERROR -1 6 | #define SMBUS_WAIT_UNTIL_READY_TIMEOUT -2 7 | #define SMBUS_WAIT_UNTIL_DONE_TIMEOUT -3 8 | 9 | #endif /* DEVICE_SMBUS_DEF_H */ 10 | -------------------------------------------------------------------------------- /src/include/fallback.h: -------------------------------------------------------------------------------- 1 | #ifndef FALLBACK_H 2 | #define FALLBACK_H 3 | 4 | #if !defined(ASSEMBLY) && !defined(__PRE_RAM__) 5 | 6 | void set_boot_successful(void); 7 | void boot_successful(void); 8 | 9 | #endif /* ASSEMBLY */ 10 | 11 | #define RTC_BOOT_BYTE 48 12 | 13 | #endif /* FALLBACK_H */ 14 | -------------------------------------------------------------------------------- /src/include/ip_checksum.h: -------------------------------------------------------------------------------- 1 | #ifndef IP_CHECKSUM_H 2 | #define IP_CHECKSUM_H 3 | 4 | #ifndef __ROMCC__ 5 | unsigned long compute_ip_checksum(void *addr, unsigned long length); 6 | unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned long new); 7 | #endif 8 | #endif /* IP_CHECKSUM_H */ 9 | -------------------------------------------------------------------------------- /src/include/pc80/isa-dma.h: -------------------------------------------------------------------------------- 1 | #ifndef PC80_ISA_DMA_H 2 | #define PC80_ISA_DMA_H 3 | 4 | void isa_dma_init(void); 5 | 6 | #endif /* PC80_ISA_DMA_H */ 7 | -------------------------------------------------------------------------------- /src/include/pc80/keyboard.h: -------------------------------------------------------------------------------- 1 | #ifndef PC80_KEYBOARD_H 2 | #define PC80_KEYBOARD_H 3 | 4 | struct pc_keyboard { 5 | /* No initialization parameters for now */ 6 | }; 7 | 8 | void pc_keyboard_init(struct pc_keyboard *keyboard); 9 | void set_kbc_ps2_mode(void); 10 | 11 | #endif /* PC80_KEYBOARD_H */ 12 | -------------------------------------------------------------------------------- /src/include/reset.h: -------------------------------------------------------------------------------- 1 | #ifndef RESET_H 2 | #define RESET_H 3 | 4 | #if !defined( __ROMCC__ ) 5 | /* ROMCC can't do function prototypes... */ 6 | 7 | #if CONFIG_HAVE_HARD_RESET == 1 8 | void hard_reset(void); 9 | #else 10 | #define hard_reset() do {} while(0) 11 | #endif 12 | void soft_reset(void); 13 | 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /src/include/smp/spinlock.h: -------------------------------------------------------------------------------- 1 | #ifndef SMP_SPINLOCK_H 2 | #define SMP_SPINLOCK_H 3 | 4 | #if CONFIG_SMP == 1 5 | #include 6 | #else /* !CONFIG_SMP */ 7 | 8 | #define DECLARE_SPIN_LOCK(x) 9 | #define barrier() do {} while(0) 10 | #define spin_is_locked(lock) 0 11 | #define spin_unlock_wait(lock) do {} while(0) 12 | #define spin_lock(lock) do {} while(0) 13 | #define spin_unlock(lock) do {} while(0) 14 | #define cpu_relax() do {} while(0) 15 | #endif 16 | 17 | #endif /* SMP_SPINLOCK_H */ 18 | -------------------------------------------------------------------------------- /src/include/stdlib.h: -------------------------------------------------------------------------------- 1 | #ifndef STDLIB_H 2 | #define STDLIB_H 3 | 4 | #include 5 | 6 | #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) 7 | 8 | #define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1) 9 | #define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask)) 10 | 11 | #define MIN(a,b) ((a) < (b) ? (a) : (b)) 12 | #define MAX(a,b) ((a) > (b) ? (a) : (b)) 13 | 14 | #if !defined(__PRE_RAM__) 15 | void *malloc(size_t size); 16 | void free(void *ptr); 17 | #endif 18 | 19 | #endif /* STDLIB_H */ 20 | -------------------------------------------------------------------------------- /src/include/watchdog.h: -------------------------------------------------------------------------------- 1 | #ifndef WATCHDOG_H 2 | #define WATCHDOG_H 3 | 4 | #if CONFIG_USE_WATCHDOG_ON_BOOT == 1 5 | void watchdog_off(void); 6 | #else 7 | #define watchdog_off() 8 | #endif 9 | 10 | #endif /* WATCHDOG_H */ 11 | -------------------------------------------------------------------------------- /src/lib/delay.c: -------------------------------------------------------------------------------- 1 | #include 2 | void mdelay(unsigned msecs) 3 | { 4 | unsigned i; 5 | for(i = 0; i < msecs; i++) { 6 | udelay(1000); 7 | } 8 | } 9 | void delay(unsigned secs) 10 | { 11 | unsigned i; 12 | for(i = 0; i < secs; i++) { 13 | mdelay(1000); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/lib/memcmp.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int memcmp(const void *src1, const void *src2, size_t bytes) 4 | { 5 | const unsigned char *s1, *s2; 6 | int result; 7 | s1 = src1; 8 | s2 = src2; 9 | result = 0; 10 | while((bytes > 0) && (result == 0)) { 11 | result = *s1 - *s2; 12 | bytes--; 13 | s1++; 14 | s2++; 15 | } 16 | return result; 17 | } 18 | -------------------------------------------------------------------------------- /src/lib/memcpy.c: -------------------------------------------------------------------------------- 1 | #include 2 | void *memcpy(void *vdest, const void *vsrc, size_t bytes) 3 | { 4 | const char *src = vsrc; 5 | char *dest = vdest; 6 | int i; 7 | 8 | for (i = 0; i < (int)bytes; i++) 9 | dest[i] = src[i]; 10 | 11 | return vdest; 12 | } 13 | -------------------------------------------------------------------------------- /src/lib/memmove.c: -------------------------------------------------------------------------------- 1 | #include 2 | void *memmove(void *vdest, const void *vsrc, size_t count) 3 | { 4 | const char *src = vsrc; 5 | char *dest = vdest; 6 | 7 | if (dest <= src) { 8 | while (count--) { 9 | *dest++ = *src++; 10 | } 11 | } else { 12 | src += count - 1; 13 | dest += count - 1; 14 | while(count--) { 15 | *dest-- = *src--; 16 | } 17 | } 18 | return vdest; 19 | } 20 | -------------------------------------------------------------------------------- /src/lib/memset.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void *memset(void *s, int c, size_t n) 4 | { 5 | int i; 6 | char *ss = (char *) s; 7 | 8 | for (i = 0; i < (int)n; i++) 9 | ss[i] = c; 10 | 11 | return s; 12 | } 13 | -------------------------------------------------------------------------------- /src/mainboard/amd/rumba/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config { 4 | int nicirq; 5 | }; 6 | -------------------------------------------------------------------------------- /src/mainboard/amd/serengeti_cheetah/acpi/pci0_hc.asl: -------------------------------------------------------------------------------- 1 | #include "amd8111.asl" //real SB at first 2 | #include "amd8131.asl" 3 | -------------------------------------------------------------------------------- /src/mainboard/amd/serengeti_cheetah/acpi/pci2_hc.asl: -------------------------------------------------------------------------------- 1 | #include "amd8132_2.asl" 2 | -------------------------------------------------------------------------------- /src/mainboard/amd/serengeti_cheetah/acpi/pci3_hc.asl: -------------------------------------------------------------------------------- 1 | #include "amd8151.asl" 2 | -------------------------------------------------------------------------------- /src/mainboard/amd/serengeti_cheetah/acpi/pci4_hc.asl: -------------------------------------------------------------------------------- 1 | #include "amd8131_2.asl" 2 | -------------------------------------------------------------------------------- /src/mainboard/amd/serengeti_cheetah/acpi/superio.asl: -------------------------------------------------------------------------------- 1 | // #include "w83627hf.asl" 2 | -------------------------------------------------------------------------------- /src/mainboard/amd/serengeti_cheetah/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/amd/serengeti_cheetah/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("AMD Serengeti Cheetah Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/arima/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_ARIMA 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_ARIMA_HDAMA 7 | bool "HDAMA" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/arima/hdama/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Arima" 16 | 17 | endif # VENDOR_ARIMA 18 | -------------------------------------------------------------------------------- /src/mainboard/arima/hdama/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/arima/hdama/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Arima HDAMA Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/artecgroup/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_ARTEC_GROUP 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_ARTECGROUP_DBE61 7 | bool "DBE61" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/artecgroup/dbe61/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Artec Group" 16 | 17 | endif # VENDOR_ARTEC_GROUP 18 | -------------------------------------------------------------------------------- /src/mainboard/artecgroup/dbe61/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/asus/mew-vm/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/asus/mew-vm/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "chip.h" 4 | 5 | int add_mainboard_resources(struct lb_memory *mem) 6 | { 7 | return add_northbridge_resources(mem); 8 | } 9 | 10 | struct chip_operations mainboard_ops = { 11 | CHIP_NAME("ASUS MEW-VM Mainboard") 12 | }; 13 | -------------------------------------------------------------------------------- /src/mainboard/broadcom/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_BROADCOM 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_BROADCOM_BLAST 7 | bool "Blast" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/broadcom/blast/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Broadcom" 16 | 17 | endif # VENDOR_BROADCOM 18 | -------------------------------------------------------------------------------- /src/mainboard/broadcom/blast/Makefile.inc: -------------------------------------------------------------------------------- 1 | 2 | # Needed by irq_tables and mptable and acpi_tables. 3 | 4 | ramstage-y += ../../../drivers/i2c/i2cmux2/i2cmux2.c 5 | -------------------------------------------------------------------------------- /src/mainboard/broadcom/blast/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/broadcom/blast/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Broadcom Blast Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/dell/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_DELL 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_DELL_S1850 7 | bool "PowerEdge 1850" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/dell/s1850/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Dell" 16 | 17 | endif # VENDOR_DELL 18 | -------------------------------------------------------------------------------- /src/mainboard/dell/s1850/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=p4 -O2 2 | -------------------------------------------------------------------------------- /src/mainboard/dell/s1850/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/dell/s1850/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Dell S1850 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/dell/s1850/reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #if defined (__PRE_RAM__) 4 | #include 5 | #endif 6 | 7 | void soft_reset(void) 8 | { 9 | outb(0x04, 0xcf9); 10 | } 11 | 12 | void hard_reset(void) 13 | { 14 | outb(0x02, 0xcf9); 15 | outb(0x06, 0xcf9); 16 | } 17 | -------------------------------------------------------------------------------- /src/mainboard/digitallogic/adl855pc/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=p3 -O 2 | -------------------------------------------------------------------------------- /src/mainboard/digitallogic/adl855pc/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/digitallogic/adl855pc/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("DIGITAL-LOGIC ADL855PC Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/digitallogic/msm586seg/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=i386 -O 2 | -------------------------------------------------------------------------------- /src/mainboard/digitallogic/msm586seg/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/digitallogic/msm586seg/devicetree.cb: -------------------------------------------------------------------------------- 1 | chip cpu/amd/sc520 2 | device pci_domain 0 on 3 | device pci 0.0 on end 4 | device pci 12.0 on end # enet 5 | device pci 14.0 on end # 69000 6 | # register "com1" = "{1}" 7 | # register "com1" = "{1, 0, 0x3f8, 4}" 8 | end 9 | 10 | end 11 | -------------------------------------------------------------------------------- /src/mainboard/digitallogic/msm800sev/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/eaglelion/5bcm/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/eaglelion/5bcm/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Eaglelion 5BCM Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/emulation/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_EMULATION 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_EMULATION_QEMU_X86 7 | bool "QEMU x86" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/emulation/qemu-x86/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Emulation" 16 | 17 | endif # VENDOR_EMULATION 18 | -------------------------------------------------------------------------------- /src/mainboard/emulation/qemu-x86/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=i386 -O 2 | 3 | ramstage-y += northbridge.c 4 | -------------------------------------------------------------------------------- /src/mainboard/emulation/qemu-x86/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | 5 | struct mainboard_emulation_qemu_x86_config {}; 6 | 7 | extern struct chip_operations mainboard_emulation_qemu_x86_ops; 8 | 9 | -------------------------------------------------------------------------------- /src/mainboard/emulation/qemu-x86/devicetree.cb: -------------------------------------------------------------------------------- 1 | chip mainboard/emulation/qemu-x86 2 | device pci_domain 0 on 3 | device pci 0.0 on end 4 | 5 | chip southbridge/intel/i82371eb # southbridge 6 | device pci 01.0 on end 7 | device pci 01.1 on end 8 | register "ide0_enable" = "1" 9 | register "ide1_enable" = "1" 10 | end 11 | 12 | # register "com1" = "{1}" 13 | # register "com1" = "{1, 0, 0x3f8, 4}" 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /src/mainboard/hp/dl145_g1/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += ../../../drivers/i2c/i2cmux/i2cmux.c -------------------------------------------------------------------------------- /src/mainboard/hp/dl145_g1/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/ibase/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_IBASE 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_IBASE_MB899 7 | bool "MB899" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/ibase/mb899/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "iBase" 16 | 17 | endif # VENDOR_IBASE 18 | -------------------------------------------------------------------------------- /src/mainboard/ibase/mb899/cmos.layout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wt/coreboot/5b280ddf5bcdfcd2b5589a759d63f45cbbd81fc7/src/mainboard/ibase/mb899/cmos.layout -------------------------------------------------------------------------------- /src/mainboard/ibm/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_IBM 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_IBM_E325 7 | bool "eServer 325" 8 | config BOARD_IBM_E326 9 | bool "eServer 326" 10 | 11 | endchoice 12 | 13 | source "src/mainboard/ibm/e325/Kconfig" 14 | source "src/mainboard/ibm/e326/Kconfig" 15 | 16 | config MAINBOARD_VENDOR 17 | string 18 | default "IBM" 19 | 20 | endif # VENDOR_IBM 21 | -------------------------------------------------------------------------------- /src/mainboard/ibm/e325/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/ibm/e325/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("IBM eServer 325 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/ibm/e326/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/ibm/e326/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("IBM eServer 326 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/intel/eagleheights/ioapic.h: -------------------------------------------------------------------------------- 1 | #define IOAPIC_I3100 2 2 | #define INTEL_IOAPIC_NUM_INTERRUPTS 24 3 | -------------------------------------------------------------------------------- /src/mainboard/intel/jarrell/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=p4 -O2 2 | -------------------------------------------------------------------------------- /src/mainboard/intel/jarrell/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/intel/jarrell/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Intel Jarell Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/intel/jarrell/power_reset_check.c: -------------------------------------------------------------------------------- 1 | 2 | static void power_down_reset_check(void) 3 | { 4 | uint8_t cmos; 5 | 6 | cmos=cmos_read(RTC_BOOT_BYTE)>>4 ; 7 | print_debug("Boot byte = "); 8 | print_debug_hex8(cmos); 9 | print_debug("\n"); 10 | 11 | if((cmos>2)&&(cmos&1)) full_reset(); 12 | } 13 | -------------------------------------------------------------------------------- /src/mainboard/intel/mtarvon/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=p4 -O2 2 | -------------------------------------------------------------------------------- /src/mainboard/intel/truxton/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=p4 -fno-simplify-phi -O2 2 | -------------------------------------------------------------------------------- /src/mainboard/intel/xe7501devkit/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=p4 -O2 2 | -------------------------------------------------------------------------------- /src/mainboard/intel/xe7501devkit/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/intel/xe7501devkit/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Intel Xeon E7501 DevKit Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/intel/xe7501devkit/reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "southbridge/intel/i82801cx/i82801cx.h" 4 | 5 | void hard_reset(void) 6 | { 7 | i82801cx_hard_reset(); 8 | } 9 | -------------------------------------------------------------------------------- /src/mainboard/iwill/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_IWILL 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_IWILL_DK8_HTX 7 | bool "DK8-HTX" 8 | config BOARD_IWILL_DK8S2 9 | bool "DK8S2" 10 | config BOARD_IWILL_DK8X 11 | bool "DK8X" 12 | 13 | endchoice 14 | 15 | source "src/mainboard/iwill/dk8_htx/Kconfig" 16 | source "src/mainboard/iwill/dk8s2/Kconfig" 17 | source "src/mainboard/iwill/dk8x/Kconfig" 18 | 19 | config MAINBOARD_VENDOR 20 | string 21 | default "IWILL" 22 | 23 | endif # VENDOR_IWILL 24 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8_htx/acpi/pci0_hc.asl: -------------------------------------------------------------------------------- 1 | #include "amd8111.asl" //real SB at first 2 | #include "amd8131.asl" 3 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8_htx/acpi/pci2_hc.asl: -------------------------------------------------------------------------------- 1 | #include "amd8132_2.asl" 2 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8_htx/acpi/pci3_hc.asl: -------------------------------------------------------------------------------- 1 | #include "amd8151.asl" 2 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8_htx/acpi/pci4_hc.asl: -------------------------------------------------------------------------------- 1 | #include "amd8131_2.asl" 2 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8_htx/acpi/pci5_hc.asl: -------------------------------------------------------------------------------- 1 | #include "htx_no_ioapic.asl" 2 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8_htx/acpi/superio.asl: -------------------------------------------------------------------------------- 1 | // #include "w83627hf.asl" 2 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8_htx/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8_htx/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("IWILL DK8-HTX Mainboard") 6 | }; 7 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8s2/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8s2/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("IWILL DK8S2 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8x/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/iwill/dk8x/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("IWILL DK8X Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/jetway/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_JETWAY 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_JETWAY_J7F24 7 | bool "J7F24" 8 | config BOARD_JETWAY_PA78VM5 9 | bool "PA78VM5 (Fam10)" 10 | 11 | endchoice 12 | 13 | source "src/mainboard/jetway/j7f24/Kconfig" 14 | source "src/mainboard/jetway/pa78vm5/Kconfig" 15 | 16 | config MAINBOARD_VENDOR 17 | string 18 | default "Jetway" 19 | 20 | endif # VENDOR_JETWAY 21 | -------------------------------------------------------------------------------- /src/mainboard/kontron/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_KONTRON 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_KONTRON_986LCD_M 7 | bool "986LCD-M/mITX" 8 | config BOARD_KONTRON_KT690 9 | bool "KT690/mITX" 10 | 11 | endchoice 12 | 13 | source "src/mainboard/kontron/986lcd-m/Kconfig" 14 | source "src/mainboard/kontron/kt690/Kconfig" 15 | 16 | config MAINBOARD_VENDOR 17 | string 18 | default "Kontron" 19 | 20 | endif # VENDOR_KONTRON 21 | -------------------------------------------------------------------------------- /src/mainboard/lanner/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_LANNER 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_LANNER_EM8510 7 | bool "EM-8510" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/lanner/em8510/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Lanner" 16 | 17 | endif # VENDOR_LANNER 18 | -------------------------------------------------------------------------------- /src/mainboard/lippert/frontrunner/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS=-mcpu=i386 -O 2 | -------------------------------------------------------------------------------- /src/mainboard/lippert/frontrunner/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/lippert/frontrunner/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Lippert Cool Frontrunner Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/newisys/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_NEWISYS 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_NEWISYS_KHEPRI 7 | bool "Khephri - 2100 Server (SUN Fire v20z)" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/newisys/khepri/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Newisys" 16 | 17 | endif # VENDOR_NEWISYS 18 | -------------------------------------------------------------------------------- /src/mainboard/newisys/khepri/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/newisys/khepri/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Newisys 2100 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/nvidia/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_NVIDIA 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_NVIDIA_L1_2PVV 7 | bool "l1_2pvv" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/nvidia/l1_2pvv/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "NVIDIA" 16 | 17 | endif # VENDOR_NVIDIA 18 | -------------------------------------------------------------------------------- /src/mainboard/pcengines/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_PC_ENGINES 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_PCENGINES_ALIX1C 7 | bool "ALIX.1C" 8 | config BOARD_PCENGINES_ALIX2D 9 | bool "ALIX.2D2 or 2D3" 10 | 11 | endchoice 12 | 13 | source "src/mainboard/pcengines/alix1c/Kconfig" 14 | source "src/mainboard/pcengines/alix2d/Kconfig" 15 | 16 | config MAINBOARD_VENDOR 17 | string 18 | default "PC Engines" 19 | 20 | endif # VENDOR_PC_ENGINES 21 | -------------------------------------------------------------------------------- /src/mainboard/rca/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_RCA 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_RCA_RM4100 7 | bool "RM4100" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/rca/rm4100/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "RCA" 16 | 17 | endif # VENDOR_RCA 18 | -------------------------------------------------------------------------------- /src/mainboard/rca/rm4100/Makefile.inc: -------------------------------------------------------------------------------- 1 | smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c 2 | 3 | -------------------------------------------------------------------------------- /src/mainboard/roda/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_RODA 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_RODA_RK886EX 7 | bool "RK886EX" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/roda/rk886ex/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Roda" 16 | 17 | config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID 18 | hex 19 | default 0x4352 20 | 21 | endif # VENDOR_RODA 22 | -------------------------------------------------------------------------------- /src/mainboard/sunw/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_SUNW 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_SUNW_ULTRA40 7 | bool "Ultra 40" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/sunw/ultra40/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Sun" 16 | 17 | endif # VENDOR_SUNW 18 | -------------------------------------------------------------------------------- /src/mainboard/sunw/ultra40/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/sunw/ultra40/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Sun Ultra 40 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dai_g/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dai_g/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Supermicro X6DAi-G Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dai_g/reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void soft_reset(void) 5 | { 6 | outb(0x04, 0xcf9); 7 | } 8 | void hard_reset(void) 9 | { 10 | outb(0x02, 0xcf9); 11 | outb(0x06, 0xcf9); 12 | } 13 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhe_g/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhe_g/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Supermicro X6DHE-G Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhe_g/reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void soft_reset(void) 5 | { 6 | outb(0x04, 0xcf9); 7 | } 8 | 9 | void hard_reset(void) 10 | { 11 | outb(0x02, 0xcf9); 12 | outb(0x06, 0xcf9); 13 | } 14 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhe_g/x6dhe_g_fixups.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static void mch_reset(void) 4 | { 5 | return; 6 | } 7 | 8 | 9 | 10 | static void mainboard_set_e7520_pll(unsigned bits) 11 | { 12 | return; 13 | } 14 | 15 | 16 | static void mainboard_set_e7520_leds(void) 17 | { 18 | return; 19 | } 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhe_g2/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhe_g2/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Supermicro X6DHE-G2 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhe_g2/reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void soft_reset(void) 5 | { 6 | outb(0x04, 0xcf9); 7 | } 8 | 9 | void hard_reset(void) 10 | { 11 | outb(0x02, 0xcf9); 12 | outb(0x06, 0xcf9); 13 | } 14 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhe_g2/x6dhe_g2_fixups.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static void mch_reset(void) 4 | { 5 | return; 6 | } 7 | 8 | 9 | 10 | static void mainboard_set_e7520_pll(unsigned bits) 11 | { 12 | return; 13 | } 14 | 15 | 16 | static void mainboard_set_e7520_leds(void) 17 | { 18 | return; 19 | } 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhr_ig/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhr_ig/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Supermicro X6DHR-iG Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhr_ig/reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void soft_reset(void) 5 | { 6 | outb(0x04, 0xcf9); 7 | } 8 | 9 | void hard_reset(void) 10 | { 11 | outb(0x02, 0xcf9); 12 | outb(0x06, 0xcf9); 13 | } 14 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhr_ig/x6dhr_fixups.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static void mch_reset(void) 4 | { 5 | return; 6 | } 7 | 8 | 9 | 10 | static void mainboard_set_e7520_pll(unsigned bits) 11 | { 12 | return; 13 | } 14 | 15 | 16 | static void mainboard_set_e7520_leds(void) 17 | { 18 | return; 19 | } 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhr_ig2/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhr_ig2/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Supermicro X6DHR-iG2 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhr_ig2/reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void soft_reset(void) 5 | { 6 | outb(0x04, 0xcf9); 7 | } 8 | 9 | void hard_reset(void) 10 | { 11 | outb(0x02, 0xcf9); 12 | outb(0x06, 0xcf9); 13 | } 14 | -------------------------------------------------------------------------------- /src/mainboard/supermicro/x6dhr_ig2/x6dhr2_fixups.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static void mch_reset(void) 4 | { 5 | return; 6 | } 7 | 8 | 9 | 10 | static void mainboard_set_e7520_pll(unsigned bits) 11 | { 12 | return; 13 | } 14 | 15 | 16 | static void mainboard_set_e7520_leds(void) 17 | { 18 | return; 19 | } 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/mainboard/technexion/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_TECHNEXION 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_TECHNEXION_TIM5690 7 | bool "TIM-5690" 8 | config BOARD_TECHNEXION_TIM8690 9 | bool "TIM-8690" 10 | 11 | endchoice 12 | 13 | source "src/mainboard/technexion/tim5690/Kconfig" 14 | source "src/mainboard/technexion/tim8690/Kconfig" 15 | 16 | config MAINBOARD_VENDOR 17 | string 18 | default "Technexion" 19 | 20 | endif # VENDOR_TECHNEXION 21 | -------------------------------------------------------------------------------- /src/mainboard/technologic/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_TECHNOLOGIC 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_TECHNOLOGIC_TS5300 7 | bool "TS-5300" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/technologic/ts5300/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Technologic" 16 | 17 | endif # VENDOR_TECHNOLOGIC 18 | -------------------------------------------------------------------------------- /src/mainboard/technologic/ts5300/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=i386 -O 2 | -------------------------------------------------------------------------------- /src/mainboard/technologic/ts5300/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/technologic/ts5300/devicetree.cb: -------------------------------------------------------------------------------- 1 | chip cpu/amd/sc520 2 | device pci_domain 0 on 3 | device pci 0.0 on end 4 | 5 | # register "com1" = "{1}" 6 | # register "com1" = "{1, 0, 0x3f8, 4}" 7 | end 8 | 9 | end 10 | -------------------------------------------------------------------------------- /src/mainboard/thomson/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_THOMSON 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_THOMSON_IP1000 7 | bool "IP1000" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/thomson/ip1000/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Thomson" 16 | 17 | endif # VENDOR_THOMSON 18 | -------------------------------------------------------------------------------- /src/mainboard/thomson/ip1000/Makefile.inc: -------------------------------------------------------------------------------- 1 | smm-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.c 2 | 3 | -------------------------------------------------------------------------------- /src/mainboard/traverse/Kconfig: -------------------------------------------------------------------------------- 1 | if VENDOR_TRAVERSE 2 | 3 | choice 4 | prompt "Mainboard model" 5 | 6 | config BOARD_TRAVERSE_GEOS 7 | bool "Geos" 8 | 9 | endchoice 10 | 11 | source "src/mainboard/traverse/geos/Kconfig" 12 | 13 | config MAINBOARD_VENDOR 14 | string 15 | default "Traverse Technologies" 16 | 17 | endif # VENDOR_TRAVERSE 18 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2735/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2735/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S2735 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2735/reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | void i82801ex_hard_reset(void); 3 | 4 | /* FIXME: There's another hard_reset() in romstage.c. Why? */ 5 | void hard_reset(void) 6 | { 7 | i82801ex_hard_reset(); 8 | } 9 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2850/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2850/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S2850 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2875/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2875/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S2875 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2880/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2880/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S2880 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2881/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += ../../../drivers/i2c/adt7463/adt7463.c 2 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2881/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2882/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2882/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S2882 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2885/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2885/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S2885 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2891/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2891/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S2891 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2892/Makefile.inc: -------------------------------------------------------------------------------- 1 | 2 | ramstage-y += ../../../drivers/i2c/adm1027/adm1027.c 3 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2892/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2892/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S2892 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2895/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s2895/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S2895 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s4880/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s4880/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S4880 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s4882/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/tyan/s4882/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("Tyan S4882 Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/via/epia-cn/Makefile.inc: -------------------------------------------------------------------------------- 1 | ROMCCFLAGS := -mcpu=c3 -O 2 | -------------------------------------------------------------------------------- /src/mainboard/via/epia-m/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/via/epia-m/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("VIA EPIA-M Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/mainboard/via/epia/chip.h: -------------------------------------------------------------------------------- 1 | extern struct chip_operations mainboard_ops; 2 | 3 | struct mainboard_config {}; 4 | -------------------------------------------------------------------------------- /src/mainboard/via/epia/mainboard.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "chip.h" 3 | 4 | struct chip_operations mainboard_ops = { 5 | CHIP_NAME("VIA EPIA Mainboard") 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /src/northbridge/Kconfig: -------------------------------------------------------------------------------- 1 | source src/northbridge/amd/Kconfig 2 | source src/northbridge/intel/Kconfig 3 | source src/northbridge/via/Kconfig 4 | -------------------------------------------------------------------------------- /src/northbridge/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += amd 2 | subdirs-y += intel 3 | subdirs-y += via 4 | -------------------------------------------------------------------------------- /src/northbridge/amd/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDFAM10) += amdfam10 2 | subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDK8) += amdk8 3 | subdirs-$(CONFIG_NORTHBRIDGE_AMD_GX1) += gx1 4 | subdirs-$(CONFIG_NORTHBRIDGE_AMD_GX2) += gx2 5 | subdirs-$(CONFIG_NORTHBRIDGE_AMD_LX) += lx 6 | 7 | -------------------------------------------------------------------------------- /src/northbridge/amd/amdfam10/bootblock.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include "northbridge/amd/amdfam10/early_ht.c" 5 | 6 | static void bootblock_northbridge_init(void) { 7 | /* Nothing special needs to be done to find bus 0 */ 8 | /* Allow the HT devices to be found */ 9 | /* mov bsp to bus 0xff when > 8 nodes */ 10 | set_bsp_node_CHtExtNodeCfgEn(); 11 | enumerate_ht_chain(); 12 | } 13 | -------------------------------------------------------------------------------- /src/northbridge/amd/amdfam10/root_complex/Kconfig: -------------------------------------------------------------------------------- 1 | config NORTHBRIDGE_AMD_AMDFAM10_ROOT_COMPLEX 2 | bool 3 | 4 | -------------------------------------------------------------------------------- /src/northbridge/amd/amdk8/chip.h: -------------------------------------------------------------------------------- 1 | struct northbridge_amd_amdk8_config 2 | { 3 | }; 4 | 5 | extern struct chip_operations northbridge_amd_amdk8_ops; 6 | -------------------------------------------------------------------------------- /src/northbridge/amd/amdk8/northbridge.h: -------------------------------------------------------------------------------- 1 | #ifndef NORTHBRIDGE_AMD_AMDK8_H 2 | #define NORTHBRIDGE_AMD_AMDK8_H 3 | 4 | extern unsigned int amdk8_scan_root_bus(device_t root, unsigned int max); 5 | 6 | #endif /* NORTHBRIDGE_AMD_AMDK8_H */ 7 | -------------------------------------------------------------------------------- /src/northbridge/amd/amdk8/root_complex/chip.h: -------------------------------------------------------------------------------- 1 | struct northbridge_amd_amdk8_root_complex_config 2 | { 3 | }; 4 | 5 | extern struct chip_operations northbridge_amd_amdk8_root_complex_ops; 6 | -------------------------------------------------------------------------------- /src/northbridge/amd/gx1/chip.h: -------------------------------------------------------------------------------- 1 | struct northbridge_amd_gx1_config 2 | { 3 | }; 4 | 5 | extern struct chip_operations northbridge_amd_gx1_ops; 6 | -------------------------------------------------------------------------------- /src/northbridge/amd/gx1/northbridge.h: -------------------------------------------------------------------------------- 1 | #ifndef NORTHBRIDGE_INTEL_440BX_H 2 | #define NORTHBRIDGE_INTEL_440BX_H 3 | 4 | extern unsigned int i440bx_scan_root_bus(device_t root, unsigned int max); 5 | 6 | #endif /* NORTHBRIDGE_INTEL_440BX_H */ 7 | -------------------------------------------------------------------------------- /src/northbridge/amd/gx1/raminit.h: -------------------------------------------------------------------------------- 1 | #ifndef RAMINIT_H 2 | #define RAMINIT_H 3 | 4 | #define DIMM_SOCKETS 4 5 | struct mem_controller { 6 | device_t d0; 7 | uint16_t channel0[DIMM_SOCKETS]; 8 | }; 9 | 10 | 11 | #endif /* RAMINIT_H */ 12 | -------------------------------------------------------------------------------- /src/northbridge/amd/gx2/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += northbridge.c 2 | ramstage-y += northbridgeinit.c 3 | ramstage-y += grphinit.c 4 | -------------------------------------------------------------------------------- /src/northbridge/amd/gx2/chip.h: -------------------------------------------------------------------------------- 1 | struct northbridge_amd_gx2_config 2 | { 3 | uint16_t irqmap; 4 | }; 5 | 6 | extern struct chip_operations northbridge_amd_gx2_ops; 7 | -------------------------------------------------------------------------------- /src/northbridge/amd/gx2/northbridge.h: -------------------------------------------------------------------------------- 1 | #ifndef NORTHBRIDGE_AMD_GX2_H 2 | #define NORTHBRIDGE_AMD_GX2_H 3 | 4 | #if !defined(__ROMCC__) && !defined(ASSEMBLY) 5 | #if defined(__PRE_RAM__) 6 | #else 7 | unsigned int gx2_scan_root_bus(device_t root, unsigned int max); 8 | int sizeram(void); 9 | void graphics_init(void); 10 | void northbridgeinit(void); 11 | #endif 12 | #endif 13 | 14 | #endif /* NORTHBRIDGE_AMD_GX2_H */ 15 | -------------------------------------------------------------------------------- /src/northbridge/amd/gx2/raminit.h: -------------------------------------------------------------------------------- 1 | #ifndef RAMINIT_H 2 | #define RAMINIT_H 3 | 4 | #define DIMM_SOCKETS 2 5 | 6 | struct mem_controller { 7 | uint16_t channel0[DIMM_SOCKETS]; 8 | }; 9 | 10 | void sdram_initialize(int controllers, const struct mem_controller *ctrl); 11 | 12 | #endif /* RAMINIT_H */ 13 | -------------------------------------------------------------------------------- /src/northbridge/amd/lx/Kconfig: -------------------------------------------------------------------------------- 1 | config NORTHBRIDGE_AMD_LX 2 | bool 3 | select GEODE_VSA 4 | 5 | config VIDEO_MB 6 | int 7 | default 8 8 | depends on NORTHBRIDGE_AMD_LX 9 | -------------------------------------------------------------------------------- /src/northbridge/amd/lx/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += northbridge.c 2 | ramstage-y += northbridgeinit.c 3 | ramstage-y += grphinit.c 4 | -------------------------------------------------------------------------------- /src/northbridge/intel/Kconfig: -------------------------------------------------------------------------------- 1 | source src/northbridge/intel/e7501/Kconfig 2 | source src/northbridge/intel/e7520/Kconfig 3 | source src/northbridge/intel/e7525/Kconfig 4 | source src/northbridge/intel/i3100/Kconfig 5 | source src/northbridge/intel/i440bx/Kconfig 6 | source src/northbridge/intel/i440lx/Kconfig 7 | source src/northbridge/intel/i82810/Kconfig 8 | source src/northbridge/intel/i82830/Kconfig 9 | source src/northbridge/intel/i855/Kconfig 10 | source src/northbridge/intel/i945/Kconfig 11 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7501/Kconfig: -------------------------------------------------------------------------------- 1 | config NORTHBRIDGE_INTEL_E7501 2 | bool 3 | select HAVE_DEBUG_RAM_SETUP 4 | 5 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7501/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += northbridge.c 2 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7501/chip.h: -------------------------------------------------------------------------------- 1 | struct northbridge_intel_e7501_config 2 | { 3 | }; 4 | 5 | extern struct chip_operations northbridge_intel_e7501_ops; 6 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7501/reset_test.c: -------------------------------------------------------------------------------- 1 | /* Convert to C by yhlu */ 2 | #define MCH_DRC 0x7c 3 | #define DRC_DONE (1 << 29) 4 | /* If I have already booted once skip a bunch of initialization */ 5 | /* To see if I have already booted I check to see if memory 6 | * has been enabled. 7 | */ 8 | static int bios_reset_detected(void) { 9 | uint32_t dword; 10 | 11 | dword = pci_read_config32(PCI_DEV(0, 0, 0), MCH_DRC); 12 | 13 | if( (dword & DRC_DONE) != 0 ) { 14 | return 1; 15 | } 16 | 17 | return 0; 18 | } 19 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7520/Kconfig: -------------------------------------------------------------------------------- 1 | config NORTHBRIDGE_INTEL_E7520 2 | bool 3 | 4 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7520/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += northbridge.c 2 | driver-y += pciexp_porta.c 3 | driver-y += pciexp_porta1.c 4 | driver-y += pciexp_portb.c 5 | driver-y += pciexp_portc.c 6 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7520/chip.h: -------------------------------------------------------------------------------- 1 | struct northbridge_intel_e7520_config 2 | { 3 | /* Interrupt line connect */ 4 | unsigned int intrline; 5 | }; 6 | 7 | extern struct chip_operations northbridge_intel_e7520_ops; 8 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7520/memory_initialized.c: -------------------------------------------------------------------------------- 1 | #include "e7520.h" 2 | #define NB_DEV PCI_DEV(0, 0, 0) 3 | 4 | static inline int memory_initialized(void) 5 | { 6 | uint32_t drc; 7 | drc = pci_read_config32(NB_DEV, DRC); 8 | //print_debug("memory_initialized: DRC: "); 9 | //print_debug_hex32(drc); 10 | //print_debug("\n"); 11 | 12 | return (drc & (1<<29)); 13 | } 14 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7520/northbridge.h: -------------------------------------------------------------------------------- 1 | #ifndef NORTHBRIDGE_INTEL_E7520_H 2 | #define NORTHBRIDGE_INTEL_E7520_H 3 | 4 | extern unsigned int e7520_scan_root_bus(device_t root, unsigned int max); 5 | 6 | 7 | #endif /* NORTHBRIDGE_INTEL_E7520_H */ 8 | 9 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7520/raminit.h: -------------------------------------------------------------------------------- 1 | #ifndef RAMINIT_H 2 | #define RAMINIT_H 3 | 4 | #define DIMM_SOCKETS 4 5 | struct mem_controller { 6 | unsigned node_id; 7 | // device_t f0, f1, f2, f3; 8 | u16 channel0[DIMM_SOCKETS]; 9 | u16 channel1[DIMM_SOCKETS]; 10 | }; 11 | 12 | #endif /* RAMINIT_H */ 13 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7525/Kconfig: -------------------------------------------------------------------------------- 1 | config NORTHBRIDGE_INTEL_E7525 2 | bool 3 | 4 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7525/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += northbridge.c 2 | driver-y += pciexp_porta.c 3 | driver-y += pciexp_porta1.c 4 | driver-y += pciexp_portb.c 5 | driver-y += pciexp_portc.c 6 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7525/chip.h: -------------------------------------------------------------------------------- 1 | struct northbridge_intel_e7525_config 2 | { 3 | /* Interrupt line connect */ 4 | unsigned int intrline; 5 | }; 6 | 7 | extern struct chip_operations northbridge_intel_e7525_ops; 8 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7525/memory_initialized.c: -------------------------------------------------------------------------------- 1 | #include "e7525.h" 2 | #define NB_DEV PCI_DEV(0, 0, 0) 3 | 4 | static inline int memory_initialized(void) 5 | { 6 | uint32_t drc; 7 | drc = pci_read_config32(NB_DEV, DRC); 8 | return (drc & (1<<29)); 9 | } 10 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7525/northbridge.h: -------------------------------------------------------------------------------- 1 | #ifndef NORTHBRIDGE_INTEL_E7525_H 2 | #define NORTHBRIDGE_INTEL_E7525_H 3 | 4 | extern unsigned int e7525_scan_root_bus(device_t root, unsigned int max); 5 | 6 | 7 | #endif /* NORTHBRIDGE_INTEL_E7525_H */ 8 | 9 | -------------------------------------------------------------------------------- /src/northbridge/intel/e7525/raminit.h: -------------------------------------------------------------------------------- 1 | #ifndef RAMINIT_H 2 | #define RAMINIT_H 3 | 4 | #define DIMM_SOCKETS 4 5 | struct mem_controller { 6 | unsigned node_id; 7 | device_t f0, f1, f2, f3; 8 | uint16_t channel0[DIMM_SOCKETS]; 9 | uint16_t channel1[DIMM_SOCKETS]; 10 | }; 11 | 12 | #endif /* RAMINIT_H */ 13 | -------------------------------------------------------------------------------- /src/northbridge/intel/i3100/Kconfig: -------------------------------------------------------------------------------- 1 | config NORTHBRIDGE_INTEL_I3100 2 | bool 3 | 4 | -------------------------------------------------------------------------------- /src/northbridge/intel/i3100/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += northbridge.c 2 | driver-y += pciexp_porta.c 3 | driver-y += pciexp_porta_ep80579.c 4 | -------------------------------------------------------------------------------- /src/northbridge/intel/i3100/reset_test.c: -------------------------------------------------------------------------------- 1 | /* Convert to C by yhlu */ 2 | #define MCH_DRC 0x7c 3 | #define DRC_DONE (1 << 29) 4 | 5 | /* If I have already booted once skip a bunch of initialization */ 6 | /* To see if I have already booted I check to see if memory 7 | * has been enabled. 8 | */ 9 | int bios_reset_detected(void) 10 | { 11 | uint32_t dword; 12 | 13 | dword = pci_read_config32(PCI_DEV(0, 0, 0), MCH_DRC); 14 | 15 | if( (dword & DRC_DONE) != 0 ) { 16 | return 1; 17 | } 18 | 19 | return 0; 20 | } 21 | -------------------------------------------------------------------------------- /src/northbridge/intel/i82830/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += northbridge.c 2 | driver-y += vga.c 3 | 4 | smm-$(CONFIG_HAVE_SMI_HANDLER) += i82830_smihandler.c 5 | -------------------------------------------------------------------------------- /src/northbridge/intel/i855/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += northbridge.c 2 | -------------------------------------------------------------------------------- /src/northbridge/via/Kconfig: -------------------------------------------------------------------------------- 1 | source src/northbridge/via/cn700/Kconfig 2 | source src/northbridge/via/cx700/Kconfig 3 | source src/northbridge/via/cn400/Kconfig 4 | source src/northbridge/via/vt8601/Kconfig 5 | source src/northbridge/via/vt8623/Kconfig 6 | source src/northbridge/via/vx800/Kconfig 7 | -------------------------------------------------------------------------------- /src/northbridge/via/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-$(CONFIG_NORTHBRIDGE_VIA_VT8601) += vt8601 2 | subdirs-$(CONFIG_NORTHBRIDGE_VIA_VT8623) += vt8623 3 | subdirs-$(CONFIG_NORTHBRIDGE_VIA_CN700) += cn700 4 | subdirs-$(CONFIG_NORTHBRIDGE_VIA_CX700) += cx700 5 | subdirs-$(CONFIG_NORTHBRIDGE_VIA_CN400) += cn400 6 | subdirs-$(CONFIG_NORTHBRIDGE_VIA_VX800) += vx800 7 | 8 | -------------------------------------------------------------------------------- /src/northbridge/via/vt8601/Kconfig: -------------------------------------------------------------------------------- 1 | config NORTHBRIDGE_VIA_VT8601 2 | bool 3 | select HAVE_DEBUG_RAM_SETUP 4 | 5 | -------------------------------------------------------------------------------- /src/northbridge/via/vt8601/chip.h: -------------------------------------------------------------------------------- 1 | struct northbridge_via_vt8601_config 2 | { 3 | }; 4 | 5 | extern struct chip_operations northbridge_via_vt8601_ops; 6 | -------------------------------------------------------------------------------- /src/northbridge/via/vt8601/northbridge.h: -------------------------------------------------------------------------------- 1 | #ifndef NORTHBRIDGE_VIA_VT8601_H 2 | #define NORTHBRIDGE_VIA_VT8601_H 3 | 4 | extern unsigned int vt8601_scan_root_bus(device_t root, unsigned int max); 5 | 6 | #endif /* NORTHBRIDGE_VIA_VT8601_H */ 7 | -------------------------------------------------------------------------------- /src/northbridge/via/vt8601/raminit.h: -------------------------------------------------------------------------------- 1 | #ifndef RAMINIT_H 2 | #define RAMINIT_H 3 | 4 | struct mem_controller { 5 | int empty; 6 | }; 7 | 8 | #endif /* RAMINIT_H */ 9 | -------------------------------------------------------------------------------- /src/northbridge/via/vt8623/Kconfig: -------------------------------------------------------------------------------- 1 | config NORTHBRIDGE_VIA_VT8623 2 | bool 3 | 4 | -------------------------------------------------------------------------------- /src/northbridge/via/vt8623/chip.h: -------------------------------------------------------------------------------- 1 | struct northbridge_via_vt8623_config 2 | { 3 | }; 4 | 5 | extern struct chip_operations northbridge_via_vt8623_ops; 6 | -------------------------------------------------------------------------------- /src/northbridge/via/vt8623/northbridge.h: -------------------------------------------------------------------------------- 1 | #ifndef NORTHBRIDGE_VIA_VT8623_H 2 | #define NORTHBRIDGE_VIA_VT8623_H 3 | 4 | unsigned int vt8623_scan_root_bus(device_t root, unsigned int max); 5 | extern void (*realmode_interrupt)(u32 intno, u32 eax, u32 ebx, u32 ecx, u32 edx, 6 | u32 esi, u32 edi) __attribute__((regparm(0))); 7 | 8 | #endif /* NORTHBRIDGE_VIA_VT8623_H */ 9 | -------------------------------------------------------------------------------- /src/northbridge/via/vt8623/raminit.h: -------------------------------------------------------------------------------- 1 | #ifndef RAMINIT_H 2 | #define RAMINIT_H 3 | 4 | struct mem_controller { 5 | int empty; 6 | }; 7 | 8 | #endif /* RAMINIT_H */ 9 | -------------------------------------------------------------------------------- /src/northbridge/via/vx800/Kconfig: -------------------------------------------------------------------------------- 1 | config NORTHBRIDGE_VIA_VX800 2 | bool 3 | select HAVE_DEBUG_RAM_SETUP 4 | select HAVE_DEBUG_SMBUS 5 | 6 | -------------------------------------------------------------------------------- /src/pc80/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += mc146818rtc.c 2 | ramstage-y += isa-dma.c 3 | ramstage-y += i8259.c 4 | ramstage-$(CONFIG_UDELAY_IO) += udelay_io.c 5 | ramstage-y += keyboard.c 6 | 7 | romstage-$(CONFIG_USE_OPTION_TABLE) += mc146818rtc_early.c 8 | romstage-$(CONFIG_CACHE_AS_RAM) += serial.c 9 | romstage-$(CONFIG_USBDEBUG) += usbdebug_serial.c 10 | subdirs-y += vga 11 | 12 | $(obj)/pc80/mc146818rtc.ramstage.o : $(OPTION_TABLE_H) 13 | $(obj)/pc80/mc146818rtc_early.romstage.o : $(OPTION_TABLE_H) 14 | -------------------------------------------------------------------------------- /src/pc80/udelay_io.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void udelay(unsigned usecs) 5 | { 6 | int i; 7 | for(i = 0; i < usecs; i++) 8 | inb(0x80); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/pc80/vga/Makefile.inc: -------------------------------------------------------------------------------- 1 | ramstage-y += vga_io.c 2 | ramstage-$(CONFIG_VGA) += vga.c 3 | -------------------------------------------------------------------------------- /src/pc80/vga/vga_font_8x16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wt/coreboot/5b280ddf5bcdfcd2b5589a759d63f45cbbd81fc7/src/pc80/vga/vga_font_8x16.c -------------------------------------------------------------------------------- /src/southbridge/Kconfig: -------------------------------------------------------------------------------- 1 | source src/southbridge/amd/Kconfig 2 | source src/southbridge/broadcom/Kconfig 3 | source src/southbridge/intel/Kconfig 4 | source src/southbridge/nvidia/Kconfig 5 | source src/southbridge/ricoh/Kconfig 6 | source src/southbridge/sis/Kconfig 7 | source src/southbridge/ti/Kconfig 8 | source src/southbridge/via/Kconfig 9 | -------------------------------------------------------------------------------- /src/southbridge/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += amd 2 | subdirs-y += broadcom 3 | subdirs-y += intel 4 | subdirs-y += nvidia 5 | subdirs-y += ricoh 6 | subdirs-y += sis 7 | subdirs-y += ti 8 | subdirs-y += via 9 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8111/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += amd8111.c 2 | driver-y += amd8111_usb.c 3 | driver-y += amd8111_lpc.c 4 | driver-y += amd8111_ide.c 5 | driver-y += amd8111_acpi.c 6 | driver-y += amd8111_usb2.c 7 | driver-y += amd8111_ac97.c 8 | driver-y += amd8111_nic.c 9 | driver-y += amd8111_pci.c 10 | driver-y += amd8111_smbus.c 11 | ramstage-y += amd8111_reset.c 12 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8111/amd8111.h: -------------------------------------------------------------------------------- 1 | #ifndef AMD8111_H 2 | #define AMD8111_H 3 | 4 | #include "chip.h" 5 | 6 | void amd8111_enable(device_t dev); 7 | 8 | #ifdef __PRE_RAM__ 9 | void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn); 10 | #endif 11 | 12 | #endif /* AMD8111_H */ 13 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8111/amd8111_enable_rom.c: -------------------------------------------------------------------------------- 1 | 2 | static void amd8111_enable_rom(void) 3 | { 4 | unsigned char byte; 5 | device_t dev; 6 | 7 | /* Enable 5MB rom access at 0xFFB00000 - 0xFFFFFFFF */ 8 | /* Locate the amd8111 */ 9 | dev = pci_io_locate_device(PCI_ID(0x1022, 0x7468), 0); 10 | 11 | /* Set the 5MB enable bits */ 12 | byte = pci_io_read_config8(dev, 0x43); 13 | byte |= 0xC0; 14 | pci_io_write_config8(dev, 0x43, byte); 15 | } 16 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8111/bootblock.c: -------------------------------------------------------------------------------- 1 | #include "southbridge/amd/amd8111/amd8111_enable_rom.c" 2 | 3 | static void bootblock_southbridge_init(void) { 4 | /* Setup the rom access for 4M */ 5 | amd8111_enable_rom(); 6 | } 7 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8111/chip.h: -------------------------------------------------------------------------------- 1 | #ifndef AMD8111_CHIP_H 2 | #define AMD8111_CHIP_H 3 | 4 | struct southbridge_amd_amd8111_config 5 | { 6 | unsigned int ide0_enable : 1; 7 | unsigned int ide1_enable : 1; 8 | unsigned int phy_lowreset : 1; 9 | }; 10 | 11 | struct chip_operations; 12 | extern struct chip_operations southbridge_amd_amd8111_ops; 13 | 14 | #endif /* AMD8111_CHIP_H */ 15 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8131/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += amd8131_bridge.c 2 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8132/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_AMD_AMD8132 2 | bool 3 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8132/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += amd8132_bridge.c 2 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8151/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_AMD_AMD8151 2 | bool 3 | -------------------------------------------------------------------------------- /src/southbridge/amd/amd8151/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += amd8151_agp3.c 2 | -------------------------------------------------------------------------------- /src/southbridge/amd/cs5535/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_AMD_CS5535 2 | bool 3 | -------------------------------------------------------------------------------- /src/southbridge/amd/cs5535/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += cs5535.c 2 | #driver-y += cs5535_pci.c 3 | #driver-y += cs5535_ide.c 4 | ramstage-y += chipsetinit.c 5 | -------------------------------------------------------------------------------- /src/southbridge/amd/cs5535/chip.h: -------------------------------------------------------------------------------- 1 | #ifndef _SOUTHBRIDGE_AMD_CS5535 2 | #define _SOUTHBRIDGE_AMD_CS5535 3 | 4 | extern struct chip_operations southbridge_amd_cs5535_ops; 5 | 6 | struct southbridge_amd_cs5535_config { 7 | int setupflash; 8 | }; 9 | 10 | #endif /* _SOUTHBRIDGE_AMD_CS5536 */ 11 | -------------------------------------------------------------------------------- /src/southbridge/amd/rs690/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += rs690.c 2 | driver-y += rs690_cmn.c 3 | driver-y += rs690_pcie.c 4 | driver-y += rs690_ht.c 5 | driver-y += rs690_gfx.c 6 | -------------------------------------------------------------------------------- /src/southbridge/amd/rs780/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += rs780.c 2 | driver-y += rs780_cmn.c 3 | driver-y += rs780_pcie.c 4 | driver-y += rs780_ht.c 5 | driver-y += rs780_gfx.c 6 | -------------------------------------------------------------------------------- /src/southbridge/amd/sb600/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += sb600.c 2 | driver-y += sb600_usb.c 3 | driver-y += sb600_lpc.c 4 | driver-y += sb600_sm.c 5 | driver-y += sb600_ide.c 6 | driver-y += sb600_sata.c 7 | driver-y += sb600_hda.c 8 | driver-y += sb600_ac97.c 9 | driver-y += sb600_pci.c 10 | ramstage-y += sb600_reset.c 11 | romstage-y += sb600_enable_usbdebug.c 12 | -------------------------------------------------------------------------------- /src/southbridge/amd/sb700/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += sb700.c 2 | driver-y += sb700_usb.c 3 | driver-y += sb700_lpc.c 4 | driver-y += sb700_sm.c 5 | driver-y += sb700_ide.c 6 | driver-y += sb700_sata.c 7 | driver-y += sb700_hda.c 8 | driver-y += sb700_pci.c 9 | ramstage-y += sb700_reset.c 10 | romstage-y += sb700_enable_usbdebug.c 11 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/Kconfig: -------------------------------------------------------------------------------- 1 | source src/southbridge/broadcom/bcm21000/Kconfig 2 | source src/southbridge/broadcom/bcm5780/Kconfig 3 | source src/southbridge/broadcom/bcm5785/Kconfig 4 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-$(CONFIG_SOUTHBRIDGE_BROADCOM_BCM21000) += bcm21000 2 | subdirs-$(CONFIG_SOUTHBRIDGE_BROADCOM_BCM5780) += bcm5780 3 | subdirs-$(CONFIG_SOUTHBRIDGE_BROADCOM_BCM5785) += bcm5785 4 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm21000/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_BROADCOM_BCM21000 2 | bool 3 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm21000/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += bcm21000_pcie.c 2 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm5780/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_BROADCOM_BCM5780 2 | bool 3 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm5780/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += bcm5780_nic.c 2 | driver-y += bcm5780_pcix.c 3 | driver-y += bcm5780_pcie.c 4 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm5785/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_BROADCOM_BCM5785 2 | bool 3 | select HAVE_HARD_RESET 4 | 5 | config BOOTBLOCK_SOUTHBRIDGE_INIT 6 | string 7 | default "southbridge/broadcom/bcm5785/bootblock.c" 8 | depends on SOUTHBRIDGE_BROADCOM_BCM5785 9 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm5785/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += bcm5785.c 2 | driver-y += bcm5785_usb.c 3 | driver-y += bcm5785_lpc.c 4 | driver-y += bcm5785_sb_pci_main.c 5 | driver-y += bcm5785_ide.c 6 | driver-y += bcm5785_sata.c 7 | ramstage-y += bcm5785_reset.c 8 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm5785/bcm5785.h: -------------------------------------------------------------------------------- 1 | #ifndef BCM5785_H 2 | #define BCM5785_H 3 | 4 | #include "chip.h" 5 | 6 | #ifndef __PRE_RAM__ 7 | void bcm5785_enable(device_t dev); 8 | #else 9 | void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn); 10 | #endif 11 | 12 | void ldtstop_sb(void); 13 | unsigned get_sbdn(unsigned bus); 14 | 15 | #endif /* BCM5785_H */ 16 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm5785/bcm5785_enable_rom.c: -------------------------------------------------------------------------------- 1 | static void bcm5785_enable_rom(void) 2 | { 3 | unsigned char byte; 4 | device_t addr; 5 | 6 | /* Enable 4MB rom access at 0xFFC00000 - 0xFFFFFFFF */ 7 | /* Locate the BCM 5785 SB PCI Main */ 8 | addr = pci_locate_device(PCI_ID(0x1166, 0x0205), 0); // 0x0201? 9 | 10 | /* Set the 4MB enable bit bit */ 11 | byte = pci_read_config8(addr, 0x41); 12 | byte |= 0x0e; 13 | pci_write_config8(addr, 0x41, byte); 14 | } 15 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm5785/bootblock.c: -------------------------------------------------------------------------------- 1 | #include "bcm5785_enable_rom.c" 2 | 3 | static void bootblock_southbridge_init(void) { 4 | bcm5785_enable_rom(); 5 | } 6 | -------------------------------------------------------------------------------- /src/southbridge/broadcom/bcm5785/chip.h: -------------------------------------------------------------------------------- 1 | #ifndef BCM5785_CHIP_H 2 | #define BCM5785_CHIP_H 3 | 4 | struct southbridge_broadcom_bcm5785_config 5 | { 6 | unsigned int ide0_enable : 1; 7 | unsigned int ide1_enable : 1; 8 | unsigned int sata0_enable : 1; 9 | unsigned int sata1_enable : 1; 10 | }; 11 | struct chip_operations; 12 | extern struct chip_operations southbridge_broadcom_bcm5785_ops; 13 | 14 | #endif /* BCM5785_CHIP_H */ 15 | -------------------------------------------------------------------------------- /src/southbridge/intel/esb6300/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_INTEL_ESB6300 2 | bool 3 | select IOAPIC 4 | -------------------------------------------------------------------------------- /src/southbridge/intel/esb6300/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += esb6300.c 2 | driver-y += esb6300_uhci.c 3 | driver-y += esb6300_lpc.c 4 | driver-y += esb6300_ide.c 5 | driver-y += esb6300_sata.c 6 | driver-y += esb6300_ehci.c 7 | driver-y += esb6300_smbus.c 8 | driver-y += esb6300_pci.c 9 | driver-y += esb6300_pic.c 10 | driver-y += esb6300_bridge1c.c 11 | driver-y += esb6300_ac97.c 12 | -------------------------------------------------------------------------------- /src/southbridge/intel/esb6300/esb6300.h: -------------------------------------------------------------------------------- 1 | #ifndef ESB6300_H 2 | #define ESB6300_H 3 | #include "chip.h" 4 | 5 | void esb6300_enable(device_t dev); 6 | 7 | #endif /* ESB6300 */ 8 | -------------------------------------------------------------------------------- /src/southbridge/intel/i3100/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_INTEL_I3100 2 | bool 3 | select IOAPIC 4 | -------------------------------------------------------------------------------- /src/southbridge/intel/i3100/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += i3100.c 2 | driver-y += i3100_uhci.c 3 | driver-y += i3100_lpc.c 4 | driver-y += i3100_sata.c 5 | driver-y += i3100_ehci.c 6 | driver-y += i3100_smbus.c 7 | driver-y += i3100_pci.c 8 | ramstage-y += i3100_reset.c 9 | ramstage-y += i3100_pciexp_portb.c 10 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82371eb/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_INTEL_I82371EB 2 | bool 3 | select IOAPIC 4 | select TINY_BOOTBLOCK 5 | 6 | config BOOTBLOCK_SOUTHBRIDGE_INIT 7 | string 8 | default "southbridge/intel/i82371eb/bootblock.c" 9 | depends on SOUTHBRIDGE_INTEL_I82371EB 10 | 11 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82801cx/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_INTEL_I82801CX 2 | bool 3 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82801cx/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += i82801cx.c 2 | driver-y += i82801cx_usb.c 3 | driver-y += i82801cx_lpc.c 4 | driver-y += i82801cx_ide.c 5 | driver-y += i82801cx_ac97.c 6 | #driver-y += i82801cx_nic.c 7 | driver-y += i82801cx_pci.c 8 | ramstage-y += i82801cx_reset.c 9 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82801cx/chip.h: -------------------------------------------------------------------------------- 1 | #ifndef I82801CX_CHIP_H 2 | #define I82801CX_CHIP_H 3 | 4 | struct southbridge_intel_i82801cx_config 5 | { 6 | }; 7 | extern struct chip_operations southbridge_intel_i82801cx_ops; 8 | 9 | #endif /* I82801CX_CHIP_H */ 10 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82801cx/i82801cx_reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "i82801cx.h" 3 | 4 | void i82801cx_hard_reset(void) 5 | { 6 | /* Try rebooting through port 0xcf9 */ 7 | // Hard reset without power cycle 8 | outb((0 <<3)|(1<<2)|(1<<1), 0xcf9); 9 | } 10 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82801ex/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_INTEL_I82801EX 2 | bool 3 | select IOAPIC 4 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82801ex/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += i82801ex.c 2 | driver-y += i82801ex_uhci.c 3 | driver-y += i82801ex_lpc.c 4 | driver-y += i82801ex_ide.c 5 | driver-y += i82801ex_sata.c 6 | driver-y += i82801ex_ehci.c 7 | driver-y += i82801ex_smbus.c 8 | driver-y += i82801ex_pci.c 9 | driver-y += i82801ex_ac97.c 10 | ramstage-y += i82801ex_watchdog.c 11 | ramstage-y += i82801ex_reset.c 12 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82801ex/i82801ex.h: -------------------------------------------------------------------------------- 1 | #ifndef I82801EX_H 2 | #define I82801EX_H 3 | 4 | #include "chip.h" 5 | 6 | extern void i82801ex_enable(device_t dev); 7 | 8 | #define PCI_DMA_CFG 0x90 9 | #define SERIRQ_CNTL 0x64 10 | #define GEN_CNTL 0xd0 11 | #define GEN_STS 0xd4 12 | #define RTC_CONF 0xd8 13 | #define GEN_PMCON_3 0xa4 14 | 15 | #endif /* I82801EX_H */ 16 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82801ex/i82801ex_reset.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void hard_reset(void) 5 | { 6 | /* Try rebooting through port 0xcf9 */ 7 | outb((0 <<3)|(1<<2)|(1<<1), 0xcf9); 8 | } 9 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82870/82870.h: -------------------------------------------------------------------------------- 1 | /* for io apic 1461 */ 2 | #define MBAR 0x10 3 | #define ABAR 0x40 4 | 5 | /* for pci bridge 1460 */ 6 | #define MTT 0x042 7 | #define HCCR 0x0f0 8 | #define ACNF 0x0e0 9 | #define STRP 0x44 // Strap status register 10 | 11 | #define STRP_EN133 0x0001 // 133 MHz-capable (Px_133EN) 12 | #define STRP_HPCAP 0x0002 // Hot-plug capable (Hx_SLOT zero/nonzero) 13 | 14 | #define ACNF_SYNCPH 0x0010 // PCI(-X) input clock is synchronous to hub input clock 15 | 16 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82870/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_INTEL_I82870 2 | bool 3 | -------------------------------------------------------------------------------- /src/southbridge/intel/i82870/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += p64h2_ioapic.c 2 | driver-y += p64h2_pcibridge.c 3 | #driver-y += p64h2_pci_parity.c 4 | -------------------------------------------------------------------------------- /src/southbridge/intel/pxhd/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_INTEL_PXHD 2 | bool 3 | -------------------------------------------------------------------------------- /src/southbridge/intel/pxhd/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += pxhd_bridge.c 2 | -------------------------------------------------------------------------------- /src/southbridge/intel/pxhd/chip.h: -------------------------------------------------------------------------------- 1 | struct southbridge_intel_pxhd_config 2 | { 3 | /* nothing */ 4 | }; 5 | 6 | extern struct chip_operations southbridge_intel_pxhd_ops; 7 | -------------------------------------------------------------------------------- /src/southbridge/intel/pxhd/pxhd.h: -------------------------------------------------------------------------------- 1 | #ifndef PXHD_H 2 | #define PXHD_H 3 | 4 | #include "chip.h" 5 | 6 | #endif /* PXHD_H */ 7 | -------------------------------------------------------------------------------- /src/southbridge/nvidia/Kconfig: -------------------------------------------------------------------------------- 1 | source src/southbridge/nvidia/ck804/Kconfig 2 | source src/southbridge/nvidia/mcp55/Kconfig 3 | -------------------------------------------------------------------------------- /src/southbridge/nvidia/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-$(CONFIG_SOUTHBRIDGE_NVIDIA_CK804) += ck804 2 | subdirs-$(CONFIG_SOUTHBRIDGE_NVIDIA_MCP55) += mcp55 3 | 4 | -------------------------------------------------------------------------------- /src/southbridge/nvidia/ck804/chip.h: -------------------------------------------------------------------------------- 1 | #ifndef CK804_CHIP_H 2 | #define CK804_CHIP_H 3 | 4 | struct southbridge_nvidia_ck804_config { 5 | unsigned int usb1_hc_reset : 1; 6 | unsigned int ide0_enable : 1; 7 | unsigned int ide1_enable : 1; 8 | unsigned int sata0_enable : 1; 9 | unsigned int sata1_enable : 1; 10 | unsigned int mac_eeprom_smbus; 11 | unsigned int mac_eeprom_addr; 12 | }; 13 | struct chip_operations; 14 | extern struct chip_operations southbridge_nvidia_ck804_ops; 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /src/southbridge/nvidia/ck804/ck804.h: -------------------------------------------------------------------------------- 1 | #ifndef CK804_H 2 | #define CK804_H 3 | 4 | #include "chip.h" 5 | 6 | void ck804_enable(device_t dev); 7 | void ck804_enable_usbdebug(unsigned int port); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/southbridge/nvidia/ck804/romstrap.lds: -------------------------------------------------------------------------------- 1 | SECTIONS { 2 | . = (CONFIG_ROMBASE + CONFIG_ROM_IMAGE_SIZE - 0x10) - (__romstrap_end - __romstrap_start); 3 | .romstrap (.): { 4 | *(.romstrap) 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/southbridge/ricoh/Kconfig: -------------------------------------------------------------------------------- 1 | source src/southbridge/ricoh/rl5c476/Kconfig 2 | -------------------------------------------------------------------------------- /src/southbridge/ricoh/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-$(CONFIG_SOUTHBRIDGE_RICOH_RL5C476) += rl5c476 2 | -------------------------------------------------------------------------------- /src/southbridge/ricoh/rl5c476/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += rl5c476.c 2 | -------------------------------------------------------------------------------- /src/southbridge/ricoh/rl5c476/chip.h: -------------------------------------------------------------------------------- 1 | #ifndef _SOUTHBRIDGE_RICOH_RL5C476 2 | #define _SOUTHBRIDGE_RICOH_RL5C476 3 | 4 | extern struct chip_operations southbridge_ricoh_rl5c476_ops; 5 | 6 | struct southbridge_ricoh_rl5c476_config { 7 | int enable_cf; 8 | }; 9 | 10 | #endif /* _SOUTHBRIDGE_RICOH_RL5C476 */ 11 | -------------------------------------------------------------------------------- /src/southbridge/sis/Kconfig: -------------------------------------------------------------------------------- 1 | source src/southbridge/sis/sis966/Kconfig 2 | -------------------------------------------------------------------------------- /src/southbridge/sis/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-$(CONFIG_SOUTHBRIDGE_SIS_SIS966) += sis966 2 | 3 | -------------------------------------------------------------------------------- /src/southbridge/sis/sis966/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_SIS_SIS966 2 | bool 3 | select IOAPIC 4 | select HAVE_USBDEBUG 5 | 6 | config ID_SECTION_OFFSET 7 | hex 8 | default 0x80 if SOUTHBRIDGE_SIS_SIS966 9 | 10 | config EHCI_BAR 11 | hex 12 | default 0xfef00000 if SOUTHBRIDGE_SIS_SIS966 13 | 14 | config EHCI_DEBUG_OFFSET 15 | hex 16 | default 0x98 if SOUTHBRIDGE_SIS_SIS966 17 | -------------------------------------------------------------------------------- /src/southbridge/ti/pci1x2x/Kconfig: -------------------------------------------------------------------------------- 1 | config SOUTHBRIDGE_TI_PCI1X2X 2 | bool 3 | -------------------------------------------------------------------------------- /src/southbridge/ti/pci1x2x/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-$(CONFIG_SOUTHBRIDGE_TI_PCI1X2X) += pci1x2x.c 2 | -------------------------------------------------------------------------------- /src/southbridge/via/Kconfig: -------------------------------------------------------------------------------- 1 | source src/southbridge/via/k8t890/Kconfig 2 | source src/southbridge/via/vt8231/Kconfig 3 | source src/southbridge/via/vt8235/Kconfig 4 | source src/southbridge/via/vt8237r/Kconfig 5 | -------------------------------------------------------------------------------- /src/southbridge/via/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-$(CONFIG_SOUTHBRIDGE_VIA_K8T890) += k8t890 2 | subdirs-$(CONFIG_SOUTHBRIDGE_VIA_K8M890) += k8t890 3 | subdirs-$(CONFIG_SOUTHBRIDGE_VIA_VT8231) += vt8231 4 | subdirs-$(CONFIG_SOUTHBRIDGE_VIA_VT8235) += vt8235 5 | subdirs-$(CONFIG_SOUTHBRIDGE_VIA_VT8237R) += vt8237r 6 | -------------------------------------------------------------------------------- /src/southbridge/via/k8t890/Makefile.inc: -------------------------------------------------------------------------------- 1 | driver-y += k8t890_ctrl.c 2 | driver-y += k8t890_dram.c 3 | driver-y += k8t890_bridge.c 4 | driver-y += k8t890_host.c 5 | driver-y += k8t890_host_ctrl.c 6 | driver-y += k8t890_pcie.c 7 | driver-y += k8t890_traf_ctrl.c 8 | driver-y += k8t890_error.c 9 | driver-y += k8m890_chrome.c 10 | 11 | chipset_bootblock_inc += $(src)/southbridge/via/k8t890/romstrap.inc 12 | chipset_bootblock_lds += $(src)/southbridge/via/k8t890/romstrap.lds 13 | -------------------------------------------------------------------------------- /src/southbridge/via/k8t890/k8t890_dram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wt/coreboot/5b280ddf5bcdfcd2b5589a759d63f45cbbd81fc7/src/southbridge/via/k8t890/k8t890_dram.c -------------------------------------------------------------------------------- /src/southbridge/via/vt8231/chip.h: -------------------------------------------------------------------------------- 1 | #ifndef _SOUTHBRIDGE_VIA_VT8231 2 | #define _SOUTHBRIDGE_VIA_VT8231 3 | 4 | extern struct chip_operations southbridge_via_vt8231_ops; 5 | 6 | struct southbridge_via_vt8231_config { 7 | /* enables of Non-PCI devices */ 8 | int enable_native_ide; 9 | int enable_com_ports; 10 | int enable_keyboard; 11 | /* currently not parsed but needed by densitron dpx114 */ 12 | int enable_usb; 13 | int enable_nvram; 14 | }; 15 | 16 | #endif /* _SOUTHBRIDGE_VIA_VT8231 */ 17 | -------------------------------------------------------------------------------- /src/superio/Kconfig: -------------------------------------------------------------------------------- 1 | source src/superio/fintek/Kconfig 2 | source src/superio/intel/Kconfig 3 | source src/superio/ite/Kconfig 4 | source src/superio/nsc/Kconfig 5 | source src/superio/renesas/Kconfig 6 | source src/superio/serverengines/Kconfig 7 | source src/superio/smsc/Kconfig 8 | source src/superio/via/Kconfig 9 | source src/superio/winbond/Kconfig 10 | -------------------------------------------------------------------------------- /src/superio/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += fintek 2 | subdirs-y += intel 3 | subdirs-y += ite 4 | subdirs-y += nsc 5 | subdirs-y += renesas 6 | # subdirs-y += serverengines 7 | subdirs-y += smsc 8 | subdirs-y += via 9 | subdirs-y += winbond 10 | 11 | -------------------------------------------------------------------------------- /src/superio/fintek/Kconfig: -------------------------------------------------------------------------------- 1 | config SUPERIO_FINTEK_F71805F 2 | bool 3 | config SUPERIO_FINTEK_F71863FG 4 | bool 5 | config SUPERIO_FINTEK_F71859 6 | bool 7 | -------------------------------------------------------------------------------- /src/superio/fintek/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += f71805f 2 | subdirs-y += f71863fg 3 | subdirs-y += f71859 4 | -------------------------------------------------------------------------------- /src/superio/intel/Kconfig: -------------------------------------------------------------------------------- 1 | config SUPERIO_INTEL_I3100 2 | bool 3 | -------------------------------------------------------------------------------- /src/superio/intel/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += i3100 2 | -------------------------------------------------------------------------------- /src/superio/ite/Kconfig: -------------------------------------------------------------------------------- 1 | config SUPERIO_ITE_IT8661F 2 | bool 3 | config SUPERIO_ITE_IT8671F 4 | bool 5 | config SUPERIO_ITE_IT8673F 6 | bool 7 | config SUPERIO_ITE_IT8705F 8 | bool 9 | config SUPERIO_ITE_IT8712F 10 | bool 11 | config SUPERIO_ITE_IT8716F 12 | bool 13 | config SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL 14 | bool 15 | depends on SUPERIO_ITE_IT8716F 16 | default n 17 | config SUPERIO_ITE_IT8718F 18 | bool 19 | -------------------------------------------------------------------------------- /src/superio/ite/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += it8661f 2 | subdirs-y += it8671f 3 | subdirs-y += it8673f 4 | subdirs-y += it8705f 5 | subdirs-y += it8712f 6 | subdirs-y += it8716f 7 | subdirs-y += it8718f 8 | -------------------------------------------------------------------------------- /src/superio/nsc/Kconfig: -------------------------------------------------------------------------------- 1 | config SUPERIO_NSC_PC8374 2 | bool 3 | config SUPERIO_NSC_PC87309 4 | bool 5 | config SUPERIO_NSC_PC87351 6 | bool 7 | config SUPERIO_NSC_PC87360 8 | bool 9 | config SUPERIO_NSC_PC87366 10 | bool 11 | config SUPERIO_NSC_PC87417 12 | bool 13 | config SUPERIO_NSC_PC87427 14 | bool 15 | config SUPERIO_NSC_PC97307 16 | bool 17 | config SUPERIO_NSC_PC97317 18 | bool 19 | -------------------------------------------------------------------------------- /src/superio/nsc/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += pc8374 2 | subdirs-y += pc87309 3 | subdirs-y += pc87351 4 | subdirs-y += pc87360 5 | subdirs-y += pc87366 6 | subdirs-y += pc87417 7 | subdirs-y += pc87427 8 | subdirs-y += pc97307 9 | subdirs-y += pc97317 10 | -------------------------------------------------------------------------------- /src/superio/renesas/Kconfig: -------------------------------------------------------------------------------- 1 | config SUPERIO_RENESAS_M3885X 2 | bool 3 | -------------------------------------------------------------------------------- /src/superio/renesas/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += m3885x 2 | -------------------------------------------------------------------------------- /src/superio/serverengines/Kconfig: -------------------------------------------------------------------------------- 1 | config SUPERIO_SERVERENGINES_PILOT 2 | bool 3 | -------------------------------------------------------------------------------- /src/superio/smsc/Kconfig: -------------------------------------------------------------------------------- 1 | config SUPERIO_SMSC_FDC37M60X 2 | bool 3 | config SUPERIO_SMSC_FDC37N972 4 | bool 5 | config SUPERIO_SMSC_LPC47B272 6 | bool 7 | config SUPERIO_SMSC_LPC47B397 8 | bool 9 | config SUPERIO_SMSC_LPC47M10X 10 | bool 11 | config SUPERIO_SMSC_LPC47M15X 12 | bool 13 | config SUPERIO_SMSC_LPC47N217 14 | bool 15 | config SUPERIO_SMSC_LPC47N227 16 | bool 17 | config SUPERIO_SMSC_SIO10N268 18 | bool 19 | config SUPERIO_SMSC_SMSCSUPERIO 20 | bool 21 | -------------------------------------------------------------------------------- /src/superio/smsc/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += fdc37m60x 2 | subdirs-y += fdc37n972 3 | subdirs-y += lpc47b272 4 | subdirs-y += lpc47b397 5 | subdirs-y += lpc47m10x 6 | subdirs-y += lpc47m15x 7 | subdirs-y += lpc47n217 8 | subdirs-y += lpc47n227 9 | subdirs-y += sio10n268 10 | subdirs-y += smscsuperio 11 | -------------------------------------------------------------------------------- /src/superio/via/Kconfig: -------------------------------------------------------------------------------- 1 | config SUPERIO_VIA_VT1211 2 | bool 3 | -------------------------------------------------------------------------------- /src/superio/via/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += vt1211 2 | -------------------------------------------------------------------------------- /src/superio/winbond/Kconfig: -------------------------------------------------------------------------------- 1 | config SUPERIO_WINBOND_W83627DHG 2 | bool 3 | config SUPERIO_WINBOND_W83627EHG 4 | bool 5 | config SUPERIO_WINBOND_W83627HF 6 | bool 7 | config SUPERIO_WINBOND_W83627THF 8 | bool 9 | config SUPERIO_WINBOND_W83627THG 10 | bool 11 | config SUPERIO_WINBOND_W83627UHG 12 | bool 13 | config SUPERIO_WINBOND_W83697HF 14 | bool 15 | config SUPERIO_WINBOND_W83977F 16 | bool 17 | config SUPERIO_WINBOND_W83977TF 18 | bool 19 | -------------------------------------------------------------------------------- /src/superio/winbond/Makefile.inc: -------------------------------------------------------------------------------- 1 | subdirs-y += w83627dhg 2 | subdirs-y += w83627ehg 3 | subdirs-y += w83627hf 4 | subdirs-y += w83627thf 5 | subdirs-y += w83627thg 6 | subdirs-y += w83627uhg 7 | subdirs-y += w83697hf 8 | subdirs-y += w83977f 9 | subdirs-y += w83977tf 10 | -------------------------------------------------------------------------------- /util/cbfstool/EXAMPLE: -------------------------------------------------------------------------------- 1 | rm coreboot.rom; 2 | ./cbfstool coreboot.rom create 0x80000 0x10000 /tmp/coreboot.strip 3 | ./cbfstool coreboot.rom add-payload /tmp/filo.elf normal/payload l 4 | ./cbfstool coreboot.rom print 5 | #./cbfstool coreboot.rom add-stage /tmp/filo.elf normal/payload 6 | 7 | ./cbfstool coreboot.rom print 8 | cp coreboot.rom /home/rminnich/qemutest/ 9 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Common/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | #include "../../Common/MyWindows.h" 7 | #include "../../Common/NewHandler.h" 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Common/StreamUtils.h: -------------------------------------------------------------------------------- 1 | // StreamUtils.h 2 | 3 | #ifndef __STREAMUTILS_H 4 | #define __STREAMUTILS_H 5 | 6 | #include "../IStream.h" 7 | 8 | HRESULT ReadStream(ISequentialInStream *stream, void *data, UInt32 size, UInt32 *processedSize); 9 | HRESULT WriteStream(ISequentialOutStream *stream, const void *data, UInt32 size, UInt32 *processedSize); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Compress/LZ/BinTree/BinTree2.h: -------------------------------------------------------------------------------- 1 | // BinTree2.h 2 | 3 | #ifndef __BINTREE2_H 4 | #define __BINTREE2_H 5 | 6 | #define BT_NAMESPACE NBT2 7 | 8 | #include "BinTreeMain.h" 9 | 10 | #undef BT_NAMESPACE 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Compress/LZ/BinTree/BinTree3.h: -------------------------------------------------------------------------------- 1 | // BinTree3.h 2 | 3 | #ifndef __BINTREE3_H 4 | #define __BINTREE3_H 5 | 6 | #define BT_NAMESPACE NBT3 7 | 8 | #define HASH_ARRAY_2 9 | 10 | #include "BinTreeMain.h" 11 | 12 | #undef HASH_ARRAY_2 13 | 14 | #undef BT_NAMESPACE 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Compress/LZ/BinTree/BinTree4.h: -------------------------------------------------------------------------------- 1 | // BinTree4.h 2 | 3 | #ifndef __BINTREE4_H 4 | #define __BINTREE4_H 5 | 6 | #define BT_NAMESPACE NBT4 7 | 8 | #define HASH_ARRAY_2 9 | #define HASH_ARRAY_3 10 | 11 | #include "BinTreeMain.h" 12 | 13 | #undef HASH_ARRAY_2 14 | #undef HASH_ARRAY_3 15 | 16 | #undef BT_NAMESPACE 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Compress/LZ/HashChain/HC4.h: -------------------------------------------------------------------------------- 1 | // HC4.h 2 | 3 | #ifndef __HC4_H 4 | #define __HC4_H 5 | 6 | #define BT_NAMESPACE NHC4 7 | 8 | #define HASH_ARRAY_2 9 | #define HASH_ARRAY_3 10 | 11 | #include "HCMain.h" 12 | 13 | #undef HASH_ARRAY_2 14 | #undef HASH_ARRAY_3 15 | 16 | #undef BT_NAMESPACE 17 | 18 | #endif 19 | 20 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Compress/LZ/HashChain/HCMain.h: -------------------------------------------------------------------------------- 1 | // HCMain.h 2 | 3 | #define _HASH_CHAIN 4 | #include "../BinTree/BinTreeMain.h" 5 | #undef _HASH_CHAIN 6 | 7 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Compress/LZ/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Compress/LZMA/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | #include "../../../Common/MyWindows.h" 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/7zip/Compress/RangeCoder/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/Common/MyInitGuid.h: -------------------------------------------------------------------------------- 1 | // Common/MyInitGuid.h 2 | 3 | #ifndef __COMMON_MYINITGUID_H 4 | #define __COMMON_MYINITGUID_H 5 | 6 | #ifdef _WIN32 7 | #include 8 | #else 9 | #define INITGUID 10 | #include "MyGuidDef.h" 11 | #endif 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/Common/MyUnknown.h: -------------------------------------------------------------------------------- 1 | // MyUnknown.h 2 | 3 | #ifndef __MYUNKNOWN_H 4 | #define __MYUNKNOWN_H 5 | 6 | #ifdef _WIN32 7 | 8 | #ifdef _WIN32_WCE 9 | #if (_WIN32_WCE > 300) 10 | #include 11 | #else 12 | #define MIDL_INTERFACE(x) struct 13 | #endif 14 | #else 15 | #include 16 | #endif 17 | 18 | #include 19 | 20 | #else 21 | #include "MyWindows.h" 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/Common/NewHandler.h: -------------------------------------------------------------------------------- 1 | // Common/NewHandler.h 2 | 3 | #ifndef __COMMON_NEWHANDLER_H 4 | #define __COMMON_NEWHANDLER_H 5 | 6 | class CNewException {}; 7 | 8 | #ifdef _WIN32 9 | void 10 | #ifdef _MSC_VER 11 | __cdecl 12 | #endif 13 | operator delete(void *p) throw(); 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/Common/StdAfx.h: -------------------------------------------------------------------------------- 1 | // StdAfx.h 2 | 3 | #ifndef __STDAFX_H 4 | #define __STDAFX_H 5 | 6 | // #include "MyWindows.h" 7 | #include "NewHandler.h" 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/Common/Types.h: -------------------------------------------------------------------------------- 1 | // Common/Types.h 2 | 3 | #ifndef __COMMON_TYPES_H 4 | #define __COMMON_TYPES_H 5 | 6 | typedef unsigned char Byte; 7 | typedef short Int16; 8 | typedef unsigned short UInt16; 9 | typedef int Int32; 10 | typedef unsigned int UInt32; 11 | #ifdef _MSC_VER 12 | typedef __int64 Int64; 13 | typedef unsigned __int64 UInt64; 14 | #else 15 | typedef long long int Int64; 16 | typedef unsigned long long int UInt64; 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /util/cbfstool/lzma/C/ORIGIN: -------------------------------------------------------------------------------- 1 | The contents of this directory are extracted from 2 | the official LZMA SDK, version lzma442.tar.bz2 , 3 | for the use in mkcromfs. 4 | -------------------------------------------------------------------------------- /util/crossgcc/README: -------------------------------------------------------------------------------- 1 | README 2 | ------ 3 | 4 | This is a cross toolchain builder for -elf toolchains (ie. no libc support) 5 | 6 | known working: 7 | i386-elf 8 | x86_64-elf 9 | powerpc-elf 10 | mipsel-elf 11 | 12 | known broken: 13 | alpha-elf 14 | arm-elf 15 | powerpc64-elf 16 | 17 | 18 | -------------------------------------------------------------------------------- /util/crossgcc/patches/binutils-2.19.1_no-i386-svr4-asm-comments.patch: -------------------------------------------------------------------------------- 1 | --- binutils-2.19.1/gas/config/tc-i386.c~ 2009-01-20 14:19:04.000000000 +0100 2 | +++ binutils-2.19.1/gas/config/tc-i386.c 2009-01-20 14:20:47.000000000 +0100 3 | @@ -318,6 +318,7 @@ 4 | && !defined (TE_GNU) \ 5 | && !defined (TE_LINUX) \ 6 | && !defined (TE_NETWARE) \ 7 | + && 0 \ 8 | && !defined (TE_FreeBSD) \ 9 | && !defined (TE_NetBSD))) 10 | /* This array holds the chars that always start a comment. If the 11 | -------------------------------------------------------------------------------- /util/crossgcc/patches/binutils-2.20.1_no-bfd-doc.patch: -------------------------------------------------------------------------------- 1 | --- binutils-2.20.1/bfd/Makefile.in~ 2010-07-25 10:56:45 +0000 2 | +++ binutils-2.20.1/bfd/Makefile.in 2010-07-25 10:19:24 +0000 3 | @@ -320,7 +320,7 @@ 4 | # RELEASE=y 5 | INCDIR = $(srcdir)/../include 6 | CSEARCH = -I. -I$(srcdir) -I$(INCDIR) 7 | -SUBDIRS = doc po 8 | +SUBDIRS = po 9 | bfddocdir = doc 10 | libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \ 11 | @SHARED_LDFLAGS@ $(am__empty) 12 | -------------------------------------------------------------------------------- /util/crossgcc/patches/binutils-2.20_no-i386-svr4-asm-comments.patch: -------------------------------------------------------------------------------- 1 | --- binutils-2.20/gas/config/tc-i386.c~ 2009-01-20 14:19:04.000000000 +0100 2 | +++ binutils-2.20/gas/config/tc-i386.c 2009-01-20 14:20:47.000000000 +0100 3 | @@ -318,6 +318,7 @@ 4 | && !defined (TE_GNU) \ 5 | && !defined (TE_LINUX) \ 6 | && !defined (TE_NETWARE) \ 7 | + && 0 \ 8 | && !defined (TE_FreeBSD) \ 9 | && !defined (TE_NetBSD))) 10 | /* This array holds the chars that always start a comment. If the 11 | -------------------------------------------------------------------------------- /util/dumpmmcr/Makefile: -------------------------------------------------------------------------------- 1 | dumpmmcr: dumpmmcr.c 2 | gcc -m32 -Os -static -o dumpmmcr dumpmmcr.c 3 | strip -s dumpmmcr 4 | clean: 5 | rm dumpmmcr 6 | -------------------------------------------------------------------------------- /util/getpir/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # 3 | # 4 | 5 | CC=gcc 6 | CFLAGS=-O2 -D_GNU_SOURCE -DGETPIR -Wall 7 | 8 | all: getpir 9 | 10 | getpir: getpir.o checksum.o code_gen.o 11 | $(CC) $(CFLAGS) -o getpir $^ 12 | 13 | checkpir: checkpir.c checksum.o irq_tables.o 14 | $(CC) $(CFLAGS) -o checkpir $^ 15 | 16 | irq_tables.c: getpir 17 | ./getpir 18 | 19 | clean: 20 | rm -f getpir checkpir *.o *~ 21 | 22 | distclean: clean 23 | rm -f irq_tables.o irq_tables.c 24 | 25 | -------------------------------------------------------------------------------- /util/getpir/checksum.c: -------------------------------------------------------------------------------- 1 | #include "pirq_routing.h" 2 | #include "checksum.h" 3 | 4 | int calc_checksum(struct irq_routing_table *rt) 5 | { 6 | long i; 7 | uint8_t *addr, sum = 0; 8 | 9 | addr = (uint8_t *) rt; 10 | for (i = 0; i < rt->size; i++) 11 | sum += addr[i]; 12 | return (sum); 13 | } 14 | -------------------------------------------------------------------------------- /util/getpir/checksum.h: -------------------------------------------------------------------------------- 1 | #ifndef __CHECKSUM_H__ 2 | #define __CHECKSUM_H__ 3 | 4 | int calc_checksum(struct irq_routing_table *rt); 5 | 6 | #endif /* __CHECKSUM_H__ */ 7 | -------------------------------------------------------------------------------- /util/getpir/code_gen.h: -------------------------------------------------------------------------------- 1 | #ifndef __CODE_GEN_H__ 2 | #define __CODE_GEN_H__ 3 | 4 | void code_gen(char *filename, struct irq_routing_table *rt); 5 | 6 | #endif /* __CODE_GEN_H__ */ 7 | -------------------------------------------------------------------------------- /util/inteltool/cpu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wt/coreboot/5b280ddf5bcdfcd2b5589a759d63f45cbbd81fc7/util/inteltool/cpu.c -------------------------------------------------------------------------------- /util/k8resdump/.dependencies: -------------------------------------------------------------------------------- 1 | k8resdump.o: k8resdump.c 2 | -------------------------------------------------------------------------------- /util/kconfig/POTFILES.in: -------------------------------------------------------------------------------- 1 | util/kconfig/lxdialog/checklist.c 2 | util/kconfig/lxdialog/inputbox.c 3 | util/kconfig/lxdialog/menubox.c 4 | util/kconfig/lxdialog/textbox.c 5 | util/kconfig/lxdialog/util.c 6 | util/kconfig/lxdialog/yesno.c 7 | util/kconfig/mconf.c 8 | util/kconfig/conf.c 9 | util/kconfig/confdata.c 10 | util/kconfig/gconf.c 11 | util/kconfig/gconf.glade.h 12 | util/kconfig/qconf.cc 13 | -------------------------------------------------------------------------------- /util/kconfig/check.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Needed for systems without gettext 3 | $* -xc -o /dev/null - > /dev/null 2>&1 << EOF 4 | #include 5 | int main() 6 | { 7 | gettext(""); 8 | return 0; 9 | } 10 | EOF 11 | if [ ! "$?" -eq "0" ]; then 12 | echo -DKBUILD_NO_NLS; 13 | fi 14 | 15 | -------------------------------------------------------------------------------- /util/kconfig/lxdialog/BIG.FAT.WARNING: -------------------------------------------------------------------------------- 1 | This is NOT the official version of dialog. This version has been 2 | significantly modified from the original. It is for use by the Linux 3 | kernel configuration script. Please do not bother Savio Lam with 4 | questions about this program. 5 | -------------------------------------------------------------------------------- /util/lbtdump/Makefile: -------------------------------------------------------------------------------- 1 | TARGET=lbtdump 2 | 3 | CC=gcc 4 | CFLAGS=-g -O -Wall 5 | 6 | all: $(TARGET) 7 | 8 | $(TARGET): *.c 9 | $(CC) $(CFLAGS) $< -o $@ 10 | 11 | clean: 12 | rm -f $(TARGET) 13 | 14 | 15 | -------------------------------------------------------------------------------- /util/lbtdump/README: -------------------------------------------------------------------------------- 1 | 2 | lbtdump is a utility to dump the coreboot table 3 | to a human readable form. 4 | 5 | This needs to be run as root (or setuid) on a system 6 | running coreboot. 7 | 8 | -------------------------------------------------------------------------------- /util/mkelfImage/AUTHORS: -------------------------------------------------------------------------------- 1 | Eric Biederman 2 | Joshua Aune 3 | Jake Page 4 | Andrew Ip 5 | -------------------------------------------------------------------------------- /util/mkelfImage/arch/i386/include/stdint.h: -------------------------------------------------------------------------------- 1 | #ifndef STDINT_H 2 | #define STDINT_H 3 | 4 | typedef unsigned long size_t; 5 | 6 | typedef unsigned char uint8_t; 7 | typedef unsigned short uint16_t; 8 | typedef unsigned int uint32_t; 9 | typedef unsigned long long uint64_t; 10 | 11 | typedef signed char int8_t; 12 | typedef signed short int16_t; 13 | typedef signed int int32_t; 14 | typedef signed long long int64_t; 15 | 16 | #endif /* STDINT_H */ 17 | -------------------------------------------------------------------------------- /util/mkelfImage/arch/ia64/include/stdint.h: -------------------------------------------------------------------------------- 1 | #ifndef STDINT_H 2 | #define STDINT_H 3 | 4 | typedef unsigned long size_t; 5 | 6 | typedef unsigned char uint8_t; 7 | typedef unsigned short uint16_t; 8 | typedef unsigned int uint32_t; 9 | typedef unsigned long uint64_t; 10 | 11 | typedef signed char int8_t; 12 | typedef signed short int16_t; 13 | typedef signed int int32_t; 14 | typedef signed long int64_t; 15 | 16 | #endif /* STDINT_H */ 17 | -------------------------------------------------------------------------------- /util/mkelfImage/kunzip_src/arch/alpha/include/stddef.h: -------------------------------------------------------------------------------- 1 | #ifndef ALPHA_STDDEF_H 2 | #define ALPHA_STDDEF_H 3 | 4 | typedef long ptrdiff_t; 5 | typedef unsigned long size_t; 6 | typedef long ssize_t; 7 | 8 | typedef int wchar_t; 9 | typedef unsigned int wint_t; 10 | 11 | #define NULL 0 12 | 13 | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) 14 | 15 | #endif /* ALPHA_STDDEF_H */ 16 | -------------------------------------------------------------------------------- /util/mkelfImage/kunzip_src/arch/i386/include/stddef.h: -------------------------------------------------------------------------------- 1 | #ifndef I386_STDDEF_H 2 | #define I386_STDDEF_H 3 | 4 | typedef long ptrdiff_t; 5 | typedef unsigned long size_t; 6 | typedef long ssize_t; 7 | 8 | typedef int wchar_t; 9 | typedef unsigned int wint_t; 10 | 11 | #define NULL 0 12 | 13 | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) 14 | 15 | #endif I386_STDDEF_H 16 | -------------------------------------------------------------------------------- /util/mkelfImage/kunzip_src/arch/i386/lib/Makefile: -------------------------------------------------------------------------------- 1 | ARCH_OPTIONS= 2 | -------------------------------------------------------------------------------- /util/mkelfImage/kunzip_src/include/stdlib.h: -------------------------------------------------------------------------------- 1 | #ifndef STDLIB_H 2 | #define STDLIB_H 3 | 4 | #include 5 | 6 | extern void *malloc(size_t size); 7 | void free(void *ptr); 8 | 9 | /* Extensions to malloc... */ 10 | typedef size_t malloc_mark_t; 11 | void malloc_mark(malloc_mark_t *place); 12 | void malloc_release(malloc_mark_t *place); 13 | 14 | #endif /* STDLIB_H */ 15 | -------------------------------------------------------------------------------- /util/mkelfImage/kunzip_src/include/types.h: -------------------------------------------------------------------------------- 1 | #ifndef TYPES_H 2 | #define TYPES_H 3 | 4 | #include 5 | #include 6 | 7 | typedef uint8_t u8; 8 | typedef int8_t s8; 9 | typedef uint16_t u16; 10 | typedef int16_t s16; 11 | typedef uint32_t u32; 12 | typedef int32_t s32; 13 | typedef uint64_t u64; 14 | typedef int64_t s64; 15 | 16 | /* FIXME is BITS_PER_LONG needed? */ 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /util/mkelfImage/kunzip_src/lib/memcmp.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int memcmp(const void *src1, const void *src2, size_t bytes) 4 | { 5 | const unsigned char *s1, *s2; 6 | int result; 7 | s1 = src1; 8 | s2 = src2; 9 | result = 0; 10 | while((bytes > 0) && (result == 0)) { 11 | result = *s1 - *s2; 12 | bytes--; 13 | s1++; 14 | s2++; 15 | } 16 | return result; 17 | } 18 | -------------------------------------------------------------------------------- /util/mkelfImage/kunzip_src/lib/memcpy.c: -------------------------------------------------------------------------------- 1 | #include 2 | void *memcpy(void *__dest, __const void *__src, size_t __n) 3 | { 4 | int i; 5 | char *d = (char *) __dest, *s = (char *) __src; 6 | 7 | for (i = 0; i < __n; i++) 8 | d[i] = s[i]; 9 | 10 | return __dest; 11 | } 12 | -------------------------------------------------------------------------------- /util/mkelfImage/kunzip_src/lib/memset.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void *memset(void *s, int c, size_t n) 4 | { 5 | int i; 6 | char *ss = (char *) s; 7 | 8 | for (i = 0; i < n; i++) 9 | ss[i] = c; 10 | 11 | return s; 12 | } 13 | -------------------------------------------------------------------------------- /util/mkelfImage/linux-ia64/convert.h: -------------------------------------------------------------------------------- 1 | #define CMDLINE_MAX 1024 2 | 3 | #ifdef ASSEMBLY 4 | #define CONVERT_MAGIC 0xA5A5A5A5A5A5A5A5 5 | #else 6 | #define CONVERT_MAGIC 0xA5A5A5A5A5A5A5A5ULL 7 | #endif 8 | 9 | #ifndef ASSEMBLY 10 | struct image_parameters { 11 | uint64_t convert_magic; 12 | uint64_t entry; 13 | uint64_t initrd_start; 14 | uint64_t initrd_size; 15 | uint8_t cmdline[CMDLINE_MAX]; 16 | }; 17 | #endif 18 | -------------------------------------------------------------------------------- /util/mkelfImage/util/Makefile: -------------------------------------------------------------------------------- 1 | $(OBJDIR)/bin/bin-to-hex: util/bin-to-hex.c 2 | $(MKDIR) -p $(@D) 3 | $(HOST_CC) $(HOST_CFLAGS) $< -o $@ 4 | -------------------------------------------------------------------------------- /util/mkelfImage/util/bin-to-hex.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char **argv) 4 | { 5 | int c; 6 | int i; 7 | i = 0; 8 | while((c = getchar()) != EOF) { 9 | if ((i % 16) != 0) { 10 | putchar(' '); 11 | } 12 | printf("0x%02x,", c); 13 | i++; 14 | if ((i %16) == 0) { 15 | putchar('\n'); 16 | } 17 | } 18 | putchar('\n'); 19 | return 0; 20 | } 21 | -------------------------------------------------------------------------------- /util/mptable/Makefile: -------------------------------------------------------------------------------- 1 | CC=gcc 2 | CFLAGS=-O2 -Wall -Wextra -Wshadow -Wno-sign-compare 3 | 4 | mptable: mptable.c 5 | $(CC) $(CFLAGS) -o $@ $< 6 | 7 | clean: 8 | rm -f mptable 9 | -------------------------------------------------------------------------------- /util/msrtool/TODO: -------------------------------------------------------------------------------- 1 | Systems 2 | ------- 3 | FreeBSD #defines: see svn diff -r 3697:3698 util/ 4 | i586: assembly instruction system driver, may have to ignore -c CPU # option 5 | 6 | Other ideas 7 | ----------- 8 | Move MSR definitions and probe instructions into an external text file? 9 | Handle PCI and port IO registers as well? 10 | -------------------------------------------------------------------------------- /util/nrv2b/Makefile: -------------------------------------------------------------------------------- 1 | GCC=gcc 2 | 3 | nrv2b: nrv2b.c 4 | $(GCC) -O2 -DENCODE -DDECODE -DMAIN -DVERBOSE -DNDEBUG -DBITSIZE=32 -DENDIAN=0 -o $@ $< 5 | 6 | clean: 7 | rm -f nrv2b 8 | -------------------------------------------------------------------------------- /util/optionlist/README: -------------------------------------------------------------------------------- 1 | This script creates the page http://www.coreboot.org/Coreboot_Options 2 | -------------------------------------------------------------------------------- /util/romcc/results/linux_test1.out: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /util/romcc/results/linux_test10.out: -------------------------------------------------------------------------------- 1 | a: 00000001 b: 00000002 c: ffffffff d: 00000007 2 | -------------------------------------------------------------------------------- /util/romcc/results/linux_test11.out: -------------------------------------------------------------------------------- 1 | ffffffff 2 | -------------------------------------------------------------------------------- /util/romcc/results/linux_test12.out: -------------------------------------------------------------------------------- 1 | hah? 2 | Hi!! There 3 | This should be shown as a string... "enclosed in quotes" 4 | This is a quote" see 5 | 135 There 6 | 00000003 7 | x ## y 8 | romcc: 00.3b 9 | linux_test12.c:test:0000003c 10 | Compiled at: Apr 12 2004 12:06:09 11 | Compile time: 12:06:09 12 | -------------------------------------------------------------------------------- /util/romcc/results/linux_test13.out: -------------------------------------------------------------------------------- 1 | A 2 | 1 3 | 2 4 | 3 5 | 4 6 | 2 7 | 3 8 | 4 9 | 2 10 | 4 11 | 2 12 | 4 13 | 5 14 | B 15 | -------------------------------------------------------------------------------- /util/romcc/results/linux_test3.out: -------------------------------------------------------------------------------- 1 | goto_test 2 | i = 00 3 | i = 01 4 | i = 02 5 | i = 03 6 | i = 04 7 | i = 05 8 | i = 06 9 | i = 07 10 | i = 08 11 | i = 09 12 | -------------------------------------------------------------------------------- /util/romcc/results/linux_test4.out: -------------------------------------------------------------------------------- 1 | cpu_socketA 2 | .up=0002 .down=ffff .across=0001 3 | .up=0003 .down=ffff .across=0000 4 | .up=ffff .down=0000 .across=0003 5 | .up=ffff .down=0001 .across=0002 6 | 7 | cpu_socketB 8 | .up=0002 .down=ffff .across=0001 9 | .up=0003 .down=ffff .across=0000 10 | .up=ffff .down=0000 .across=0003 11 | .up=ffff .down=0001 .across=0002 12 | -------------------------------------------------------------------------------- /util/romcc/results/linux_test6.out: -------------------------------------------------------------------------------- 1 | B 2 | Registered 3 | -------------------------------------------------------------------------------- /util/romcc/results/linux_test8.out: -------------------------------------------------------------------------------- 1 | clocks: 00000003 2 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test1.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | int i; 4 | i|=0x80; 5 | } 6 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test10.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | struct result { 4 | int a, b, c, d; 5 | }; 6 | 7 | struct big_arg { 8 | int a, b; 9 | }; 10 | static struct result main(int a, int b, struct big_arg d) 11 | { 12 | struct result result; 13 | result.a = 1; 14 | result.b = 1; 15 | result.c = b + 1; 16 | result.d = a + 1; 17 | 18 | } 19 | 20 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test11.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | struct big_arg { 4 | int x, y; 5 | }; 6 | struct result { 7 | struct big_arg a; 8 | int c, d; 9 | }; 10 | 11 | static struct result main(int a, int b, int c, int d) 12 | { 13 | struct result result; 14 | result.a.x = d + 1; 15 | result.a.y = c + 1; 16 | result.c = b + 1; 17 | result.d = a + 1; 18 | 19 | return result; 20 | } 21 | 22 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test2.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | 4 | unsigned min; 5 | int value, latency; 6 | 7 | 8 | latency = -2; 9 | 10 | if (latency > (((min) >> 8) & 0xff)) { 11 | value = 0xa; 12 | } 13 | 14 | if (value < 0) return; 15 | 16 | ((min) = (((min) & ~0xff))); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test3.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | volatile unsigned long *val = (volatile unsigned long *)0x1234; 4 | int i; 5 | if (val[0] > 25) { 6 | i = 7; 7 | } 8 | val[1] = i; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test4.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | static const int foo = 2; 4 | switch(foo) { 5 | case 1: 6 | break; 7 | case 2: 8 | break; 9 | case 1: 10 | break; 11 | default: 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test5.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | static const int foo = 2; 4 | switch(foo) { 5 | case 1: 6 | break; 7 | default: 8 | break; 9 | case 2: 10 | break; 11 | default: 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test6.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | static void hlt(void) 4 | { 5 | } 6 | 7 | static void main(void) 8 | { 9 | void *foo; 10 | foo = hlt; 11 | } 12 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test7.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | static void hlt(void) 4 | { 5 | } 6 | 7 | static void main(void) 8 | { 9 | &hlt; 10 | } 11 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test8.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | static void hlt(void) 4 | { 5 | } 6 | 7 | static void main(void) 8 | { 9 | hlt; 10 | } 11 | -------------------------------------------------------------------------------- /util/romcc/tests/fail_test9.c: -------------------------------------------------------------------------------- 1 | typedef __builtin_msr_t msr_t; 2 | 3 | static msr_t rdmsr(unsigned long index) 4 | { 5 | return __builtin_rdmsr(index); 6 | } 7 | 8 | #warning "romcc should die gracefully here" 9 | 10 | -------------------------------------------------------------------------------- /util/romcc/tests/include/linux_syscall.h: -------------------------------------------------------------------------------- 1 | #ifndef LINUX_SYSCALL_H 2 | #define LINUX_SYSCALL_H 3 | 4 | /* When I support other platforms use #ifdefs here */ 5 | #include "linuxi386_syscall.h" 6 | 7 | #endif /* LINUX_SYSCALL_H */ 8 | -------------------------------------------------------------------------------- /util/romcc/tests/ldscript.ld: -------------------------------------------------------------------------------- 1 | 2 | ENTRY(_start) 3 | 4 | SECTIONS 5 | { 6 | . = 0x1000; 7 | __cpu_reset = 0xdeadbeef; 8 | .text . : { 9 | . = ALIGN(16); 10 | _start = . ; 11 | *(.rom.text); 12 | *(.text) 13 | . = ALIGN(16); 14 | } 15 | .data . : { 16 | . = ALIGN(16); 17 | *(.rom.data); 18 | *(.data) 19 | . = ALIGN(16); 20 | } 21 | } -------------------------------------------------------------------------------- /util/romcc/tests/linux_syscall.h: -------------------------------------------------------------------------------- 1 | #ifndef LINUX_SYSCALL_H 2 | #define LINUX_SYSCALL_H 3 | 4 | /* When I support other platforms use #ifdefs here */ 5 | #include "linuxi386_syscall.h" 6 | 7 | #endif /* LINUX_SYSCALL_H */ 8 | -------------------------------------------------------------------------------- /util/romcc/tests/linux_test1.c: -------------------------------------------------------------------------------- 1 | #include "linux_syscall.h" 2 | 3 | static void main(void) 4 | { 5 | static const char msg[] = "hello world\r\n"; 6 | write(STDOUT_FILENO, msg, sizeof(msg)); 7 | _exit(0); 8 | } 9 | -------------------------------------------------------------------------------- /util/romcc/tests/linux_test11.c: -------------------------------------------------------------------------------- 1 | #include "linux_syscall.h" 2 | #include "linux_console.h" 3 | 4 | static void test(void) 5 | { 6 | signed char x; 7 | x = -1; 8 | print_debug_hex32(x); 9 | print_debug("\n"); 10 | _exit(0); 11 | } 12 | -------------------------------------------------------------------------------- /util/romcc/tests/linux_test3.c: -------------------------------------------------------------------------------- 1 | #include "linux_syscall.h" 2 | #include "linux_console.h" 3 | static void goto_test(void) 4 | { 5 | int i; 6 | print_debug("goto_test\n"); 7 | 8 | i = 0; 9 | goto bottom; 10 | { 11 | top: 12 | print_debug("i = "); 13 | print_debug_hex8(i); 14 | print_debug("\n"); 15 | 16 | i = i + 1; 17 | } 18 | bottom: 19 | if (i < 10) { 20 | goto top; 21 | } 22 | } 23 | 24 | static void main(void) 25 | { 26 | goto_test(); 27 | _exit(0); 28 | } 29 | -------------------------------------------------------------------------------- /util/romcc/tests/linux_test6.c: -------------------------------------------------------------------------------- 1 | #include "linux_syscall.h" 2 | #include "linux_console.h" 3 | 4 | static void main(void) 5 | { 6 | static const int value[] = { 1, 0 }; 7 | const char *str; 8 | if (value[1]) { 9 | print_debug("A\r\n"); 10 | str = "Unbuffered\r\n"; 11 | } else { 12 | print_debug("B\r\n"); 13 | str = "Registered\r\n"; 14 | } 15 | print_debug(str); 16 | _exit(0); 17 | } 18 | -------------------------------------------------------------------------------- /util/romcc/tests/linux_test9.c: -------------------------------------------------------------------------------- 1 | #include "linux_syscall.h" 2 | #include "linux_console.h" 3 | 4 | static void test(void) 5 | { 6 | unsigned char i; 7 | for(i = 127; i != 5; i++) { 8 | print_debug("i: "); 9 | print_debug_hex32((unsigned )i); 10 | print_debug("\n"); 11 | } 12 | _exit(0); 13 | } 14 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test11.c: -------------------------------------------------------------------------------- 1 | static void spd_set_drb(void) 2 | { 3 | unsigned char ch; 4 | char *str; 5 | str = "test_string"; 6 | ch = *str; 7 | __builtin_outb(ch, 0xab); 8 | } 9 | 10 | void sdram_set_spd_registers(void) 11 | { 12 | spd_set_drb(); 13 | } 14 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test12.c: -------------------------------------------------------------------------------- 1 | static void spd_set_drb(void) 2 | { 3 | unsigned char ch; 4 | char *str; 5 | str = "test_string"; 6 | ch = *str; 7 | __builtin_outb(ch, 0xab); 8 | } 9 | 10 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test13.c: -------------------------------------------------------------------------------- 1 | static void outb(unsigned char value, unsigned short port) 2 | { 3 | __builtin_outb(value, port); 4 | } 5 | 6 | static void uart_init(void) 7 | { 8 | 9 | int a; 10 | if (1 == 1) { 11 | a = 1; 12 | outb(a, 0x3f8); 13 | } else { 14 | a = 2; 15 | outb(a, 0x3f8); 16 | } 17 | outb(a, 0x3f8); 18 | } 19 | 20 | static void main(void) 21 | { 22 | uart_init(); 23 | } 24 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test16.c: -------------------------------------------------------------------------------- 1 | typedef unsigned char uint8_t; 2 | typedef unsigned short uint16_t; 3 | typedef unsigned int uint32_t; 4 | 5 | 6 | static void outb(uint8_t value, uint16_t port) 7 | { 8 | __builtin_outb(value, port); 9 | } 10 | 11 | 12 | static void main(void) 13 | { 14 | uint32_t i; 15 | for(i = 0; i < 32; i++) { 16 | outb(i, 0x80); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test18.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test19.c: -------------------------------------------------------------------------------- 1 | static void hlt(void) 2 | { 3 | __builtin_hlt(); 4 | } 5 | 6 | typedef __builtin_msr_t msr_t; 7 | 8 | static msr_t rdmsr(unsigned long index) 9 | { 10 | return __builtin_rdmsr(index); 11 | } 12 | 13 | static void wrmsr(unsigned long index, msr_t msr) 14 | { 15 | __builtin_wrmsr(index, msr.lo, msr.hi); 16 | } 17 | 18 | static void main(void) 19 | { 20 | msr_t msr; 21 | msr = rdmsr(0x1234); 22 | msr.lo &= ~(1<<5); 23 | wrmsr(0x1234, msr); 24 | } 25 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test21.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | static void main(void) 4 | { 5 | asm("hlt"); 6 | } 7 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test23.c: -------------------------------------------------------------------------------- 1 | static void print(char *str) 2 | { 3 | while(1) { 4 | unsigned char ch; 5 | ch = *str; 6 | if (ch == '\0') { 7 | break; 8 | } 9 | __builtin_outb(ch, 0x1234); 10 | str += 1; 11 | } 12 | } 13 | 14 | static void main(void) 15 | { 16 | print("hello world\r\n"); 17 | print("how are you today\r\n"); 18 | } 19 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test24.c: -------------------------------------------------------------------------------- 1 | void smbus_read_byte(void) 2 | { 3 | unsigned char host_status_register; 4 | unsigned char byte; 5 | int result; 6 | 7 | host_status_register = __builtin_inb(0x1234); 8 | 9 | /* read results of transaction */ 10 | byte = __builtin_inb(0x4567); 11 | 12 | result = byte; 13 | if (host_status_register != 0x02) { 14 | result = -1; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test31.c: -------------------------------------------------------------------------------- 1 | 2 | static unsigned pci_locate_device(unsigned addr) 3 | { 4 | addr &= ~0xff; 5 | for(; addr <= 0x00ffff00; addr += 0x00000100) { 6 | __builtin_outl(addr, 0x12); 7 | } 8 | return addr; 9 | } 10 | 11 | static void main(void) 12 | { 13 | unsigned long addr; 14 | addr = pci_locate_device(0); 15 | __builtin_outl(addr, 0x12); 16 | } 17 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test35.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | __builtin_msr_t msr; 4 | msr = __builtin_rdmsr(0xC001001A); 5 | while(__builtin_inb(0x3fd)) 6 | ; 7 | __builtin_outb(msr.hi, 0x3f8); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test37.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | unsigned csbase, csmask; 4 | 5 | csbase = 0x40; 6 | csmask = 0xfe00; 7 | 8 | __builtin_outl(csbase, 0x40); 9 | __builtin_outl(csmask, 0x60); 10 | } 11 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test40.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | int i = 1; 4 | return; 5 | i++; 6 | } 7 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test41.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | unsigned long a,b,c, d; 4 | volatile unsigned long *val = (volatile unsigned long *)0x1234; 5 | a = val[0]; 6 | b = val[1]; 7 | c = a*b; 8 | val[2] = c; 9 | d = val[3]; 10 | a = c / d; 11 | b = c % d; 12 | val[4] = a; 13 | val[5] = b; 14 | } 15 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test48.c: -------------------------------------------------------------------------------- 1 | 2 | static void main(void) 3 | { 4 | int i; 5 | i = __builtin_inb(0x1234); 6 | goto next; 7 | int j; 8 | j = __builtin_inb(0xabcd); 9 | __builtin_outb(j, 0xef90); 10 | next: 11 | __builtin_outb(i, 0x5678); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test49.c: -------------------------------------------------------------------------------- 1 | 2 | static void main(void) 3 | { 4 | int i; 5 | i = __builtin_inb(0x1234); 6 | if (i == 23) { 7 | for(;;) { 8 | int j; 9 | j = __builtin_inb(0xabcd); 10 | __builtin_outb(j, 0xef90); 11 | } 12 | } 13 | __builtin_outb(i, 0x5678); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test51.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | unsigned long a,b,c, d; 4 | volatile unsigned long *val = (volatile unsigned long *)0x1234; 5 | a = val[0]; 6 | b = val[1]; 7 | d = val[2]; 8 | c = a*b; 9 | val[3] = c; 10 | a = c / d; 11 | } 12 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test52.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | if (__builtin_inb(0x1b)) { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test53.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | unsigned dev; 4 | dev = __builtin_inl(0xcd); 5 | if (dev == (0xffffffffU)) { 6 | do { 7 | __builtin_hlt(); 8 | } while(1); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test55.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | static const int sdivisor = 20; 4 | const int *pdivisor; 5 | unsigned rdpreamble; 6 | unsigned divisor; 7 | pdivisor = &sdivisor; 8 | divisor = *pdivisor; 9 | rdpreamble = 0; 10 | 11 | if (divisor == 20) { 12 | rdpreamble = 18; 13 | } 14 | else { 15 | if (divisor == 15) { 16 | rdpreamble = 16; 17 | } 18 | else { 19 | if (divisor == 12) { 20 | rdpreamble = 15; 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test57.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | for(;;) { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test58.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | const char *str; 4 | unsigned char ch; 5 | str = "one\r\n"; 6 | while((ch = *str++) != '\0') { 7 | __builtin_outb(ch, 0x3f0); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test62.c: -------------------------------------------------------------------------------- 1 | static const int foo = 1; 2 | 3 | static void main(void) 4 | { 5 | int x; 6 | x = foo; 7 | } 8 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test63.c: -------------------------------------------------------------------------------- 1 | static const int foo[] = { 1, 2 }; 2 | 3 | static void main(void) 4 | { 5 | int x, y; 6 | x = foo[0]; 7 | y = foo[1]; 8 | } 9 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test64.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | static const int foo = 2; 4 | switch(foo) { 5 | case 1: 6 | break; 7 | case 2: 8 | break; 9 | default: 10 | break; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test65.c: -------------------------------------------------------------------------------- 1 | enum tag { 2 | X=1, 3 | Y=2, 4 | }; 5 | static void main(void) 6 | { 7 | enum tag foo; 8 | foo = Y; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test67.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | unsigned int dch, dcl; 4 | /* HERE I AM async_lat */ 5 | unsigned async_lat; 6 | int dimms; 7 | dimms = 1; 8 | async_lat = 0; 9 | dch = 0x1234; 10 | dcl = __builtin_inl(0x5678); 11 | if (!(dcl & (1 << 8))) { 12 | if (dimms == 4) { 13 | async_lat = 9; 14 | } 15 | else { 16 | async_lat = 8; 17 | } 18 | } 19 | else { 20 | async_lat = 6; 21 | } 22 | dch |= async_lat; 23 | __builtin_outl(dch, 0x9abc); 24 | } 25 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test69.c: -------------------------------------------------------------------------------- 1 | static void outb(unsigned char value, unsigned short port) 2 | { 3 | __builtin_outb(value, port); 4 | } 5 | 6 | static void pnp_write_config(void) 7 | { 8 | unsigned char port; 9 | unsigned char value; 10 | unsigned char reg; 11 | port = 0x2e; 12 | value = 0x03; 13 | reg = 0x07; 14 | outb(reg, port); 15 | outb(value, port +1); 16 | outb(value -1, port +2); 17 | } 18 | 19 | static void main(void) 20 | { 21 | pnp_write_config(); 22 | } 23 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test7.c: -------------------------------------------------------------------------------- 1 | void main(void) 2 | { 3 | int i; 4 | i = 0; 5 | do { 6 | int j; 7 | __builtin_outb(i, 0xab); 8 | j = i++; 9 | __builtin_outb(j, 0xdc); 10 | } while(i <= 9); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test70.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | int i; 4 | int dest; 5 | 6 | goto start; 7 | foo: 8 | __builtin_outl(dest, 0x5678); 9 | if (dest == 2) goto middle; 10 | goto head; 11 | 12 | start: 13 | dest = 1; 14 | goto foo; 15 | head: 16 | for(i = 0; i < 10; i++) { 17 | dest = 2; 18 | goto foo; 19 | middle: 20 | __builtin_outl(i, 0x1234); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test71.c: -------------------------------------------------------------------------------- 1 | static void foo(void) 2 | { 3 | __builtin_outl(22, 0x5678); 4 | } 5 | static void main(void) 6 | { 7 | int i; 8 | 9 | foo(); 10 | foo(); 11 | for(i = 0; i < 10; i++) { 12 | foo(); 13 | #if 0 14 | foo(); 15 | #endif 16 | __builtin_outl(i, 0x1234); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test75.c: -------------------------------------------------------------------------------- 1 | static void goto_test(void) 2 | { 3 | int i; 4 | 5 | i = 0; 6 | goto bottom; 7 | { 8 | top: 9 | i = i + 1; 10 | } 11 | bottom: 12 | if (i < 10) { 13 | goto top; 14 | } 15 | ; 16 | } 17 | 18 | static void main(void) 19 | { 20 | goto_test(); 21 | } 22 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test77.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | do { 4 | } while(1); 5 | } 6 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test78.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | int x = 25; 4 | do { 5 | } while(1); 6 | *((volatile int *)5) = x; 7 | } 8 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test79.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | do { 4 | } while(0); 5 | } 6 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test8.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | void main(void) 4 | { 5 | static const char msg[] = "hello world\r\n"; 6 | char *str; 7 | char ch; 8 | str = msg; 9 | while(1) { 10 | ch = *str++; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test80.c: -------------------------------------------------------------------------------- 1 | typedef __builtin_msr_t msr_t; 2 | 3 | static msr_t rdmsr(unsigned long index) 4 | { 5 | return __builtin_rdmsr(index); 6 | } 7 | 8 | static void main(void) 9 | { 10 | msr_t msr; 11 | msr = rdmsr(0x12345678); 12 | } 13 | 14 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test81.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | int i; 4 | i = __builtin_inb(0x1234); 5 | int j; 6 | j = __builtin_inb(0xabcd); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test82.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | struct result { 4 | int a, b, c, d; 5 | }; 6 | 7 | static struct result main(int a, int b, int c, int d) 8 | { 9 | struct result result; 10 | result.a = d; 11 | result.b = c; 12 | result.c = b; 13 | result.d = a; 14 | 15 | return result; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test83.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | struct result { 4 | int a, b, c, d; 5 | }; 6 | 7 | static struct result main(int a, int b, int c, int d) 8 | { 9 | struct result result; 10 | result.a = d + 1; 11 | result.b = c + 1; 12 | result.c = b + 1; 13 | result.d = a + 1; 14 | 15 | return result; 16 | } 17 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test84.c: -------------------------------------------------------------------------------- 1 | struct stuff { 2 | signed int a : 5; 3 | signed int b : 6; 4 | signed int c : 2; 5 | unsigned int d : 3; 6 | }; 7 | 8 | static void main(void) 9 | { 10 | struct stuff var; 11 | volatile int a, b, c, d; 12 | a = 1; 13 | b = 2; 14 | c = 3; 15 | d = 7; 16 | 17 | var.a = a; 18 | var.b = b; 19 | var.c = c; 20 | var.d = d; 21 | 22 | a = var.a; 23 | b = var.b; 24 | c = var.c; 25 | d = var.d; 26 | 27 | asm(" " :: "r"(a), "r"(b), "r"(c), "r"(d)); 28 | } 29 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test86.c: -------------------------------------------------------------------------------- 1 | static void main(void) 2 | { 3 | asm("cpuid" 4 | ::: "eax", "ebx", "ecx", "edx"); 5 | } 6 | -------------------------------------------------------------------------------- /util/romcc/tests/simple_test9.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | void main(void) 4 | { 5 | static const char msg[] = "hello world\r\n"; 6 | char *str; 7 | char ch; 8 | str = msg; 9 | do { 10 | ch = *str++; 11 | } while(ch); 12 | } 13 | -------------------------------------------------------------------------------- /util/vgabios/helper_exec.h: -------------------------------------------------------------------------------- 1 | u32 getIntVect(int num); 2 | int run_bios_int(int num); 3 | -------------------------------------------------------------------------------- /util/vgabios/include/arch/io.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASM_IO_H 2 | #define _ASM_IO_H 3 | #include 4 | #endif 5 | -------------------------------------------------------------------------------- /util/vgabios/include/console/console.h: -------------------------------------------------------------------------------- 1 | #ifndef _CONSOLE_CONSOLE_H 2 | #define _CONSOLE_CONSOLE_H 3 | #define CONFIG_X86EMU_DEBUG 1 4 | #endif 5 | -------------------------------------------------------------------------------- /util/vgabios/int15.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "test.h" 3 | 4 | void x86emu_dump_xregs(); 5 | 6 | int int15_handler(void) 7 | { 8 | printf("\nint15 encountered.\n"); 9 | //x86emu_dump_xregs(); 10 | X86_EAX = 0; 11 | return 1; 12 | } 13 | -------------------------------------------------------------------------------- /util/vgabios/int16.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int int16_handler(void) 4 | { 5 | printf("\nint16: keyboard not supported right now.\n"); 6 | return 1; 7 | } 8 | -------------------------------------------------------------------------------- /util/vgabios/inte6.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int intE6_handler() 4 | { 5 | #if 0 6 | pciVideoPtr pvp; 7 | 8 | if ((pvp = xf86GetPciInfoForEntity(pInt->entityIndex))) 9 | X86_AX = (pvp->bus << 8) | (pvp->device << 3) | (pvp->func & 0x7); 10 | pushw(X86_CS); 11 | pushw(X86_IP); 12 | X86_CS = pInt->BIOSseg; 13 | X86_EIP = 0x0003; 14 | X86_ES = 0; /* standard pc es */ 15 | #endif 16 | printf("intE6 not supported right now.\n"); 17 | return 1; 18 | } 19 | -------------------------------------------------------------------------------- /util/vgabios/pci.h: -------------------------------------------------------------------------------- 1 | void x_outb(u16 port, u8 val); 2 | #define outb x_outb 3 | --------------------------------------------------------------------------------