tree: drop last paragraph of GPL copyright header
[coreboot.git] / src / mainboard / hp / e_vectra_p2706t / romstage.c
blob58dd5e7b16cd39c951b2cfc3889a3a15e62fa194
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #include <stdint.h>
18 #include <device/pci_def.h>
19 #include <arch/io.h>
20 #include <device/pnp_def.h>
21 #include <stdlib.h>
22 #include <console/console.h>
23 /* TODO: It's a PC87364 actually! */
24 #include <superio/nsc/pc87360/pc87360.h>
25 /* TODO: It's i810E actually! */
26 #include <northbridge/intel/i82810/raminit.h>
27 #include <cpu/x86/bist.h>
28 #include <southbridge/intel/i82801ax/i82801ax.h>
29 #include "drivers/pc80/udelay_io.c"
30 #include <lib.h>
32 /* TODO: It's a PC87364 actually! */
33 #define SERIAL_DEV PNP_DEV(0x2e, PC87360_SP1)
35 #include <cpu/intel/romstage.h>
36 void main(unsigned long bist)
38 /* TODO: It's a PC87364 actually! */
39 pc87360_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
40 console_init();
41 enable_smbus();
42 report_bist_failure(bist);
43 dump_spd_registers();
44 sdram_set_registers();
45 sdram_set_spd_registers();
46 sdram_enable();