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/soc/intel/icelake/finalize.c | |
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/soc/intel/icelake/finalize.c')
-rw-r--r-- | src/soc/intel/icelake/finalize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/icelake/finalize.c b/src/soc/intel/icelake/finalize.c index 14dbc06810..bc8386abcc 100644 --- a/src/soc/intel/icelake/finalize.c +++ b/src/soc/intel/icelake/finalize.c @@ -1,17 +1,16 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <device/mmio.h> #include <bootstate.h> +#include <commonlib/console/post_codes.h> #include <console/console.h> -#include <console/post_codes.h> #include <cpu/x86/smm.h> +#include <device/mmio.h> #include <device/pci.h> #include <intelblocks/lpc_lib.h> #include <intelblocks/pcr.h> #include <intelblocks/pmclib.h> #include <intelblocks/tco.h> #include <intelblocks/thermal.h> -#include <spi-generic.h> #include <soc/p2sb.h> #include <soc/pci_devs.h> #include <soc/pcr_ids.h> @@ -19,6 +18,7 @@ #include <soc/smbus.h> #include <soc/soc_chip.h> #include <soc/systemagent.h> +#include <spi-generic.h> #define CAMERA1_CLK 0x8000 /* Camera 1 Clock */ #define CAMERA2_CLK 0x8080 /* Camera 2 Clock */ |