diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-03-21 11:10:03 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-04-06 16:09:12 +0000 |
commit | bf0970e762a6611cef06af761bc2dec068d439bb (patch) | |
tree | 44d4854b7027794bc5a76b44a4e8fd07935cd60c /src/southbridge/amd | |
parent | 161eafb0fb9563decbb953d5dccac4762b770e0c (diff) |
src: Use include <delay.h> when appropriate
Change-Id: I23bc0191ca8fcd88364e5c08be7c90195019e399
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32012
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: David Guckian
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/hda.c | 3 | ||||
-rw-r--r-- | src/southbridge/amd/agesa/hudson/imc.c | 1 | ||||
-rw-r--r-- | src/southbridge/amd/agesa/hudson/sata.c | 3 | ||||
-rw-r--r-- | src/southbridge/amd/agesa/hudson/sd.c | 2 | ||||
-rw-r--r-- | src/southbridge/amd/agesa/hudson/smihandler.c | 5 | ||||
-rw-r--r-- | src/southbridge/amd/pi/hudson/hda.c | 2 | ||||
-rw-r--r-- | src/southbridge/amd/pi/hudson/imc.c | 1 | ||||
-rw-r--r-- | src/southbridge/amd/pi/hudson/sata.c | 3 | ||||
-rw-r--r-- | src/southbridge/amd/pi/hudson/sd.c | 2 | ||||
-rw-r--r-- | src/southbridge/amd/pi/hudson/smihandler.c | 5 |
10 files changed, 10 insertions, 17 deletions
diff --git a/src/southbridge/amd/agesa/hudson/hda.c b/src/southbridge/amd/agesa/hudson/hda.c index 1cd8953c17..2368bb2d4f 100644 --- a/src/southbridge/amd/agesa/hudson/hda.c +++ b/src/southbridge/amd/agesa/hudson/hda.c @@ -17,9 +17,8 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> -#include <delay.h> -#include "hudson.h" +#include "hudson.h" static void hda_init(struct device *dev) { diff --git a/src/southbridge/amd/agesa/hudson/imc.c b/src/southbridge/amd/agesa/hudson/imc.c index 68ff7fb6e3..9ba07316e8 100644 --- a/src/southbridge/amd/agesa/hudson/imc.c +++ b/src/southbridge/amd/agesa/hudson/imc.c @@ -15,7 +15,6 @@ #include "imc.h" #include <device/mmio.h> -#include <delay.h> #include <Porting.h> #include <AGESA.h> #include <amdlib.h> diff --git a/src/southbridge/amd/agesa/hudson/sata.c b/src/southbridge/amd/agesa/hudson/sata.c index 75ec43997e..f6d3689231 100644 --- a/src/southbridge/amd/agesa/hudson/sata.c +++ b/src/southbridge/amd/agesa/hudson/sata.c @@ -14,12 +14,11 @@ */ #include <device/device.h> -#include <delay.h> #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> -#include "hudson.h" +#include "hudson.h" static void sata_init(struct device *dev) { diff --git a/src/southbridge/amd/agesa/hudson/sd.c b/src/southbridge/amd/agesa/hudson/sd.c index ec447ef20e..cc9470e04b 100644 --- a/src/southbridge/amd/agesa/hudson/sd.c +++ b/src/southbridge/amd/agesa/hudson/sd.c @@ -14,10 +14,10 @@ */ #include <device/device.h> -#include <delay.h> #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> + #include "hudson.h" static void sd_init(struct device *dev) diff --git a/src/southbridge/amd/agesa/hudson/smihandler.c b/src/southbridge/amd/agesa/hudson/smihandler.c index a87b75da00..1b9442b1b6 100644 --- a/src/southbridge/amd/agesa/hudson/smihandler.c +++ b/src/southbridge/amd/agesa/hudson/smihandler.c @@ -19,12 +19,11 @@ */ #include <arch/io.h> +#include <cpu/x86/smm.h> + #include "hudson.h" #include "smi.h" -#include <cpu/x86/smm.h> -#include <delay.h> - #define SMI_0x88_ACPI_COMMAND (1 << 11) enum smi_source { diff --git a/src/southbridge/amd/pi/hudson/hda.c b/src/southbridge/amd/pi/hudson/hda.c index d5c92b4608..9cdc1b4cd7 100644 --- a/src/southbridge/amd/pi/hudson/hda.c +++ b/src/southbridge/amd/pi/hudson/hda.c @@ -17,7 +17,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> -#include <delay.h> + #include "hudson.h" static const unsigned short pci_device_ids[] = { diff --git a/src/southbridge/amd/pi/hudson/imc.c b/src/southbridge/amd/pi/hudson/imc.c index 461d7b41f8..9ea8172af5 100644 --- a/src/southbridge/amd/pi/hudson/imc.c +++ b/src/southbridge/amd/pi/hudson/imc.c @@ -19,7 +19,6 @@ #include <device/mmio.h> #include <device/pci_ops.h> #include <device/device.h> -#include <delay.h> #include <Porting.h> #include <AGESA.h> #include <Lib/amdlib.h> diff --git a/src/southbridge/amd/pi/hudson/sata.c b/src/southbridge/amd/pi/hudson/sata.c index 153fe6dea4..08e967dd8e 100644 --- a/src/southbridge/amd/pi/hudson/sata.c +++ b/src/southbridge/amd/pi/hudson/sata.c @@ -14,12 +14,11 @@ */ #include <device/device.h> -#include <delay.h> #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> -#include "hudson.h" +#include "hudson.h" static void sata_init(struct device *dev) { diff --git a/src/southbridge/amd/pi/hudson/sd.c b/src/southbridge/amd/pi/hudson/sd.c index c4193786aa..e4ace38f05 100644 --- a/src/southbridge/amd/pi/hudson/sd.c +++ b/src/southbridge/amd/pi/hudson/sd.c @@ -14,10 +14,10 @@ */ #include <device/device.h> -#include <delay.h> #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> + #include "hudson.h" static void sd_init(struct device *dev) diff --git a/src/southbridge/amd/pi/hudson/smihandler.c b/src/southbridge/amd/pi/hudson/smihandler.c index a87b75da00..1b9442b1b6 100644 --- a/src/southbridge/amd/pi/hudson/smihandler.c +++ b/src/southbridge/amd/pi/hudson/smihandler.c @@ -19,12 +19,11 @@ */ #include <arch/io.h> +#include <cpu/x86/smm.h> + #include "hudson.h" #include "smi.h" -#include <cpu/x86/smm.h> -#include <delay.h> - #define SMI_0x88_ACPI_COMMAND (1 << 11) enum smi_source { |