soc/mediatek: Include 'console/console.h' when appropriate

Found using:
diff <(git grep -l '#include <console/console.h>' -- src/) <(git grep -l 'console_time_report\|console_time_get_and_reset\|do_putchar\|vprintk\|printk\|console_log_level\|console_init\|get_log_level\|CONSOLE_ENABLE\|get_console_loglevel\|die_notify\|die_with_post_code\|die\|arch_post_code\|mainboard_post\|post_code\|RAM_SPEW\|RAM_DEBUG\|BIOS_EMERG\|BIOS_ALERT\|BIOS_CRIT\|BIOS_ERR\|BIOS_WARNING\|BIOS_NOTICE\|BIOS_INFO\|BIOS_DEBUG\|BIOS_SPEW\|BIOS_NEVER' -- src/)

Change-Id: I93f930de5a2a477ec4c0d8e5c8c57b25f5e4252c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61043
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Xixi Chen <xixi.chen@mediatek.corp-partner.google.com>
This commit is contained in:
Elyes HAOUAS 2022-01-12 17:45:29 +01:00 committed by Felix Held
parent 8078e900d1
commit 879d04bf53
6 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@
#define SOC_MEDIATEK_COMMON_MSDC_H #define SOC_MEDIATEK_COMMON_MSDC_H
#include <commonlib/sd_mmc_ctrlr.h> #include <commonlib/sd_mmc_ctrlr.h>
#include <console/console.h>
/*------------------------------*/ /*------------------------------*/
/* Register Offset */ /* Register Offset */

View File

@ -6,6 +6,7 @@
#include <cbmem.h> #include <cbmem.h>
#include <commonlib/bsd/helpers.h> #include <commonlib/bsd/helpers.h>
#include <commonlib/storage/sd_mmc.h> #include <commonlib/storage/sd_mmc.h>
#include <console/console.h>
#include <delay.h> #include <delay.h>
#include <device/mmio.h> #include <device/mmio.h>
#include <lib.h> #include <lib.h>

View File

@ -6,7 +6,6 @@
#include <soc/dramc_common.h> #include <soc/dramc_common.h>
#include <soc/dramc_soc.h> #include <soc/dramc_soc.h>
#include <soc/emi.h> #include <soc/emi.h>
#include <console/console.h>
enum { enum {
MAX_CLKO_DELAY = 15 MAX_CLKO_DELAY = 15

View File

@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h> #include <assert.h>
#include <console/console.h>
#include <device/mmio.h> #include <device/mmio.h>
#include <soc/i2c.h> #include <soc/i2c.h>
#include <soc/gpio.h> #include <soc/gpio.h>

View File

@ -6,7 +6,6 @@
#include <types.h> #include <types.h>
#include <soc/dramc_common.h> #include <soc/dramc_common.h>
#include <soc/emi.h> #include <soc/emi.h>
#include <console/console.h>
#define DATLAT_TAP_NUMBER 32 #define DATLAT_TAP_NUMBER 32
#define HW_REG_SHUFFLE_MAX 4 #define HW_REG_SHUFFLE_MAX 4

View File

@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h> #include <assert.h>
#include <console/console.h>
#include <device/mmio.h> #include <device/mmio.h>
#include <soc/i2c.h> #include <soc/i2c.h>
#include <soc/gpio.h> #include <soc/gpio.h>