tests: Move x86 I/O functions to include/mock/arch/io.h

Move th x86 I/O functions declarations from tests mocks to the mock
architecture io.h. This will make x86 I/O-dependent tests simpler,
because the x86_io.h from mocks will not have to be included manually.

Change-Id: Ie7f06c992be306d2523f2079bc90adf114b93946
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58881
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Jakub Czapiga
2021-11-03 07:12:24 +00:00
committed by Felix Held
parent 19b16a089e
commit 111de557ee
4 changed files with 17 additions and 32 deletions

View File

@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <libpayload.h>
#include <mocks/x86_io.h>
/* Include source to gain access to private defines */
#include "../drivers/speaker.c"