mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-03 23:13:18 +02:00
hwaccess: move x86 port I/O related code into own files
Allow port I/O related code to be compiled independent from memory mapping functionality. This enables for a better selection of needed hardware access types. Change-Id: I372b4a409f036da766c42bc406b596bc41b0f75a Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/60110 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
88c871e74c
commit
49d758698a
@ -29,8 +29,6 @@
|
||||
#include <sys/io.h>
|
||||
#endif
|
||||
|
||||
#define __FLASHROM_HAVE_OUTB__ 1
|
||||
|
||||
/* for iopl and outb under Solaris */
|
||||
#if defined (__sun)
|
||||
#include <sys/sysi86.h>
|
||||
@ -38,6 +36,8 @@
|
||||
#include <asm/sunddi.h>
|
||||
#endif
|
||||
|
||||
int rget_io_perms(void);
|
||||
|
||||
/* Clarification about OUTB/OUTW/OUTL argument order:
|
||||
* OUT[BWL](val, port)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user