treewide: Move list.h to commonlib

It is needed in order to move device_tree.c into commonlib in a
subsequent commit.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I16eb7b743fb1d36301f0eda563a62364e7a9cfec
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77968
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Maximilian Brune
2023-09-16 19:56:45 +02:00
committed by Jakub Czapiga
parent 366ceeef0f
commit a99b580c75
13 changed files with 25 additions and 17 deletions

View File

@@ -2,9 +2,13 @@
subdirs-y += bsd
tests-y += list-test
tests-y += rational-test
tests-y += region-test
list-test-srcs += tests/commonlib/list-test.c
list-test-srcs += src/commonlib/list.c
rational-test-srcs += tests/commonlib/rational-test.c
rational-test-srcs += src/commonlib/rational.c

View File

@@ -3,7 +3,7 @@
#include <tests/test.h>
#include <stdlib.h>
#include <string.h>
#include <list.h>
#include <commonlib/list.h>
struct test_container {
int value;

View File

@@ -9,7 +9,6 @@ tests-y += timestamp-test
tests-y += edid-test
tests-y += cbmem_console-romstage-test
tests-y += cbmem_console-ramstage-test
tests-y += list-test
tests-y += fmap-test
tests-y += imd_cbmem-romstage-test
tests-y += imd_cbmem-ramstage-test
@@ -74,9 +73,6 @@ cbmem_console-ramstage-test-stage := ramstage
cbmem_console-ramstage-test-srcs += tests/lib/cbmem_console-test.c
cbmem_console-ramstage-test-srcs += tests/stubs/console.c
list-test-srcs += tests/lib/list-test.c
list-test-srcs += src/lib/list.c
fmap-test-srcs += tests/lib/fmap-test.c
fmap-test-srcs += src/lib/fmap.c
fmap-test-srcs += tests/stubs/console.c