Commit Graph

13645 Commits

Author SHA1 Message Date
Eric Biederman 5cd81730ec - Moved hlt() to it's own header.
- Reworked pnp superio device support.  Now complete superio support is less than 100 lines.
- Added support for hard coding resource assignments in Config.lb
- Minor bug fixes to romcc
- Initial support for catching the x86 processor BIST error codes.  I've only seen
  this trigger once in production during a very suspcious reset but...
- added raminit_test to test the code paths in raminit.c for the Opteron
- Removed the IORESOURCE_SET bit and added IORESOURCE_ASSIGNED and IORESOURCE_STORED
  so we can tell what we have really done.
- Added generic AGP/IOMMU setting code to x86
- Added an implementation of memmove and removed reserved identifiers from memcpy
- Added minimal support for booting on pre b3 stepping K8 cores
- Moved the checksum on amd8111 boards because our default location was on top of
  extended RTC registers
- On the Hdama added support for enabling i2c hub so we can get at the temperature
  sensors.  Not that i2c bus was implemented well enough to make that useful.
- Redid the Opteron port so we should only need one reset and most of memory initialization
  is done in cpu_fixup.  This is much, much faster.
- Attempted to make the VGA IO region assigment work.  The code seems to work now...
- Redid the error handling in amdk8/raminit.c to distinguish between a bad value
  and a smbus error, and moved memory clearing out to cpufixup.
- Removed CONFIG_KEYBOARD as it was useless.  See pc87360/superio.c for how to
  setup a legacy keyboard properly.
- Reworked the register values for standard hardware, moving the defintions from
  chip.h into the headers of the initialization routines.  This is much saner
  and is actually implemented.
- Made the hdama port an under clockers BIOS.  I debuged so many interesting problems.
- On amd8111_lpc added setup of architectural/legacy hardware
- Enabled PCI error reporting as much as possible.
- Enhanded build_opt_tbl to generate a header of the cmos option locations so
  that romcc compiled code can query the cmos options.
