qemu: drop "northbridge.c" from src/cpu/...
It's not a real northbridge, so I just move it into the mainboard directory for now (until we maybe have a qemu-q35 image some day?) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5316 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
5e32823a68
commit
2c5dc65949
@ -1,5 +1,4 @@
|
|||||||
source src/cpu/amd/Kconfig
|
source src/cpu/amd/Kconfig
|
||||||
source src/cpu/emulation/Kconfig
|
|
||||||
source src/cpu/intel/Kconfig
|
source src/cpu/intel/Kconfig
|
||||||
source src/cpu/via/Kconfig
|
source src/cpu/via/Kconfig
|
||||||
source src/cpu/x86/Kconfig
|
source src/cpu/x86/Kconfig
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
subdirs-y += amd
|
subdirs-y += amd
|
||||||
subdirs-y += intel
|
subdirs-y += intel
|
||||||
subdirs-y += via
|
subdirs-y += via
|
||||||
subdirs-y += emulation
|
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
source src/cpu/emulation/qemu-x86/Kconfig
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
subdirs-$(CONFIG_CPU_EMULATION_QEMU_X86) += qemu-x86
|
|
@ -1,3 +0,0 @@
|
|||||||
config CPU_EMULATION_QEMU_X86
|
|
||||||
bool
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
obj-y += northbridge.o
|
|
@ -1,6 +0,0 @@
|
|||||||
struct cpu_emulation_qemu_x86_config
|
|
||||||
{
|
|
||||||
};
|
|
||||||
|
|
||||||
extern struct chip_operations cpu_emulation_qemu_x86_ops;
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
#ifndef NORTHBRIDGE_EMULATION_QEMU_X86_H
|
|
||||||
#define NORTHBRIDGE_EMULATION_QEMU_X86_H
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* NORTHBRIDGE_EMULATION_QEMU_X86 */
|
|
@ -2,7 +2,6 @@ config BOARD_EMULATION_QEMU_X86
|
|||||||
bool "QEMU x86"
|
bool "QEMU x86"
|
||||||
select ARCH_X86
|
select ARCH_X86
|
||||||
select SOUTHBRIDGE_INTEL_I82371EB
|
select SOUTHBRIDGE_INTEL_I82371EB
|
||||||
select CPU_EMULATION_QEMU_X86
|
|
||||||
select ROMCC
|
select ROMCC
|
||||||
select HAVE_PIRQ_TABLE
|
select HAVE_PIRQ_TABLE
|
||||||
select BOARD_ROMSIZE_KB_256
|
select BOARD_ROMSIZE_KB_256
|
||||||
|
@ -1 +1,3 @@
|
|||||||
ROMCCFLAGS := -mcpu=i386 -O
|
ROMCCFLAGS := -mcpu=i386 -O
|
||||||
|
|
||||||
|
obj-y += northbridge.o
|
||||||
|
@ -2,3 +2,10 @@ extern struct chip_operations mainboard_ops;
|
|||||||
|
|
||||||
struct mainboard_config {
|
struct mainboard_config {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct cpu_emulation_qemu_x86_config
|
||||||
|
{
|
||||||
|
};
|
||||||
|
|
||||||
|
extern struct chip_operations cpu_emulation_qemu_x86_ops;
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <bitops.h>
|
#include <bitops.h>
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "northbridge.h"
|
|
||||||
#include <delay.h>
|
#include <delay.h>
|
||||||
|
|
||||||
static void ram_resource(device_t dev, unsigned long index,
|
static void ram_resource(device_t dev, unsigned long index,
|
@ -1,6 +1,5 @@
|
|||||||
#define ASSEMBLY 1
|
#define ASSEMBLY 1
|
||||||
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
@ -19,7 +18,7 @@
|
|||||||
static void main(void)
|
static void main(void)
|
||||||
{
|
{
|
||||||
/* init_timer();*/
|
/* init_timer();*/
|
||||||
outb(5, 0x80);
|
post_code(0x05);
|
||||||
|
|
||||||
uart_init();
|
uart_init();
|
||||||
console_init();
|
console_init();
|
||||||
|
Reference in New Issue
Block a user