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
This commit is contained in:
parent
161eafb0fb
commit
bf0970e762
121 changed files with 78 additions and 162 deletions
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include <arch/acpi.h>
|
||||
#include <cbmem.h>
|
||||
#include <delay.h>
|
||||
#include <timestamp.h>
|
||||
#include <amdblocks/s3_resume.h>
|
||||
#include <amdblocks/agesawrapper.h>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <delay.h>
|
||||
#include <soc/southbridge.h>
|
||||
|
||||
static const unsigned short pci_device_ids[] = {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
*/
|
||||
|
||||
#include <device/device.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
#include <cpu/x86/cache.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/hlt.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <soc/smi.h>
|
||||
#include <soc/southbridge.h>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
#include <inttypes.h>
|
||||
#include <types.h>
|
||||
#include <delay.h>
|
||||
|
||||
/* Watchdog functions */
|
||||
void watchdog_set(const size_t index, unsigned int timeout_ms);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
#include <device/mmio.h>
|
||||
#include <assert.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <endian.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/spi.h>
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
* Derived from Cavium's BSD-3 Clause OCTEONTX-SDK-6.2.0.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <device/mmio.h>
|
||||
#include <arch/lib_helpers.h>
|
||||
#include <console/console.h>
|
||||
|
|
|
|||
|
|
@ -15,13 +15,13 @@
|
|||
*
|
||||
* This file consists of data imported from bdk-config.c
|
||||
*/
|
||||
|
||||
// coreboot
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <device/i2c.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <endian.h>
|
||||
#include <delay.h>
|
||||
#include <soc/timer.h>
|
||||
|
||||
// BDK
|
||||
|
|
|
|||
|
|
@ -16,14 +16,12 @@
|
|||
#include <device/mmio.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <drivers/intel/gma/opregion.h>
|
||||
#include <reg_script.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <soc/gfx.h>
|
||||
#include <soc/iosf.h>
|
||||
#include <soc/nvs.h>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
#include <soc/ramstage.h>
|
||||
#include <soc/sata.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <soc/adsp.h>
|
||||
#include <soc/device_nvs.h>
|
||||
#include <soc/iobp.h>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <soc/intel/common/hda_verb.h>
|
||||
#include <soc/pch.h>
|
||||
#include <soc/ramstage.h>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <stdlib.h>
|
||||
#include <soc/intel/common/hda_verb.h>
|
||||
#include <soc/ramstage.h>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
*/
|
||||
|
||||
#include <arch/early_variables.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <reg_script.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "chip.h"
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <pc80/isa-dma.h>
|
||||
|
|
@ -34,6 +32,8 @@
|
|||
#include <soc/pci_devs.h>
|
||||
#include <soc/pcr_ids.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
/*
|
||||
* As per the BWG, Chapter 5.9.1. "PCH BIOS component will reserve
|
||||
* certain memory range as reserved range for BIOS usage.
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <delay.h>
|
||||
#include <intelblocks/cpulib.h>
|
||||
#include <intelblocks/fast_spi.h>
|
||||
#include <soc/cpu.h>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <intelblocks/systemagent.h>
|
||||
|
|
|
|||
|
|
@ -15,13 +15,11 @@
|
|||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <reg_script.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <soc/gfx.h>
|
||||
#include <soc/iosf.h>
|
||||
#include <soc/pci_devs.h>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <types.h>
|
||||
#include <console/console.h>
|
||||
#include <cpu/x86/cache.h>
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "chip.h"
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <pc80/isa-dma.h>
|
||||
|
|
@ -33,6 +31,8 @@
|
|||
#include <soc/pci_devs.h>
|
||||
#include <soc/pcr_ids.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
/*
|
||||
* As per the BWG, Chapter 5.9.1. "PCH BIOS component will reserve
|
||||
* certain memory range as reserved range for BIOS usage.
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/pci.h>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
#include <cpu/x86/cr.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <delay.h>
|
||||
#include <fsp/util.h>
|
||||
#include <reg_script.h>
|
||||
#include <soc/IntelQNCConfig.h>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
#include <assert.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/pci_ops.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/ramstage.h>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/reg_access.h>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/x86/name.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <delay.h>
|
||||
#include <intelblocks/cpulib.h>
|
||||
#include <intelblocks/fast_spi.h>
|
||||
#include <intelblocks/mp_init.h>
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "chip.h"
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <pc80/isa-dma.h>
|
||||
|
|
@ -30,6 +28,8 @@
|
|||
#include <soc/pcr_ids.h>
|
||||
#include <soc/intel/common/block/lpc/lpc_def.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
/**
|
||||
PCH preserved MMIO range, 24 MB, from 0xFD000000 to 0xFE7FFFFF
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
#include <assert.h>
|
||||
#include <bcd.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <rtc.h>
|
||||
#include <soc/pmic_wrap_common.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <soc/rtc_common.h>
|
||||
#include <soc/rtc.h>
|
||||
#include <soc/pmic_wrap.h>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/usb.h>
|
||||
#include <timer.h>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
*/
|
||||
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <edid.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <assert.h>
|
||||
#include <delay.h>
|
||||
#include <stdlib.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/dramc_common.h>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
#include <assert.h>
|
||||
#include <boardid.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/dramc_common.h>
|
||||
#include <soc/dramc_register.h>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <soc/rtc_common.h>
|
||||
#include <soc/rtc.h>
|
||||
#include <soc/mt6391.h>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <delay.h>
|
||||
#include <halt.h>
|
||||
#include <soc/rtc_common.h>
|
||||
#include <soc/rtc.h>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
#include <soc/addressmap.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <delay.h>
|
||||
|
||||
#include "pinmux.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,10 +38,10 @@
|
|||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
||||
* USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <delay.h>
|
||||
#include <string.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/clock.h>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#include <device/mmio.h>
|
||||
#include <types.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <assert.h>
|
||||
#include <soc/clock.h>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <types.h>
|
||||
#include <delay.h>
|
||||
#include <gpio.h>
|
||||
|
||||
void gpio_configure(gpio_t gpio, uint32_t func, uint32_t pull,
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <assert.h>
|
||||
#include <delay.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/grf.h>
|
||||
#include <soc/soc.h>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
*/
|
||||
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <soc/addressmap.h>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#include <arch/cache.h>
|
||||
#include <bootmode.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/display.h>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <assert.h>
|
||||
#include <delay.h>
|
||||
#include <soc/clock.h>
|
||||
#include <soc/grf.h>
|
||||
#include <soc/pmu.h>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#include <device/mmio.h>
|
||||
#include <assert.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <soc/clock.h>
|
||||
#include <soc/grf.h>
|
||||
#include <soc/soc.h>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
/* Clock setup for SMDK5250 board based on EXYNOS5 */
|
||||
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/dp.h>
|
||||
#include <soc/setup.h>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
#include <arch/cache.h>
|
||||
#include <console/console.h>
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/cpu.h>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
/* Clock setup for SMDK5420 board based on EXYNOS5 */
|
||||
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <soc/dp.h>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
#include <arch/cache.h>
|
||||
#include <console/console.h>
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <soc/dp.h>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <soc/clk.h>
|
||||
#include <soc/dp.h>
|
||||
#include <soc/fimd.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue