coreboot/src/drivers
Paul Menzel 4fa9c54255 BACKPORT: x86 I/O APIC: Make functions io_apic_{read,write}() public
Some LPC initialiation can save some lines of code when being able
to use the functions `io_apic_read()` and `io_apic_write()`.

As these two functions are now public, remove them from the generic
driver as otherwise we get a build errors like the following.

    […]
    Building roda/rk9; i386: ok, using i386-elf-gcc
    Using payload /srv/jenkins/payloads/seabios/bios.bin.elf
      Creating config file... (blobs, ccache) ok;  Compiling image on 4 cpus in parallel .. FAILED after 12s!
    Log excerpt:
    coreboot-builds/roda_rk9/arch/x86/lib/ramstage.o: In function `io_apic_write':
    /srv/jenkins/.jenkins/jobs/coreboot-gerrit/workspace/src/arch/x86/lib/ioapic.c:32: multiple definition of `io_apic_write'
    coreboot-builds/roda_rk9/drivers/generic/ioapic/ramstage.o:/srv/jenkins/.jenkins/jobs/coreboot-gerrit/workspace/src/drivers/generic/ioapic/ioapic.c:22: first defined here
    collect2: error: ld returned 1 exit status
    make: *** [coreboot-builds/roda_rk9/generated/coreboot_ram.o] Error 1
    make: *** Waiting for unfinished jobs....
    […]

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/3180
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
(cherry picked from commit ac75bc682b)

BUG=chrome-os-partner:28234
BRANCH=None
TEST=emerge-rambi coreboot

Change-Id: Ie829995e842c33ea82920799430c3e9f813be3da
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/196262
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2014-04-23 02:44:28 +00:00
..
ati Get rid of drivers class 2012-11-27 22:00:49 +01:00
dec GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
elog elog: Isolate some x86-isms 2014-04-18 03:07:06 +00:00
emulation Get rid of drivers class 2012-11-27 22:00:49 +01:00
generic BACKPORT: x86 I/O APIC: Make functions io_apic_{read,write}() public 2014-04-23 02:44:28 +00:00
i2c i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
ics Get rid of drivers class 2012-11-27 22:00:49 +01:00
intel Haswell/falco/peppy/slippy: continue to clean up FUI. 2013-12-19 01:17:37 +00:00
ipmi Get rid of drivers class 2012-11-27 22:00:49 +01:00
maxim i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
oxford Rename cpu/x86/car.h to arch/early_variables.h 2013-07-30 13:40:23 -07:00
parade i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
pc80 tpm: Clean up I2C TPM driver 2013-11-11 23:47:09 +00:00
realtek GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
sil Get rid of drivers class 2012-11-27 22:00:49 +01:00
spi spi_flash: Move (de-)assertion of /CS to single location 2014-04-19 05:44:10 +00:00
ti i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
trident Get rid of drivers class 2012-11-27 22:00:49 +01:00
Kconfig parade: Add a driver for the parade ps8625. 2013-07-03 18:23:07 -07:00
Makefile.inc parade: Add a driver for the parade ps8625. 2013-07-03 18:23:07 -07:00