mb/: Drop print of MAINBOARD_PART_NUMBER
Change-Id: Ie3870bc666acaea316f00b205de512cf790e720c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50718 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
6e82ebff73
commit
95be98ac2a
35 changed files with 3 additions and 78 deletions
|
@ -97,8 +97,6 @@ static void mainboard_init(void *chip_info)
|
|||
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
init_tables();
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
|
|
|
@ -77,9 +77,6 @@ static void mainboard_init(void *chip_info)
|
|||
*************************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard "
|
||||
CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
}
|
||||
|
|
|
@ -36,8 +36,6 @@ static void init_gpios(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* Inagua mainboard specific setting */
|
||||
init_gpios();
|
||||
|
||||
|
|
|
@ -91,8 +91,6 @@ static void mainboard_init(void *chip_info)
|
|||
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
init_tables();
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
|
|
|
@ -97,8 +97,6 @@ static void mainboard_init(void *chip_info)
|
|||
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
init_tables();
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
|
||||
/**********************************************
|
||||
|
@ -8,7 +7,6 @@
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
|
|
|
@ -106,9 +106,6 @@ static void mainboard_init(void *chip_info)
|
|||
*************************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard "
|
||||
CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
|
||||
/*************************************************
|
||||
|
@ -8,7 +7,6 @@
|
|||
*************************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
|
|
|
@ -108,8 +108,6 @@ static void pirq_setup(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* enable GPP CLK0 thru CLK1 */
|
||||
/* disable GPP CLK2 thru SLT_GFX_CLK */
|
||||
misc_write8(0, 0xff);
|
||||
|
|
|
@ -31,7 +31,6 @@ static void southstation_led_init(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
southstation_led_init();
|
||||
|
||||
/*
|
||||
|
|
|
@ -12,8 +12,6 @@ static void mainboard_enable(struct device *dev)
|
|||
{
|
||||
msr_t msr;
|
||||
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
msr = rdmsr(LS_CFG_MSR);
|
||||
msr.lo &= ~(1 << 28);
|
||||
wrmsr(LS_CFG_MSR, msr);
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/*
|
||||
* Initialize ASF registers to an arbitrary address because someone
|
||||
* long ago set things up this way inside the SPD read code. The
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* Power off unused clock pins of GPP PCIe devices
|
||||
* GPP CLK0 connected to unpopulated mini PCIe slot
|
||||
* GPP CLK1 connected to ethernet chip
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
|
|
|
@ -35,7 +35,6 @@ static void mainboard_enable(struct device *dev)
|
|||
{
|
||||
msr_t msr;
|
||||
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
pirq_setup();
|
||||
|
||||
msr = rdmsr(LS_CFG_MSR);
|
||||
|
|
|
@ -78,8 +78,6 @@ static void pirq_setup(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
}
|
||||
|
|
|
@ -12,8 +12,6 @@ static void mainboard_enable(struct device *dev)
|
|||
{
|
||||
msr_t msr;
|
||||
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
msr = rdmsr(LS_CFG_MSR);
|
||||
msr.lo &= ~(1 << 28);
|
||||
wrmsr(LS_CFG_MSR, msr);
|
||||
|
|
|
@ -93,8 +93,6 @@ static void pirq_setup(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
|
|
|
@ -82,8 +82,6 @@ static void pirq_setup(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
}
|
||||
|
|
|
@ -108,8 +108,6 @@ static void pirq_setup(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* enable GPP CLK0 thru CLK1 */
|
||||
/* disable GPP CLK2 thru SLT_GFX_CLK */
|
||||
misc_write8(0, 0xff);
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* enable GPP CLK0 thru CLK1 */
|
||||
/* disable GPP CLK2 thru SLT_GFX_CLK */
|
||||
misc_write8(0, 0xFF);
|
||||
|
|
|
@ -92,7 +92,6 @@ static void pirq_setup(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
}
|
||||
|
|
|
@ -150,9 +150,6 @@ static void mainboard_init(void *chip_info)
|
|||
*************************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard "
|
||||
CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
|
||||
|
|
|
@ -199,8 +199,6 @@ static void mainboard_fill_ssdt(const struct device *dev)
|
|||
*************************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
init_tables();
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
|
|
|
@ -80,8 +80,6 @@ static void pirq_setup(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* Initialize the PIRQ data structures for consumption */
|
||||
pirq_setup();
|
||||
}
|
||||
|
|
|
@ -19,8 +19,6 @@ static void pavilion_cold_boot_init(void)
|
|||
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
hudson_configure_gevent_smi(EC_SMI_GEVENT, SMI_MODE_SMI, SMI_LVL_HIGH);
|
||||
global_smi_enable();
|
||||
|
||||
|
|
|
@ -109,8 +109,6 @@ static void pirq_setup(void)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
/* enable GPP CLK0 thru CLK3 (interleaved) */
|
||||
/* disable GPP CLK4 thru SLT_GFX_CLK */
|
||||
misc_write8(0, 0xff);
|
||||
|
|
|
@ -19,7 +19,6 @@ static void pavilion_cold_boot_init(void)
|
|||
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
hudson_configure_gevent_smi(EC_SMI_GEVENT, SMI_MODE_SMI, SMI_LVL_HIGH);
|
||||
global_smi_enable();
|
||||
|
|
|
@ -48,7 +48,6 @@ static void init(struct device *dev)
|
|||
{
|
||||
volatile u8 *spi_base; /* base addr of Hudson's SPI host controller */
|
||||
int i;
|
||||
printk(BIOS_DEBUG, CONFIG_MAINBOARD_PART_NUMBER " ENTER %s\n", __func__);
|
||||
|
||||
/* Init Hudson GPIOs. */
|
||||
printk(BIOS_DEBUG, "Init FCH GPIOs @ 0x%08x\n", ACPI_MMIO_BASE+GPIO_BASE);
|
||||
|
@ -108,7 +107,6 @@ static void init(struct device *dev)
|
|||
*/
|
||||
sema_send_alive();
|
||||
|
||||
printk(BIOS_DEBUG, CONFIG_MAINBOARD_PART_NUMBER " EXIT %s\n", __func__);
|
||||
}
|
||||
|
||||
/**********************************************
|
||||
|
@ -116,7 +114,6 @@ static void init(struct device *dev)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
dev->ops->init = init;
|
||||
|
||||
/* enable GPP CLK0 */
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
static void init(struct device *dev)
|
||||
{
|
||||
volatile u8 *spi_base; /* base addr of Hudson's SPI host controller */
|
||||
printk(BIOS_DEBUG, CONFIG_MAINBOARD_PART_NUMBER " ENTER %s\n", __func__);
|
||||
|
||||
/* Init Hudson GPIOs. */
|
||||
printk(BIOS_DEBUG, "Init FCH GPIOs @ 0x%08x\n", ACPI_MMIO_BASE+GPIO_BASE);
|
||||
|
@ -78,7 +77,6 @@ static void init(struct device *dev)
|
|||
*/
|
||||
sema_send_alive();
|
||||
|
||||
printk(BIOS_DEBUG, CONFIG_MAINBOARD_PART_NUMBER " EXIT %s\n", __func__);
|
||||
}
|
||||
|
||||
/**********************************************
|
||||
|
@ -86,7 +84,6 @@ static void init(struct device *dev)
|
|||
**********************************************/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
dev->ops->init = init;
|
||||
|
||||
/* enable GPP CLK0 thru CLK1 */
|
||||
|
|
|
@ -12,8 +12,6 @@ static void mainboard_enable(struct device *dev)
|
|||
{
|
||||
msr_t msr;
|
||||
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
msr = rdmsr(LS_CFG_MSR);
|
||||
msr.lo &= ~(1 << 28);
|
||||
wrmsr(LS_CFG_MSR, msr);
|
||||
|
|
|
@ -254,6 +254,7 @@ static int mainboard_smbios_data(struct device *dev, int *handle,
|
|||
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
/* Maintain this text unchanged for manufacture process. */
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
config_gpio_mux();
|
||||
|
@ -363,6 +364,7 @@ const char *smbios_system_sku(void)
|
|||
|
||||
static void mainboard_final(void *chip_info)
|
||||
{
|
||||
/* Maintain this text unchanged for manufacture process. */
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Final.\n");
|
||||
|
||||
/*
|
||||
|
|
|
@ -240,6 +240,7 @@ static int mainboard_smbios_data(struct device *dev, int *handle,
|
|||
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
/* Maintain this text unchanged for manufacture process. */
|
||||
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
|
||||
|
||||
config_gpio_mux();
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/device.h>
|
||||
|
||||
/*
|
||||
* mainboard_enable is executed as first thing after
|
||||
* enumerate_buses().
|
||||
*/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
.enable_dev = mainboard_enable,
|
||||
};
|
Loading…
Reference in a new issue