Commit Graph

403 Commits

Author SHA1 Message Date
Uwe Hermann cbef76ecf3 Drop useless and partly even incorrect comments (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2578 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-04-01 20:00:32 +00:00
Uwe Hermann 195237f2e1 Coding style fixes (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2577 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-04-01 19:44:21 +00:00
Uwe Hermann 0d9d0bae8a Flashrom: Add support for the ICH7-DH southbridge (untested).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2575 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-03-31 19:48:38 +00:00
Stefan Reinauer 5445639f06 This is a trivial cosmetic fix. Without it, the error message might look like:
Image size doesnt match: Success

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2573 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-03-22 14:51:45 +00:00
Ed Swierk 681d7887f4 The attached patch adds additional PCI IDs for MCP55 LPC devices to
flashrom. 0x0360 is needed to support the DFI LANParty NF590SLI, and I
am deducing the others based on pci_ids.h in the Linux kernel.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2570 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-03-06 23:49:49 +00:00
Luc Verhaegen 47ce57acd7 flashrom: Fix wrong VT8235 flash enable failed warning.
* Fix harmless but worrying warning where the return value of
  pci_write_byte is misinterpreted.
* Hash together VT8231 and VT8235 code into VT823x. VT8231 is the better
  implementation, but lacked the write protect disable code that's
  apparently needed for VT8235.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2568 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-03-02 22:16:38 +00:00
David Hendricks 53b9c1e798 Add Winbond W39V080A support to Flashrom.
Signed-off-by: David Hendricks <david.hendricks@gmail.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2565 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-03-02 02:25:36 +00:00
Ward Vandewege 811f5c10ee Add support for the Gigabyte m57sli-s4 board to flashrom.
Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2564 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-02-28 21:50:15 +00:00
Ed Swierk 3ecf5002b3 Currently the flashrom Makefile tries to detect whether pciutils-devel
is installed, but the test also fails if zlib-devel is missing. This
patch changes the error message accordingly.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2553 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-02-16 14:36:12 +00:00
Uwe Hermann 4020dd5ac5 Include src/include/boot/linuxbios_tables.h in the flashrom source
tree to make it compilable independant of the LinuxBIOS source code.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2551 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-02-06 19:53:51 +00:00
Adam Kaufman 4f9cf1373c This patch is a rework of Adam Kaufman's Solaris patch.
* flash.h:
  - add a license header
  - add system definitions
* flash_enable.c:
  - put io priviledge access in one single place
  - add includes required for Solaris.
* lbtable.c, flash_rom.c, 82802ab.c:
  - use MEM_DEV so it works on Solaris
* sst49lfxxxc.c, sharplhf00l04.c, sst_fwhub.c, 82802ab.c
  - drop unneeded include to sys/io.h
* Makefile
  - adapt to Solaris specifics.

Signed-off-by: Adam Kaufman <adam.kaufman@pinnacle.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Adam Kaufman <adam.kaufman@pinnacle.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2550 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-02-06 19:47:50 +00:00
Alan Carvalho de Assis 097d9a2d57 Add support for the SST 49LF160C.
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2539 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-01-27 13:39:06 +00:00
Uwe Hermann 8e4ee4f504 Delete superfluous and incorrect comment (trivial).
See also http://www.openbios.org/pipermail/linuxbios/2007-January/018042.html.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2538 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-01-24 11:09:03 +00:00
Yinghai Lu 298f89850d Add support for the SST-49LF004C, SST-49LF008C, SST-49LF016C in flashrom.
Also add suport for NVIDIA MCP55.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-01-22 20:21:17 +00:00
Stefan Reinauer 6a5bc46579 trivial enhancement
* add fintek superio support
* add license header
* add clean target in makefile
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2536 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-01-17 10:57:42 +00:00
Uwe Hermann c2c8646584 Improve flashrom description in the manpage a bit (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2531 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-12-20 14:59:56 +00:00
Uwe Hermann 7adaa11dcf Update flashrom requirements in the README (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2530 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-12-20 14:53:22 +00:00
Stefan Reinauer 8bb1dc5c77 ouch. always abuild with payloads! trivial fix.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2528 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-12-15 11:55:58 +00:00
Uwe Hermann abad5ef854 Add an install target to the flashrom Makefile which installs flashrom
into /usr/local/bin. Closes #54.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2524 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-12-14 00:59:41 +00:00
Uwe Hermann fe6d118b08 Update list of supported flash chips in the flashrom README (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2518 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-12-04 08:20:40 +00:00
Uwe Hermann 6104bd1634 List the supported flash chips and southbridges in the flashrom
README file (trivial).

Closes #52.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2517 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-12-04 08:15:47 +00:00
Eric Biederman 5718338edb fix romcc preprocessor bug
Signed-off-by: Eric Biederman <ebiederman@lnxi.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2515 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-12-02 16:48:48 +00:00
Uwe Hermann 98b75f0e24 Fix location of the bug tracker in the manpage (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-22 15:27:29 +00:00
Giampiero Giancipoli 3ab63e1401 apply patch from Giampiero Giancipoli <gianci@email.it>:
Fixed write_page_write_jedec() in jedec.c. Added a check-reprogram loop
in the same function, to come around the high page write failure rate on
some boards.

This patch includes the changes suggested by Ron to simplify the control
flow.

It also includes trivial changes by me to make flashrom build on newer 
systems (libpci needs libz now). I also made a small type case compile fix
and proper return code handling in one or two places.

Signed-off-by: Giampiero Giancipoli <gianci@email.it>
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2505 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-22 00:29:51 +00:00
Stefan Reinauer 440d6f9f8a Add support for ASD AE49F2008
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de> (trivial patch)


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2504 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-21 23:51:08 +00:00
Stefan Reinauer 3a998642f5 flashrom: Only write the flash if the image has the same size
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2503 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-21 23:48:51 +00:00
Uwe Hermann 9e2019200f Rename SM_ID to SYNCMOS_ID (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2502 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-21 15:09:05 +00:00
Uwe Hermann 71d310fa9e Add support for the SyncMOS S29C51001T, S29C51004T, and S29C31004T
flash chips to flashrom (closes: #50).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2501 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-21 15:02:27 +00:00
Uwe Hermann d083e7927e Cosmetic fixes and typos (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2500 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-20 20:32:35 +00:00
Giampiero Giancipoli 0eb7424004 Support for the 256K SyncMos S29C51002T flash.
Signed-off-by: Giampiero Giancipoli <gianci@email.it>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2499 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-20 20:03:07 +00:00
Stefan Reinauer ca6312010d * fix the automatic build system by compressing payloads if possible
and leaving enough room for a real payload (not /dev/null)

  This is a wonderful example why "uses" sucks.

* add Config-abuild.lb for those boards that dont build with 
  the default settings and a real payload:
  arima/hdama, amd/quartet, amd/serengeti_cheetah, ibm/e326

* if lzma is installed and a real payload is used, try compressing
  it. 

* fix a small bug in "abuild --help"

This patch is acked by me because its due to infrastructural changes only.
Flames welcome.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2496 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-10 13:30:28 +00:00
Stefan Reinauer f7980d8941 Instead of checking the first byte only, the whole part is checked now. This
will detect any improper erase, closes #31
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de> 


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2494 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-07 13:48:46 +00:00
Uwe Hermann c65113cec7 Fix some code comments of the Intel PIIX4/PIIX4E/PIIX4M code.
Add detailed instructions on how and where to get the datasheet,
its name, and order number (Closes #34).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> 
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2493 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-07 11:16:21 +00:00
Stefan Reinauer 10fd79ae81 Support for VIA VT82C686 in flashrom utility (trivial)
closes #30
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2492 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-07 10:22:20 +00:00
Uwe Hermann 918a7cf8e4 Fix bug in 'sed' invocation in abuild, which causes build errors in
certain situations (Closes #22, refs #14).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2491 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-06 10:51:15 +00:00
Uwe Hermann bdb50fe40a Add support for Intel PIIX4/PIIX4E/PIIX4M-based mainboards to flashrom.
Tested on real hardware, reading, detecting and writing various chips works.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2489 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-11-05 18:26:08 +00:00
Stefan Reinauer 700b38a0d5 small tracker test (trivial change). closes #3
fix bug report address
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de> 


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2481 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-28 16:03:37 +00:00
Stefan Reinauer 0caddbd4fe Small tracker test (trivial change). closes #3
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2480 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-28 16:00:24 +00:00
Stefan Reinauer 733681583c enhance web page (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Closes #3


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2475 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-25 19:08:12 +00:00
Stefan Reinauer 3a1405725e support submitting tests to the test system in abuild. initial support.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Closes #3


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2474 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-25 19:02:34 +00:00
stepan 107b8feb68 get rid of the border.
Signed-Off-By: stepan@coresystems.de


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2465 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-20 22:21:18 +00:00
Stefan Reinauer c4225c8452 add proper licensing information. thanks to Uwe Hermann.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2463 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-19 19:08:00 +00:00
Stefan Reinauer 2132f1a605 fix from Uwe Hermann: updated patch to fix a wiki syntax bug in the output...
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2462 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-19 19:06:28 +00:00
Stefan Reinauer 0a3f60775b add xsl stylesheet for wiki table generation
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2458 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-17 20:58:47 +00:00
Stefan Reinauer c1c3fdc79f add ADLO to v2
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2457 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-14 21:35:30 +00:00
Stefan Reinauer 5ed51d1933 * add vt8237 support (Uwe Hermann)
* add more MCP51 support (me)


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2456 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-14 21:04:49 +00:00
Stefan Reinauer aa8e3d409f here's a small patch to add support for the SST 49LF020A to flashrom.
by Uwe Hermann <uwe@hermann-uwe.de>
X-Signed-Off-By: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2450 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-07 22:59:03 +00:00
Stefan Reinauer b6a0a9fb8a Tiny patch to show the size of the detected flash part
from Uwe Hermann <uwe@hermann-uwe.de>
X-Signed-Off-By: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2449 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-07 00:23:51 +00:00
Stefan Reinauer f694db9380 Fix flashrom for sst49lf080a and small print bug,
by Roman Kononov <kononov195-lbl@yahoo.com>.
X-Signed-Off-By: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2448 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-10-07 00:21:13 +00:00
Stefan Reinauer 2e3757d11c rename abuild.sh to abuild.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2434 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-09-25 09:15:52 +00:00
Stefan Reinauer 0bece04105 abuild manpage and other fixes from Uwe Hermann. Thank you!
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2431 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-09-21 13:09:22 +00:00
Stefan Reinauer 50f84bdea8 run preprocessor on hand-crafted config files in abuild, too
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2418 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-09-15 23:14:37 +00:00
Stefan Reinauer 7fe2b7cd5c add option to build autobuild images with real payloads
instead of /dev/null. 



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2417 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-09-15 17:00:11 +00:00
Stefan Reinauer 94b17c6a3c add romcc manpage from Uwe Hermann
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2401 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-09-08 17:44:42 +00:00
Stefan Reinauer e918a3ab00 Add patch from Uwe Hermann to support more ICH southbridges
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2395 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-09-06 15:48:48 +00:00
Stefan Reinauer 051427c40a Print a warning if southbridge is not known to flashrom.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2390 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-08-25 19:21:42 +00:00
Stefan Reinauer 689c144839 Removing $Id$ tags as they have no meaning in SVN
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2386 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-08-23 14:33:54 +00:00
Stefan Reinauer 60902ed3a1 drop extensions directory. it has never been used.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2382 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-08-22 13:21:39 +00:00
Richard Smith 273595c6f7 - fix dependency rule for Makefile and Makefile.settings
The make dependency rule for Makefile and Makefile.settings was completely broken.  No way it ever worked.
OLPC buildrom flushed out this issue.

If you updated the Config.lb file in your target/<mfg>/<mainboard> directory and then switched to 
target/<mfg>/<mainboard>/<target> and ran 'make' you would get a permission denied error due to the 
make file trying to run 'config.py' directly rather than 'python config.py'
We never saw this because we always run target/buildtarget <target> and that sets up everything
correctly.



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2373 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-08-11 06:49:39 +00:00
Stefan Reinauer 9327d22641 some documentation updates by Uwe and some smaller ones by me.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2358 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-08-03 10:49:09 +00:00
Stefan Reinauer 4278e99383 Add support for SST39SF040 and SST39SF010A
apply C.-D. Hailfinger's patch for Winbond part (untested)


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2354 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-07-31 23:37:17 +00:00
Stefan Reinauer e534daa05a add flashrom manpage from Uwe Hermann
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2349 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-07-27 23:29:02 +00:00
Josiah England 35befb75ea New analysis tool with preliminary source usage information gathering.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2344 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-07-20 15:35:04 +00:00
Scott Tsai, scott.tsai e32243a9b1 From: Scott Tsai, scott.tsai <AT> arima.com.tw
Tested on my home Shuttle SB51G box.
data sheet:
http://www.alldatasheet.com/datasheet-pdf/pdf/47674/WINBOND/W49V002FAP.html



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2341 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-07-19 15:13:21 +00:00
Stefan Reinauer 75d1b24537 add support for EFST F49B002UA (untested)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2336 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-06-30 20:07:50 +00:00
Stefan Reinauer 0a683fa9c7 create valid xmlfiles that pass xmllint
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2333 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-06-26 16:51:06 +00:00
Stefan Reinauer 6472a0e274 add support for PMC 49FL002 as used in the RD1-PMC2
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2332 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-06-25 09:56:45 +00:00
Stefan Reinauer f560285bd5 new flash part
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2321 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-06-14 15:58:41 +00:00
Stefan Reinauer 192b7bc445 add full xml logging to abuild to work on the complete information
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2314 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-05-27 00:22:02 +00:00
Stefan Reinauer ead73689db add automatic payload compression method to LinuxBIOS
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2288 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-05-02 12:05:13 +00:00
Richard Smith ff8c08e257 Adds support for understanding bus:dev.func to the -d option of testbios
You may specify '-d bus:dev.func' or '-d dev.func'.  If you do '-d <value>'
then the behavior reverts back to the orginal where <value> is taken to be
the 16-bit packed notation of busdevfn.

It also add a sanity check to try and detect when people have not specified
the -d option and they should have, or when the -d bus:dev.fn evals to a packed
busdevfn of 0x0000.



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2271 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-04-23 19:16:09 +00:00
Stefan Reinauer 4b539d78ab * https://openbios.org/roundup/linuxbios/issue96 - SST_49LF040B flash support for flashrom
* https://openbios.org/roundup/linuxbios/issue99 - add ICH4-M support to flashrom

both from scott.tsai <AT> arima.com.tw



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2230 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-31 11:36:06 +00:00
Stefan Reinauer 1f64c13381 * support for Winbond W39V040A
* Support for ATI SB400 (RS480 chipset)
* Support for Intel ICH7 (from Scott Tsai, scott.tsai <AT> arima.com.tw)


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-31 11:26:55 +00:00
Stefan Reinauer a11e6cfd92 compilation fix for gcc 4.0.2 (SUSE10)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2220 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-20 21:37:54 +00:00
Stefan Reinauer e2632fdbb9 redo ts5300 auto.c
add ts5300 flag as comment in flashrom utility Makefile


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2215 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-19 22:30:42 +00:00
Stefan Reinauer 677267a82a small ts5300 update, fix endian problem in dummmcr.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2213 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-18 00:10:29 +00:00
Stefan Reinauer f4001cd8a7 update dumpmmcr.c utility
another flash chip that doesn't clog the serial line


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2210 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-17 22:35:56 +00:00
Stefan Reinauer ccce5dd490 - speed up flash verification by only printing 1 of 4096 addresses
- support for flashing technologic system ts5300 SBC (needs -DTS5300 in
  the makefile)



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2205 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-16 16:57:41 +00:00
Stefan Reinauer 9b107715f9 make am29f040b driver more solid by printing every 4096th flash address.
This fixes the timing when flashing over a serial console.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2204 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-16 16:46:19 +00:00
Stefan Reinauer f3ecf106fa support for Am29F016D
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2203 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-16 16:44:07 +00:00
Stefan Reinauer 76ce5deb54 dump mmcr registers on Elan sc520
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2202 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-16 00:52:58 +00:00
Ronald G. Minnich c994c973c6 Fix for nehemiah
other fixes for gx2 ram init. 

support for sharplfg00l04 -- not working yet.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2197 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-14 19:58:14 +00:00
Ronald G. Minnich 74f36096ae a few new items and mods for ollie
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2189 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-03-01 16:11:05 +00:00
Ronald G. Minnich 3b9591dd8b added support for ICH5
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2183 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-02-24 17:10:10 +00:00
Stefan Reinauer 30a1175ec8 new flashchip support by Leon Woestenberg <leonw@mailcan.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2182 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-02-24 13:47:26 +00:00
Ronald G. Minnich 02bb7892fe added sharp flash
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2180 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-02-23 17:16:44 +00:00
Ronald G. Minnich 24c541ba94 oops, added a binary
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2179 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-02-22 22:12:39 +00:00
Ronald G. Minnich 394e7c416b added new superio. added new simple util.
modified dell 1850


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2178 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-02-22 22:12:21 +00:00
Stefan Reinauer 7db27ee648 gcc 4.1 fixes.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2177 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-02-19 14:43:48 +00:00
Ronald G. Minnich a00719b2f2 add a tinylinux config file
Make the error in buildrom a lot more informative -- how big are the
things that did not fit? it now tells you.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2162 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-01-19 18:11:21 +00:00
Stefan Reinauer 27897c7adc pass on return values
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2151 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2006-01-04 16:42:57 +00:00
Stefan Reinauer 2850b5eb20 fix buildrom compiler warnings with gcc4
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2148 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-29 14:55:09 +00:00
Stefan Reinauer 967c4c4a51 redo image checking in conversion case. Please update to this
release if you are using flashrom.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2147 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-18 18:40:46 +00:00
Stefan Reinauer 98de8cdbfe * make -v switch print debug messages.
* do case insensitive comparison of mainboards, as wished on the
  mailinglist


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2146 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-18 16:41:10 +00:00
Stefan Reinauer e38a193720 oops. no false positives please.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2133 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-04 20:42:37 +00:00
Stefan Reinauer d8913a48d0 add compilation time to abuild.sh
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2132 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-04 20:35:56 +00:00
Stefan Reinauer 20c6f631aa abuild changes to allow ignoring dummy directories and injecting architectures.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2128 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-04 00:00:15 +00:00
Stefan Reinauer 57efb8eeb9 fix up abuild.sh to new requirements. This might leave some builds
broken.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2123 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-02 23:44:40 +00:00
Stefan Reinauer 7ce8c54e2b 1201_ht_bus0_dev0_fidvid_core.diff
https://openbios.org/roundup/linuxbios/issue41
Lord have mercy upon us.




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2118 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-02 21:52:30 +00:00
Stefan Reinauer c2455dc0ce issue 40, make flashrom utility build process more solid.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2117 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-01 16:19:24 +00:00
Stefan Reinauer 70597f96c4 mention build dependencies in Makefile.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2114 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-12-01 10:51:08 +00:00
Li-Ta Lo 1a4f0707bb flasrom update from Stefan, resovle issue 21
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2111 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-11-26 21:55:36 +00:00
Stefan Reinauer b7627bca65 fix ron's issues with abuild.sh (don't hit me for not doing an issue tracker entry)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2109 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-11-26 16:29:08 +00:00
Stefan Reinauer 7d5c7a7f17 rename the directory to match the program name
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2102 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-11-24 10:45:34 +00:00
Ronald G. Minnich ebc692873d fix so it can use a pre-built test config.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2094 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-11-23 15:41:10 +00:00
Stefan Reinauer ddab65fda4 set to executable
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2087 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-11-15 14:37:07 +00:00
Stefan Reinauer 0d304c18e2 comment and unify lb_uint64 handling as discussed on the mailinglist
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2086 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-11-14 23:04:55 +00:00
Stefan Reinauer 8af7998bac add utility to dump linuxbios table from v1
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2085 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-11-12 20:58:26 +00:00
Jason Schildt 984bab5740 - Fixed fat-finger typo enable - enabled
- Fixed abuild.sh to use larger size for ROM_IMAGE_SIZE.



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2079 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-10-25 22:24:46 +00:00
Stefan Reinauer 6ab43fcc48 Updating FSF address in the code.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2051 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-10-05 18:17:45 +00:00
Steven J. Magnani fc8a3d2c35 Remove unnecessary #include that prevents cross-compilation with gcc 3.4.3 under Cygwin.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2014 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-09-09 20:05:03 +00:00
Jason Schildt 043b409904 Undoing all HDAMA commits from LNXI from r2005->2003
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2006 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-08-10 15:16:44 +00:00
Jason Schildt 27b8511880 - reverting back to original romcc.c before hdama checkin broke all
other builds.



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2005 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-08-10 14:31:52 +00:00
Jason Schildt 6e44b422b3 - Merge from linuxbios-lnxi (Linux Networx repository) up to public tree.
- Special version for HDAMA rev G with 33Mhz test and reboot out.
        - Support for CPU rev E, dual core, memory hoisting,
        - corrected an SST flashing problem. Kernel bug work around (NUMA)
        - added a Kernel bug work around for assigning CPU's to memory.

 r2@gog:  svnadmin | 2005-08-03 08:47:54 -0600
 Create local LNXI branch
 r1110@gog:  jschildt | 2005-08-09 10:35:51 -0600
 - Merge from Tom Zimmerman's additions to the hdama code for dual core
   and 33Mhz fix.
 
 
 r1111@gog:  jschildt | 2005-08-09 11:07:11 -0600
 Stable Release tag for HDAMA-1.1.8.10 and HDAMA-1.1.8.10LANL
 r1112@gog:  jschildt | 2005-08-09 15:09:32 -0600
 - temporarily removing hdama tag to update to public repository.  Will
   reset tag after update.
 
 


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2004 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-08-09 21:53:07 +00:00
Li-Ta Lo 9528b8883e GCC4 fix
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1989 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-08-04 14:59:33 +00:00
Li-Ta Lo 053d722007 bug fix from Jonathan McDowell <noodles@earth.li>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1988 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-08-03 15:04:53 +00:00
Yinghai Lu 13f1c2af8b eric patch
1. x86_setup_mtrr take address bit.
        2. generic ht, pcix, pcie beidge...
        3. scan bus and reset_bus
        4. ht read ctrl to decide if the ht chain
           is ready
        5. Intel e7520 and e7525 support
        6. new ich5r support
        7. intel sb 6300 support.

yhlu patch
	1. split x86_setup_mtrrs to fixed and var
	2. if (resource->flags & IORESOURCE_FIXED ) return; in device.c pick_largest_resource
	3. in_conherent.c K8_SCAN_PCI_BUS


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1982 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-07-08 02:49:49 +00:00
arch import user (historical) 98d0d30f6b Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-30
Creator:  Yinghai Lu <yhlu@tyan.com>

Nvidia Ck804 support


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1946 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-07-06 17:13:46 +00:00
arch import user (historical) 8c8cbac3c3 Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-12
Creator:  Stefan Reinauer <stepan@openbios.org>

Add timestamp to mkOptionList.py

mkOptionList.py: add timestamp


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1930 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-07-06 16:57:34 +00:00
arch import user (historical) 3d8a7d2972 cleaning cvs leftovers
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1919 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-07-06 15:39:11 +00:00
Stefan Reinauer 8ab193b52f larger default size
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1912 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-02-08 11:53:25 +00:00
Stefan Reinauer 1858844647 Make building with different libpci versions easier. The defines might go into
official libpci for 2.2


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1878 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-01-17 11:08:08 +00:00
Li-Ta Lo 8b0356c2c9 use Paulo's reduced version
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1853 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-01-11 03:18:39 +00:00
Li-Ta Lo 3678ad8e38 *** empty log message ***
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1852 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-01-11 02:48:22 +00:00
Stefan Reinauer a734f53721 adapt to freebios v2. still doesnt handle comments correctly.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1838 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2005-01-04 15:16:19 +00:00
Ronald G. Minnich a7dd869706 mptable tool
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1817 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-10 16:18:43 +00:00
Li-Ta Lo 257a58b60d added -E option for chip erase, remove duplicated code
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1815 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-12-08 20:10:01 +00:00
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
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
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 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 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 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 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
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
Eric Biederman 692f2c7aed - First pass at getting the powerpc ports to compile
The static device tree is not built properly at all yet, but at least we get through it.
  FIXME (What is the proper way to handle add in boards?)
- Add generic div64 support and ppc div64 support
- Fix abuild so it properly generates the CC line when cross compiling.
- Add one more possible ppc cross compiler target


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1762 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 19:55:06 +00:00
Stefan Reinauer 2f285ae709 remove nasty workaround, include echo in function again :)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1760 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 14:06:24 +00:00
Stefan Reinauer 173f13b81f add debug function
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1759 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 11:57:00 +00:00
Stefan Reinauer d4c6846f41 ...
add option so it's possible to ignore broken builds


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1758 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 11:47:41 +00:00
Eric Biederman 1a003244d6 - Add another possible powerpc cross compiler prefix
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1757 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 11:41:26 +00:00
Eric Biederman ca883c915a - More fixes...
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1756 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 11:24:57 +00:00
Eric Biederman 709850a21b - Ensure every copy of Options.lb uses:
CROSS_COMPILE
  CC
  HOSTCC
  OBJCOPY


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1755 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 10:48:04 +00:00
Eric Biederman d0805e0b55 - Ensure the all target is the first commands in the makefile....
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1754 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 09:03:47 +00:00
Eric Biederman 1c1b858f0f - Put the rule for the Makefile at the bottom of the makefile!
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1753 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 08:57:09 +00:00
Eric Biederman c149210462 - In the makefile header get the name of the Makefile correct
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1752 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2004-11-05 08:50:54 +00:00