Attention is currently required from: Hsuan-ting Chen, Jakub Czapiga, Peter Marheine.

Jakub Czapiga uploaded patch set #2 to this change.

View Change

hwaccess_x86_io: Fix Android compilation with bionic libc

Recently Android Bionic LibC got sys/io.h. Use this header to access
ioperm(). Use Assembly for I/O, as Bionic does not have inb(), outb(),
etc.

Tested on Android 14 by adding flashrom and pciutils as external repositories, adding Android.bp blueprints (Android specialized build system - Soong), building, running and accessing (read, erase, write) SPI flash on x86 device.

Change-Id: Id80b83c2718679c925ed6ddfe33cbe837eea0429
Signed-off-by: Jakub Czapiga <czapiga@google.com>
---
M hwaccess_x86_io.c
1 file changed, 4 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/33/83133/2

To view, visit change 83133. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: Id80b83c2718679c925ed6ddfe33cbe837eea0429
Gerrit-Change-Number: 83133
Gerrit-PatchSet: 2
Gerrit-Owner: Jakub Czapiga <czapiga@google.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Hsuan-ting Chen <roccochen@google.com>
Gerrit-Reviewer: Peter Marheine <pmarheine@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Jakub Czapiga <czapiga@google.com>
Gerrit-Attention: Hsuan-ting Chen <roccochen@google.com>
Gerrit-Attention: Peter Marheine <pmarheine@chromium.org>