diff options
author | Ricardo Quesada <ricardoq@google.com> | 2021-07-16 16:39:28 -0700 |
---|---|---|
committer | Paul Fagerburg <pfagerburg@chromium.org> | 2021-08-04 15:15:51 +0000 |
commit | 470ca5714f523517087099317ba08ef5fe532ddc (patch) | |
tree | 270129296063224e8c99210121c0279e47082661 /src/lib | |
parent | 1b9ae1872635eb935b0f68a1a444cce550247339 (diff) |
Move post_codes.h to commonlib/console/
Move post_codes.h from include/console to
commonlib/include/commonlib/console.
This is because post_codes.h is needed by code from util/
(util/ code in different commit).
Also, it sorts the #include statements in the files that were
modified.
BUG=b:172210863
Signed-off-by: Ricardo Quesada <ricardoq@google.com>
Change-Id: Ie48c4b1d01474237d007c47832613cf1d4a86ae1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56403
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/hardwaremain.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c index a6ab66347e..2f782e7337 100644 --- a/src/lib/hardwaremain.c +++ b/src/lib/hardwaremain.c @@ -5,26 +5,26 @@ * C Bootstrap code for the coreboot */ -#include <adainit.h> #include <acpi/acpi.h> #include <acpi/acpi_gnvs.h> +#include <adainit.h> #include <arch/exception.h> +#include <boot/tables.h> #include <bootstate.h> -#include <console/console.h> -#include <console/post_codes.h> -#include <commonlib/helpers.h> #include <cbmem.h> -#include <version.h> +#include <commonlib/console/post_codes.h> +#include <commonlib/helpers.h> +#include <console/console.h> +#include <delay.h> #include <device/device.h> #include <device/pci.h> -#include <delay.h> -#include <stdlib.h> -#include <boot/tables.h> #include <program_loading.h> +#include <stdlib.h> +#include <thread.h> #include <timer.h> #include <timestamp.h> -#include <thread.h> #include <vendorcode/google/chromeos/gnvs.h> +#include <version.h> static boot_state_t bs_pre_device(void *arg); static boot_state_t bs_dev_init_chips(void *arg); |