- In romcc gracefully handle function names that degenerate into function pointers
- Bumped the version to 1.1.6 as we are getting closer to 2.0

  TODO finish optimizing the HT links of non dual boards
  TODO make all Opteron board work again
  TODO convert all superio devices to use the new helpers
  TODO convert the via/epia to freebios2 conventions
  TODO cpu fixup/setup by cpu type


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1390 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-03-11 15:01:31 +00:00
Stefan Reinauer f31d5542f6 go verbose for now!
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1389 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-03-09 15:56:38 +00:00
Stefan Reinauer ffc6d28614 drop dead code.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1388 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-03-09 15:33:08 +00:00
Greg Watson a3d26484cc *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1384 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-03-07 22:24:05 +00:00
Greg Watson efa1f324af config.g
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1383 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-03-07 22:17:05 +00:00
Greg Watson c762e55fc9 fix caching problem
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1382 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-03-07 17:38:43 +00:00
Greg Watson 7780fc6404 fix memory settings
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1381 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-03-07 17:37:41 +00:00
Greg Watson ac00a0a7e2 fix caching problem
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1380 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-03-07 17:28:59 +00:00
Stefan Reinauer dd9651017a generalize code
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1379 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-27 13:37:44 +00:00
Li-Ta Lo 3259784926 correct the DstNode bit mask for IO/MM registers
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1378 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-23 22:33:10 +00:00
Li-Ta Lo 87144668b1 removed unused set_var_mtrr() (use intel_set_var_mtrr() instead).
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1377 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-17 21:51:58 +00:00
Ronald G. Minnich ac3888da5e fix makefile
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1376 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-13 23:09:54 +00:00
Ronald G. Minnich c4bea221e0 now we support 8111 and these parts.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1375 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-10 21:34:18 +00:00
Stefan Reinauer f69f7e252f add option rom section
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1374 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-10 17:30:04 +00:00
Stefan Reinauer c0f4e2aecb small ACPI addon
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1373 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-10 16:53:55 +00:00
Stefan Reinauer 2d3cf24580 fix broken stuff :-(((
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1372 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-10 11:21:18 +00:00
David W. Hendricks 854e45292b final merge of YhLu's stuff
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1371 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-09 22:47:38 +00:00
Greg Watson c34d5ca790 *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1370 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-08 20:17:01 +00:00
Stefan Reinauer bd8e17a8f1 enable hpet timer hardware.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1368 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-05 10:00:35 +00:00
Eric Biederman b8a7578a12 - Update to the latest config.g
- Everything except if statements should work correctly


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1367 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-04 09:11:51 +00:00
Stefan Reinauer 06feb88cc6 create MADT tables, too.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1366 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-02-03 16:11:35 +00:00
Stefan Reinauer a7648c2942 acpi fixes:
* move acpi to right position
 * change acpi checksums
 * clean hpet area before creating table
 * calculate hpet checksum


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1364 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-29 17:31:34 +00:00
Greg Watson d4ece66207 configure superio
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1363 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-29 01:54:24 +00:00
Greg Watson 64528cb299 use static config
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1362 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-29 01:53:36 +00:00
Greg Watson 053f89b057 chip initialization
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1361 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-29 00:58:07 +00:00
Ronald G. Minnich 016c1b3d8a almost there.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1360 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-29 00:04:13 +00:00
Ronald G. Minnich e45714874e incomplete (wrong) support for this chip.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1359 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-28 23:54:50 +00:00
Stefan Reinauer 688b385aec please forgive me... ;)
* initial acpi support code
 * fix header


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1358 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-28 16:56:14 +00:00
Ronald G. Minnich 22489894e1 will mainboards
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1357 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-27 17:08:03 +00:00
Stefan Reinauer abf9fea4a0 unify debug messages, fix typo
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1356 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-26 10:54:44 +00:00
Stefan Reinauer 36fdcb8e2b Allow using an APIC without mptable.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1355 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-26 10:16:59 +00:00
Greg Watson 5a8d4ae27c *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1354 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 01:06:19 +00:00
Greg Watson 909472367f memory mapped I/O
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1353 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 01:03:41 +00:00
Greg Watson 9233e47d9f UART0_IO_BASE no longer used
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1352 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 01:02:56 +00:00
Greg Watson 746376d641 cache.c
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1351 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 01:00:22 +00:00
Greg Watson aabdf02cdd updated for other boards
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1350 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 01:00:07 +00:00
Greg Watson c5acd90b53 try to get memory mapped i/o to work
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1349 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 00:45:13 +00:00
Greg Watson 86da220788 *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1348 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 00:21:29 +00:00
Greg Watson 49ad3fe4c3 get memory mapped i/o working
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1347 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 00:09:10 +00:00
Greg Watson 7a186938b0 clear IR & DR and enable FP
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1346 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 00:04:58 +00:00
Greg Watson 47624a8e13 *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1345 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 00:02:12 +00:00
Greg Watson 6cc2a5c4c4 init.c
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1344 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-22 00:01:20 +00:00
Greg Watson 063f3d9395 default values seem to work fine
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1343 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-21 23:56:37 +00:00
Greg Watson 87561c7acd pass ide base address to driver
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1342 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-21 23:55:59 +00:00
Greg Watson 456764dd30 changed routine name
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1341 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-21 23:52:49 +00:00
Greg Watson 8af609f2fe trying to get it right...
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1340 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-21 23:50:56 +00:00
Stefan Reinauer 8a1678fb90 adapt irq values to pirq table
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1339 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-21 16:40:41 +00:00
Stefan Reinauer a65b14ab50 simpler irq tables
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1338 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-21 16:26:44 +00:00
Stefan Reinauer bd4be244bb update mp table and pirq table
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1337 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-21 16:05:40 +00:00
Greg Watson b020d53352 *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1335 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-01-14 17:21:22 +00:00