diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-12-05 08:48:50 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-10 05:07:14 +0000 |
commit | 8823ba167318e87f74717d0c32e29b58a1ed3eca (patch) | |
tree | a63711a64d2efb526a86b63b61ce15413a5f9caf /src/soc/amd/common/block/psp | |
parent | 8d1ef734a220d2cbb297a4f9485c0364c5a76071 (diff) |
treewide: Include <device/mmio.h> instead of <arch/mmio.h>
<device/mmio.h>` chain-include `<arch/mmio.h>:
https://doc.coreboot.org/contributing/coding_style.html#headers-and-includes
Also sort includes while on it.
Change-Id: Ie62e4295ce735a6ca74fbe2499b41aab2e76d506
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70291
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/common/block/psp')
-rw-r--r-- | src/soc/amd/common/block/psp/psb.c | 5 | ||||
-rw-r--r-- | src/soc/amd/common/block/psp/psp_efs.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/soc/amd/common/block/psp/psb.c b/src/soc/amd/common/block/psp/psb.c index 58b957d4d7..be5d43b40d 100644 --- a/src/soc/amd/common/block/psp/psb.c +++ b/src/soc/amd/common/block/psp/psb.c @@ -1,12 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/mmio.h> -#include <bootstate.h> #include <amdblocks/reset.h> #include <amdblocks/smn.h> +#include <bootstate.h> #include <console/console.h> #include <cpu/amd/msr.h> +#include <device/mmio.h> #include <types.h> + #include "psp_def.h" #define PSB_STATUS_OFFSET 0x10994 diff --git a/src/soc/amd/common/block/psp/psp_efs.c b/src/soc/amd/common/block/psp/psp_efs.c index eacd5f637c..709273e8d8 100644 --- a/src/soc/amd/common/block/psp/psp_efs.c +++ b/src/soc/amd/common/block/psp/psp_efs.c @@ -1,10 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <amdblocks/psp_efs.h> -#include <arch/mmio.h> #include <assert.h> #include <boot_device.h> #include <commonlib/region.h> +#include <device/mmio.h> #include <types.h> static struct embedded_firmware *efs; |