Commit Graph

1551 Commits

Author SHA1 Message Date
Li-Ta Lo 19b6945a40 add retry to write_byte_program_jedec(), 99% success rate
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1814 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-08 02:10:33 +00:00
Li-Ta Lo c48822ae91 enable LPC decoding for 1 MB more addresss, for supporting SST49LF00xA/B
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1813 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-07 17:19:04 +00:00
Li-Ta Lo bb7c3935c9 SST49LF00[2,3,4] should use
the same driver as 49LF008


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1812 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-07 03:15:51 +00:00
Li-Ta Lo 3a81285409 allocating resource for legacy VGA frame buffer, it is not 100%
correct but it works anyway.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1811 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-03 22:39:34 +00:00
Yinghai Lu 845e8df673 *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1810 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-03 19:07:45 +00:00
Yinghai Lu 7213d0f513 i2c mux support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1809 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-03 03:39:04 +00:00
Mark Wilkinson 57b6786168 Updates to raminit.c correcting for new version of smbus_read_byte.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1808 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-01 16:59:05 +00:00
Mark Wilkinson e1bc97b078 Updated version of vt8231_early_smbus.c
smbus_read_byte routine updated as per suggestion by rgm
  addition reset & wait_until_ready to allow correct reading of first
  byte on epia systems.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1807 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-01 16:57:37 +00:00
Ronald G. Minnich 284c27f299 fixes to make adl855pc compile.
fixes to emulator.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1806 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-28 04:39:45 +00:00
Greg Watson 637b699865 new config file format - PMC no longer works
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1805 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-26 01:11:31 +00:00
Greg Watson 5720da9d75 moved from ../sandpointx3_altimus_mpc7410
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1804 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-26 01:11:03 +00:00
Greg Watson 31f6606aea not used here
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1803 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-26 01:09:49 +00:00
Greg Watson 08d2d5a5c2 PMC no longer works
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1802 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-26 01:08:16 +00:00
Greg Watson d12eca7273 ../sandpoint contains X3 configuration
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1801 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-26 01:07:47 +00:00
Greg Watson 92555b939d make sure enable_resource called on children
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1800 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-26 00:46:39 +00:00
Li-Ta Lo 0493069aa9 update comment according to the new DOM
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1799 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-25 17:37:19 +00:00
Li-Ta Lo f0ee1efcaf marked debug device on LPC bus
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1798 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-25 17:35:37 +00:00
Greg Watson 55895a29de new config model
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1797 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-24 21:19:27 +00:00
Greg Watson d62a09c791 move pnp code
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1796 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-24 21:15:49 +00:00
Greg Watson d47d05bd0a pci devices are all on the same bus
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1795 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-24 21:14:06 +00:00
Greg Watson fb746a3fea removed argument
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1794 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-24 21:13:03 +00:00
Greg Watson 0bac237334 added comments
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1793 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-24 21:12:20 +00:00
Greg Watson f439250355 fixup debugging info
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1792 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-24 21:11:04 +00:00
Greg Watson c906c2918a scan the static bus
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1791 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-24 21:09:08 +00:00
Eric Biederman 58769b7d50 - Add the cpu path support. Oops I failed to commit this earlier
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1790 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-22 21:45:24 +00:00
Greg Watson e5c0ca30a2 pci_read using wrong device
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1789 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-22 21:36:46 +00:00
Greg Watson abc4a11a9a added missing cpu and cpu_bus support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1788 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-20 21:20:40 +00:00
Eric Biederman 5697edee03 - Add the new files for the motorola mpc107
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1787 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-18 22:39:43 +00:00
Eric Biederman a9e632c2ac - First stab at getting the ppc ports building and working.
- The sandpointx3+altimus has been consolidated into one directory for now.
- Added support for having different versions of the pci access functions
  on a per bus basis if needed.
  Hopefully I have not broken something inadvertently.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1786 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-18 22:38:08 +00:00
Eric Biederman bec8acedf1 - Comment on why optimize_link_read_pointers is safe on an Athlon64
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1785 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-15 17:01:05 +00:00
Eric Biederman cb364958a0 - Don't force spew level debug messages on the kherpi
- optimize_link_read_pointers compiles now on the solo so don't disable it.
- Start sorting out the confusion between and object and an initobject on the ppc ports
- Major bugfix release of romcc to support to remove preprocessor deficiencies.
  The line and column numbers are computed are now correct.  But watch out
  the error messages sometimes report the location of the next token so things
  are still a little skewed.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1784 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-15 10:46:44 +00:00
Eric Biederman f6f349828f - Allow coherent_ht.c to compile uniprocessor
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-13 03:47:52 +00:00
Stefan Reinauer 3e9b52d554 ooops. sorry
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1782 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-12 21:00:29 +00:00
Stefan Reinauer 204f718fa3 fix a little more of ppc
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-11 21:30:50 +00:00
Ronald G. Minnich 8d41ad83be in loglevel.h, if ASM_CONSOLE_LOGLEVEL is defined, don't try to set it.
Set adl855pc ROM_SIZE to 1M
Other minor debug prints until we get this fixed.

