From c220077227d3c4d24a727d348abcbe942ffc9089 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Mon, 9 Oct 2006 15:20:59 +0000 Subject: [PATCH] it's trying to build but it won't try to build dtc.h from dts? Why not? git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@16 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- src/mainboard/emulation/qemu-i386/Makefile | 6 +++ src/mainboard/emulation/qemu-i386/dts | 50 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 src/mainboard/emulation/qemu-i386/dts diff --git a/src/mainboard/emulation/qemu-i386/Makefile b/src/mainboard/emulation/qemu-i386/Makefile index e0cdb5c757..bb12d4dc96 100644 --- a/src/mainboard/emulation/qemu-i386/Makefile +++ b/src/mainboard/emulation/qemu-i386/Makefile @@ -4,3 +4,9 @@ obj-y = mainboard.o irq_tables.o setup_before_car.o core-$(COMPRESSORS) += compressors + +mainboard.o: dtc.h + +dtc.h: dts + dtc -O lb dts > $@ + diff --git a/src/mainboard/emulation/qemu-i386/dts b/src/mainboard/emulation/qemu-i386/dts new file mode 100644 index 0000000000..f14ada765b --- /dev/null +++ b/src/mainboard/emulation/qemu-i386/dts @@ -0,0 +1,50 @@ +/{ + model = "qemu"; + #address-cells = <1>; + #size-cells = <1>; + compatible = "emulation-i386,qemu"; + cpus { + #address-cells = <1>; + #size-cells = <0>; + + emulation,qemu-i386@0{ + name = "emulation,qemu-i386"; + device_type = "cpu"; + clock-frequency = <5f5e1000>; + timebase-frequency = <1FCA055>; + linux,boot-cpu; + reg = <0>; + i-cache-size = <2000>; + d-cache-size = <2000>; + }; + }; + + memory@0 { + device_type = "memory"; + reg = <00000000 20000000>; + }; + + /* the I/O stuff */ + northbridge,intel,440bx{ + associated-cpu = <&/cpus/emulation,qemu-i386@0>; + southbridge,intel,piix4{ + superio,nsc,sucks{ + uart@0{ + enabled=<1>; + }; + }; + }; + }; + + chosen { + bootargs = "root=/dev/sda2"; + linux,platform = <00000600>; + linux,stdout-path="/dev/ttyS0"; + }; + options { + normal="normal"; + fallback="fallback"; + }; + + +};