src: include <assert.h> when appropriate

Change-Id: Ib843eb7144b7dc2932931b9e8f3f1d816bcc1e1a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/26796
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: David Guckian
This commit is contained in:
Elyes HAOUAS 2019-03-29 17:12:15 +01:00 committed by Patrick Georgi
commit cd4fe0f718
56 changed files with 4 additions and 53 deletions

View file

@ -23,7 +23,6 @@
#include <soc/addressmap.h>
#include <soc/cavium/common/pci/chip.h>
#include <soc/ecam.h>
#include <assert.h>
#define CAVM_PCCPF_XXX_VSEC_CTL 0x108
#define CAVM_PCCPF_XXX_VSEC_SCTL 0x10c

View file

@ -20,7 +20,6 @@
#include <soc/clock.h>
#include <device/i2c.h>
#include <device/i2c_simple.h>
#include <assert.h>
#include <delay.h>
#include <device/mmio.h>
#include <soc/addressmap.h>

View file

@ -22,7 +22,6 @@
#include <device/pci.h>
#include <soc/addressmap.h>
#include <soc/ecam.h>
#include <assert.h>
/**
* Get PCI BAR address from cavium specific extended capability.

View file

@ -21,6 +21,7 @@
#include <console/console.h>
#include <device/mmio.h>
#include <arch/smp/mpspec.h>
#include <assert.h>
#include <device/pci_ops.h>
#include <cbmem.h>
#include <cpu/x86/smm.h>

View file

@ -15,7 +15,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <intelblocks/gpio.h>
#include <intelblocks/pcr.h>
#include <soc/pcr_ids.h>

View file

@ -15,7 +15,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <intelblocks/gpio.h>
#include <intelblocks/pcr.h>
#include <soc/pcr_ids.h>

View file

@ -20,7 +20,6 @@
* shouldn't cause any fragmentation.
*/
#include <assert.h>
#include <console/console.h>
#include <intelblocks/uart.h>
#include <soc/gpio.h>

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <chip.h>
#include <cpu/x86/mtrr.h>
#include <cbmem.h>

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <console/console.h>
#include <device/pci_def.h>
#include <intelblocks/gpio.h>

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <console/console.h>
#include <cpu/x86/msr.h>
#include <cpu/x86/mtrr.h>

View file

@ -14,7 +14,6 @@
*/
#include <arch/acpi.h>
#include <assert.h>
#include <cbmem.h>
#include <console/uart.h>
#include <device/device.h>

View file

@ -16,7 +16,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <intelblocks/gpio.h>
#include <intelblocks/pcr.h>
#include <soc/pcr.h>

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <chip.h>
#include <cpu/x86/mtrr.h>
#include <cbmem.h>

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <console/console.h>
#include <device/pci_def.h>
#include <intelblocks/gpio.h>

View file

@ -16,7 +16,6 @@
#include <device/mmio.h>
#include <device/pci_ops.h>
#include <assert.h>
#include <bootstate.h>
#include <console/console.h>
#include <device/pci_ids.h>

View file

@ -15,7 +15,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <arch/cpu.h>
#include <bootstate.h>
#include <console/console.h>

View file

@ -14,7 +14,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <intelblocks/gpio.h>
#include <intelblocks/pcr.h>
#include <soc/pcr_ids.h>

View file

@ -16,7 +16,6 @@
#ifndef SOC_MEDIATEK_RTC_COMMON_H
#define SOC_MEDIATEK_RTC_COMMON_H
#include <assert.h>
#include <bcd.h>
#include <console/console.h>
#include <rtc.h>

View file

@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <soc/pmic_wrap.h>
#include <timer.h>

View file

@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <console/console.h>
#include <stdlib.h>
#include <soc/addressmap.h>

View file

@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <boardid.h>
#include <console/console.h>
#include <soc/addressmap.h>

View file

@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <console/console.h>
#include <delay.h>
#include <soc/infracfg.h>

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <console/console.h>
#include <soc/pmic_wrap.h>
#include <soc/mt6358.h>

View file

@ -29,7 +29,6 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <assert.h>
#include <console/console.h>
#include <device/i2c_simple.h>
#include <stdlib.h>

View file

@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#include <assert.h>
#include <console/console.h>
#include <device/i2c_simple.h>
#include <stdlib.h>

View file

@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <console/console.h>
#include <delay.h>
#include <device/device.h>

View file

@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <soc/addressmap.h>
#include <soc/grf.h>
#include <soc/soc.h>

View file

@ -20,7 +20,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <console/console.h>
#include <delay.h>
#include <edid.h>

View file

@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <soc/clock.h>
#include <soc/grf.h>
#include <soc/pmu.h>

View file

@ -15,7 +15,6 @@
*/
#include <arm_tf.h>
#include <assert.h>
#include <cbmem.h>
#include <soc/bl31_plat_params.h>

View file

@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <console/console.h>
#include <delay.h>
#include <device/device.h>

View file

@ -14,7 +14,6 @@
*/
#include <device/mmio.h>
#include <assert.h>
#include <delay.h>
#include <soc/clock.h>
#include <soc/grf.h>

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <boot_device.h>
#include <console/console.h>
#include <soc/alternate_cbfs.h>

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <console/console.h>
#include <soc/gpio.h>
#include <soc/pinmux.h>

View file

@ -14,7 +14,6 @@
*/
#include <arch/cache.h>
#include <assert.h>
#include <boot_device.h>
#include <console/console.h>
#include <soc/alternate_cbfs.h>

View file

@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <assert.h>
#include <soc/gpio.h>
#include <soc/pinmux.h>
#include <stdlib.h>