We're almost as far along as we were before the Change :-)


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1780 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-11 14:04:25 +00:00
Eric Biederman 029517c77a - Refactor the pc keyboard code so it will timeout if the hardware
is not working instead of haning forever.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1779 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-11 11:56:00 +00:00
Eric Biederman 69afe2822a mpspec.h: Tweak the write_smp_table macro so that it is safe if passed a complex expression.
crt0.S.lb: Modified so that it is safe to include console.inc
console.c:  Added print_debug_ and frieds which are non inline variants of the normal console functions
div64.h:   Only include limits.h if  ULONG_MAX is not defined and define ULONG_MAX on ppc
socket_754/Config.lb Conditionally set config chip.h
socket_940.c We don't need and #if CONFIG_CHIP_NAME we won't be linked in if there are no references.
slot_2/chip.h: The operations struct need to be spelled cpu_intelt_slot_2_ops
slot_2/slot2.c: The same spelling fix
socket_mPGA603/chip.h: again
socket_mPGA603/socket_mPGA603_400Mhz.c: and again
socket_mPGA604_533Mhz/Config.lb: Conditionally defing CONFIG_CHIP_NAME
socket_mPGA604_800Mhz/chip.h: Another spelling fix
socket_mPGA604_800Mhz.c     and again
via/model_centaur/model_centaur_init.c: It's not an intel CPU so don't worry about Intel microcode uptdates
earlymtrr.c:  Remove work around for older versions of romcc
pci_ids.h:  More ids.
malloc.c:   We don't need string.h any longer
uart8250.c: Be consistent when delcaring functions static inline
arima/hdama/mptable.c: Cleanup to be a little more consistent
amdk8/coherent_ht.c:
 - Talk about nodes not cpus (In preparation for dual cores)
 - Remove clear_temp_row (as it is no longer needed)
 - Demoted the failure messages to spew.
 - Modified to gracefully handle failure (It should work now if cpus are removed)
 - Handle the non-SMP case in verify_mp_capabilities
 - Add clear_dead_routes which replaces clear_temp_row and does more
 - Reorganize setup_coherent_ht_domain to cleanly handle failure.
 - incoherent_ht.c: Clean up the indenation a little.
i8259.c: remove blank lines at the start of the file.
keyboard.c: Make pc_keyboard_init static
ramtest.c: Add a print out limiter, and cleanup the printout a little.
amd8111/Config.lb: Mention amd8111_smbus.c
amd8111_usb.c: Call the structure usb_ops not smbus_ops.
NSC/pc97307/chip.h: Fix spelling issue
pc97307/superio.c: Use &ops no &pnp_ops.
w83627hf/suerio.c: ditto
w83627thf/suerio.c: ditto
buildrom.c: Use braces around the body of a for loop.  It's more maintainable.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1778 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-11 06:53:24 +00:00
Eric Biederman 8d54bd4471 - Remove include of device/chip.h
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1777 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-11 03:31:16 +00:00
Eric Biederman 624252450f - Delete unused funciton realloc
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1776 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-10 20:13:35 +00:00
Eric Biederman 26e32760f9 - Remove unused start_stop.h
This file died with the last round of cpu restructuring I just missed it earlier.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1775 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-10 20:11:15 +00:00
Eric Biederman 8bcb8a2ada - Don't use e7501 root_complex
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1774 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-10 18:32:20 +00:00
Eric Biederman ab49946a56 - Remove e7501 root_complex
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1773 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-10 18:31:31 +00:00
Ronald G. Minnich 52c2277a1b adl855pc support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1772 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-10 15:12:48 +00:00
Eric Biederman 132368b4c5 - Clean up the CPP output a little bit
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1771 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-09 08:59:23 +00:00
Eric Biederman a649a411d7 - Fix silly thinkos in that caused parsing problems in romcc.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1770 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-09 00:35:39 +00:00
Eric Biederman 7dd185c885 - Fix minor glitch in romcc where it would not return from a header file
if it had a preprocessor directive on the last line.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1769 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-09 00:05:42 +00:00
Yinghai Lu 12eb7bc5ad *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1768 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-08 21:16:16 +00:00
Eric Biederman 41203d9b77 - Romcc preprocessor bug fixes, (The code size went down about 350 lines.. :)
- Preprocessor constant expression evaluation is no long a special case so
  unsigned long values can not be used.
- Undefined macros are not converted to 0.  But a big warning is printed.
- Garbage at the of an #include directive is now done in tokens instead of
  in characters.
  This allows comments after an #include directive.
- Repaired a previously unnoticed regression in constant expression
  evaluation.  Logical expressions can now be evaluated again.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1767 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-08 09:31:09 +00:00
Stefan Reinauer dc9e6e35c4 add compiler from crosstool, too
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1766 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 23:19:46 +00:00
Yinghai Lu ad00d73998 *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1765 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 22:14:33 +00:00