superio/*: Link early initialization into bootblock
This allows to set up the SuperIO in the C_ENVIRONMENT_BOOTBLOCK bootblocks. It is likely unnecessary to do this in verstage. This also renames COMMON_ROMSTAGE to COMMON_PRE_RAM. Change-Id: I3d999611baa1e79c79fe6b1f01822ebaa5f85daf Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/30672 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
89393d633d
commit
085a226808
74 changed files with 90 additions and 59 deletions
|
@ -9,7 +9,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select TSC_MONOTONIC_TIMER
|
||||
select HAVE_FSP_BIN if FSP_PACKAGE_DEFAULT
|
||||
select SERIRQ_CONTINUOUS_MODE
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
select FSP_EHCI1_ENABLE
|
||||
select MRC_CACHE_FMAP
|
||||
select ENABLE_FSP_FAST_BOOT
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
##
|
||||
|
||||
## include generic fintek pre-ram stage driver
|
||||
romstage-$(CONFIG_SUPERIO_FINTEK_COMMON_ROMSTAGE) += common/early_serial.c
|
||||
bootblock-$(CONFIG_SUPERIO_FINTEK_COMMON_PRE_RAM) += common/early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_FINTEK_COMMON_PRE_RAM) += common/early_serial.c
|
||||
|
||||
subdirs-y += f71805f
|
||||
subdirs-y += f71808a
|
||||
|
|
|
@ -16,5 +16,5 @@
|
|||
|
||||
# Generic Fintek romstage driver - Just enough UART initialisation code for
|
||||
# romstage.
|
||||
config SUPERIO_FINTEK_COMMON_ROMSTAGE
|
||||
config SUPERIO_FINTEK_COMMON_PRE_RAM
|
||||
bool
|
||||
|
|
|
@ -14,12 +14,12 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_FINTEK_COMMON_ROMSTAGE_H
|
||||
#define SUPERIO_FINTEK_COMMON_ROMSTAGE_H
|
||||
#ifndef SUPERIO_FINTEK_COMMON_PRE_RAM_H
|
||||
#define SUPERIO_FINTEK_COMMON_PRE_RAM_H
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void fintek_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||
|
||||
#endif /* SUPERIO_FINTEK_COMMON_ROMSTAGE_H */
|
||||
#endif /* SUPERIO_FINTEK_COMMON_PRE_RAM_H */
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_FINTEK_F71805F
|
||||
bool
|
||||
select SUPERIO_FINTEK_COMMON_ROMSTAGE
|
||||
select SUPERIO_FINTEK_COMMON_PRE_RAM
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
|
||||
config SUPERIO_FINTEK_F71808A
|
||||
bool
|
||||
select SUPERIO_FINTEK_COMMON_ROMSTAGE
|
||||
select SUPERIO_FINTEK_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_FINTEK_F71859
|
||||
bool
|
||||
select SUPERIO_FINTEK_COMMON_ROMSTAGE
|
||||
select SUPERIO_FINTEK_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_FINTEK_F71863FG
|
||||
bool
|
||||
select SUPERIO_FINTEK_COMMON_ROMSTAGE
|
||||
select SUPERIO_FINTEK_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_FINTEK_F71869AD
|
||||
bool
|
||||
select SUPERIO_FINTEK_COMMON_ROMSTAGE
|
||||
select SUPERIO_FINTEK_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_FINTEK_F71872
|
||||
bool
|
||||
select SUPERIO_FINTEK_COMMON_ROMSTAGE
|
||||
select SUPERIO_FINTEK_COMMON_PRE_RAM
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_FINTEK_F81216H) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_FINTEK_F81216H) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_FINTEK_F81216H) += superio.c
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_FINTEK_F81865F
|
||||
bool
|
||||
select SUPERIO_FINTEK_COMMON_ROMSTAGE
|
||||
select SUPERIO_FINTEK_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_FINTEK_F81866D
|
||||
bool
|
||||
select SUPERIO_FINTEK_COMMON_ROMSTAGE
|
||||
select SUPERIO_FINTEK_COMMON_PRE_RAM
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_INTEL_I8900) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_INTEL_I8900) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_INTEL_I8900) += superio.c
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
##
|
||||
|
||||
## include generic ite pre-ram stage driver
|
||||
romstage-$(CONFIG_SUPERIO_ITE_COMMON_ROMSTAGE) += common/early_serial.c
|
||||
bootblock-$(CONFIG_SUPERIO_ITE_COMMON_PRE_RAM) += common/early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_ITE_COMMON_PRE_RAM) += common/early_serial.c
|
||||
|
||||
## include generic ite environment controller driver
|
||||
ramstage-$(CONFIG_SUPERIO_ITE_ENV_CTRL) += common/env_ctrl.c
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
# Generic ITE romstage driver - Just enough UART initialisation code for
|
||||
# romstage.
|
||||
config SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
config SUPERIO_ITE_COMMON_PRE_RAM
|
||||
bool
|
||||
|
||||
# Generic ITE environment controller driver
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_ITE_COMMON_ROMSTAGE_H
|
||||
#define SUPERIO_ITE_COMMON_ROMSTAGE_H
|
||||
#ifndef SUPERIO_ITE_COMMON_PRE_RAM_H
|
||||
#define SUPERIO_ITE_COMMON_PRE_RAM_H
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <stdint.h>
|
||||
|
@ -34,4 +34,4 @@ void ite_kill_watchdog(pnp_devfn_t dev);
|
|||
void pnp_enter_conf_state(pnp_devfn_t dev);
|
||||
void pnp_exit_conf_state(pnp_devfn_t dev);
|
||||
|
||||
#endif /* SUPERIO_ITE_COMMON_ROMSTAGE_H */
|
||||
#endif /* SUPERIO_ITE_COMMON_PRE_RAM_H */
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
config SUPERIO_ITE_IT8623E
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
select SUPERIO_ITE_ENV_CTRL
|
||||
select SUPERIO_ITE_ENV_CTRL_PWM_FREQ2
|
||||
select SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_ITE_IT8671F
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_ITE_IT8671F) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_ITE_IT8671F) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_ITE_IT8671F) += superio.c
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_ITE_IT8712F
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
config SUPERIO_ITE_IT8716F
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
|
||||
config SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
|
||||
bool
|
||||
depends on SUPERIO_ITE_IT8716F
|
||||
default n
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
config SUPERIO_ITE_IT8718F
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
select SUPERIO_ITE_ENV_CTRL
|
||||
select SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG
|
||||
select SUPERIO_ITE_ENV_CTRL_PWM_FREQ2
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_ITE_IT8718F) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_ITE_IT8718F) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_ITE_IT8718F) += superio.c
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
config SUPERIO_ITE_IT8720F
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
select SUPERIO_ITE_ENV_CTRL
|
||||
select SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG
|
||||
select SUPERIO_ITE_ENV_CTRL_PWM_FREQ2
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_ITE_IT8721F
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
config SUPERIO_ITE_IT8728F
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
select SUPERIO_ITE_ENV_CTRL
|
||||
select SUPERIO_ITE_ENV_CTRL_PWM_FREQ2
|
||||
select SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_ITE_IT8772F
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_ITE_IT8772F) += early_init.c
|
||||
romstage-$(CONFIG_SUPERIO_ITE_IT8772F) += early_init.c
|
||||
ramstage-$(CONFIG_SUPERIO_ITE_IT8772F) += superio.c
|
||||
smm-$(CONFIG_SUPERIO_ITE_IT8772F) += early_init.c
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
config SUPERIO_ITE_IT8783EF
|
||||
bool
|
||||
select SUPERIO_ITE_COMMON_ROMSTAGE
|
||||
select SUPERIO_ITE_COMMON_PRE_RAM
|
||||
select SUPERIO_ITE_ENV_CTRL
|
||||
select SUPERIO_ITE_ENV_CTRL_FAN16_CONFIG
|
||||
select SUPERIO_ITE_ENV_CTRL_PWM_FREQ2
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_NSC_PC87309) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_NSC_PC87309) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_NSC_PC87309) += superio.c
|
||||
|
|
|
@ -15,5 +15,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_NSC_PC87360) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_NSC_PC87360) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_NSC_PC87360) += superio.c
|
||||
|
|
|
@ -15,5 +15,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_NSC_PC87366) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_NSC_PC87366) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_NSC_PC87366) += superio.c
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_NSC_PC87417) += early_init.c
|
||||
romstage-$(CONFIG_SUPERIO_NSC_PC87417) += early_init.c
|
||||
bootblock-$(CONFIG_SUPERIO_NSC_PC87417) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_NSC_PC87417) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_NSC_PC87417) += superio.c
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_NSC_PC97317) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_NSC_PC97317) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_NSC_PC97317) += superio.c
|
||||
|
|
|
@ -14,10 +14,8 @@
|
|||
##
|
||||
|
||||
## include generic nuvoton pre-ram stage driver
|
||||
ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y)
|
||||
bootblock-$(CONFIG_SUPERIO_NUVOTON_COMMON_ROMSTAGE) += common/early_serial.c
|
||||
endif
|
||||
romstage-$(CONFIG_SUPERIO_NUVOTON_COMMON_ROMSTAGE) += common/early_serial.c
|
||||
bootblock-$(CONFIG_SUPERIO_NUVOTON_COMMON_PRE_RAM) += common/early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_NUVOTON_COMMON_PRE_RAM) += common/early_serial.c
|
||||
|
||||
subdirs-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += wpcm450
|
||||
subdirs-$(CONFIG_SUPERIO_NUVOTON_NCT5104D) += nct5104d
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
##
|
||||
|
||||
# Generic Nuvoton romstage driver - Just enough UART initialisation code for
|
||||
# romstage.
|
||||
config SUPERIO_NUVOTON_COMMON_ROMSTAGE
|
||||
# pre-ram.
|
||||
config SUPERIO_NUVOTON_COMMON_PRE_RAM
|
||||
bool
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_NUVOTON_COMMON_ROMSTAGE_H
|
||||
#define SUPERIO_NUVOTON_COMMON_ROMSTAGE_H
|
||||
#ifndef SUPERIO_NUVOTON_COMMON_PRE_RAM_H
|
||||
#define SUPERIO_NUVOTON_COMMON_PRE_RAM_H
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <stdint.h>
|
||||
|
@ -25,4 +25,4 @@ void nuvoton_pnp_enter_conf_state(pnp_devfn_t dev);
|
|||
void nuvoton_pnp_exit_conf_state(pnp_devfn_t dev);
|
||||
void nuvoton_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||
|
||||
#endif /* SUPERIO_NUVOTON_COMMON_ROMSTAGE_H */
|
||||
#endif /* SUPERIO_NUVOTON_COMMON_PRE_RAM_H */
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
|
||||
config SUPERIO_NUVOTON_NCT5104D
|
||||
bool
|
||||
select SUPERIO_NUVOTON_COMMON_ROMSTAGE
|
||||
select SUPERIO_NUVOTON_COMMON_PRE_RAM
|
||||
|
|
|
@ -15,4 +15,5 @@
|
|||
##
|
||||
|
||||
ramstage-$(CONFIG_SUPERIO_NUVOTON_NCT5104D) += superio.c
|
||||
bootblock-$(CONFIG_SUPERIO_NUVOTON_NCT5104D) += early_init.c
|
||||
romstage-$(CONFIG_SUPERIO_NUVOTON_NCT5104D) += early_init.c
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
|
||||
config SUPERIO_NUVOTON_NCT5572D
|
||||
bool
|
||||
select SUPERIO_NUVOTON_COMMON_ROMSTAGE
|
||||
select SUPERIO_NUVOTON_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
config SUPERIO_NUVOTON_NCT6776
|
||||
bool
|
||||
select SUPERIO_NUVOTON_COMMON_ROMSTAGE
|
||||
select SUPERIO_NUVOTON_COMMON_PRE_RAM
|
||||
|
||||
config SUPERIO_NUVOTON_NCT6776_COM_A
|
||||
bool
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
|
||||
config SUPERIO_NUVOTON_NCT6779D
|
||||
bool
|
||||
select SUPERIO_NUVOTON_COMMON_ROMSTAGE
|
||||
select SUPERIO_NUVOTON_COMMON_PRE_RAM
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
|
||||
config SUPERIO_NUVOTON_NCT6791D
|
||||
bool
|
||||
select SUPERIO_NUVOTON_COMMON_ROMSTAGE
|
||||
select SUPERIO_NUVOTON_COMMON_PRE_RAM
|
||||
|
|
|
@ -15,4 +15,4 @@
|
|||
|
||||
config SUPERIO_NUVOTON_NPCD378
|
||||
bool
|
||||
select SUPERIO_NUVOTON_COMMON_ROMSTAGE
|
||||
select SUPERIO_NUVOTON_COMMON_PRE_RAM
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += early_init.c
|
||||
romstage-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += early_init.c
|
||||
ramstage-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += superio.c
|
||||
|
|
|
@ -14,5 +14,7 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SERVERENGINES_PILOT) += early_init.c
|
||||
bootblock-$(CONFIG_SUPERIO_SERVERENGINES_PILOT) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SERVERENGINES_PILOT) += early_init.c
|
||||
romstage-$(CONFIG_SUPERIO_SERVERENGINES_PILOT) += early_serial.c
|
||||
|
|
|
@ -16,5 +16,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_DME1737) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_DME1737) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_DME1737) += superio.c
|
||||
|
|
|
@ -13,5 +13,6 @@
|
|||
# GNU General Public License for more details.
|
||||
#
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_KBC1100) += early_init.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_KBC1100) += early_init.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_KBC1100) += superio.c
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_LPC47B272) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_LPC47B272) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_LPC47B272) += superio.c
|
||||
|
|
|
@ -16,5 +16,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_LPC47B397) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_LPC47B397) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_LPC47B397) += superio.c
|
||||
|
|
|
@ -18,5 +18,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_LPC47M10X) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_LPC47M10X) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_LPC47M10X) += superio.c
|
||||
|
|
|
@ -13,5 +13,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_LPC47M15X) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_LPC47M15X) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_LPC47M15X) += superio.c
|
||||
|
|
|
@ -14,4 +14,5 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_LPC47N207) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_LPC47N207) += early_serial.c
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_LPC47N217) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_LPC47N217) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_LPC47N217) += superio.c
|
||||
|
|
|
@ -13,5 +13,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_LPC47N227) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_LPC47N227) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_LPC47N227) += superio.c
|
||||
|
|
|
@ -13,5 +13,6 @@
|
|||
# GNU General Public License for more details.
|
||||
#
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_SCH4037) += sch4037_early_init.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_SCH4037) += sch4037_early_init.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_SCH4037) += superio.c
|
||||
|
|
|
@ -13,4 +13,5 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_SIO1007) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_SIO1007) += early_serial.c
|
||||
|
|
|
@ -13,5 +13,6 @@
|
|||
# GNU General Public License for more details.
|
||||
#
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_SIO1036) += sio1036_early_init.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_SIO1036) += sio1036_early_init.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_SIO1036) += superio.c
|
||||
|
|
|
@ -14,5 +14,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_SMSC_SMSCSUPERIO) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_SMSC_SMSCSUPERIO) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_SMSC_SMSCSUPERIO) += superio.c
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
##
|
||||
|
||||
## include generic winbond pre-ram stage driver
|
||||
romstage-$(CONFIG_SUPERIO_WINBOND_COMMON_ROMSTAGE) += common/early_init.c
|
||||
bootblock-$(CONFIG_SUPERIO_WINBOND_COMMON_PRE_RAM) += common/early_init.c
|
||||
romstage-$(CONFIG_SUPERIO_WINBOND_COMMON_PRE_RAM) += common/early_init.c
|
||||
|
||||
subdirs-y += w83627dhg
|
||||
subdirs-y += w83627ehg
|
||||
|
|
|
@ -16,5 +16,5 @@
|
|||
|
||||
# Generic Winbond romstage driver - Just enough UART initialisation code for
|
||||
# romstage.
|
||||
config SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
config SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
bool
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_WINBOND_COMMON_ROMSTAGE_H
|
||||
#define SUPERIO_WINBOND_COMMON_ROMSTAGE_H
|
||||
#ifndef SUPERIO_WINBOND_COMMON_PRE_RAM_H
|
||||
#define SUPERIO_WINBOND_COMMON_PRE_RAM_H
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <stdint.h>
|
||||
|
@ -27,4 +27,4 @@ void winbond_set_clksel_48(pnp_devfn_t dev);
|
|||
void pnp_enter_conf_state(pnp_devfn_t dev);
|
||||
void pnp_exit_conf_state(pnp_devfn_t dev);
|
||||
|
||||
#endif /* SUPERIO_WINBOND_COMMON_ROMSTAGE_H */
|
||||
#endif /* SUPERIO_WINBOND_COMMON_PRE_RAM_H */
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_WINBOND_W83627DHG
|
||||
bool
|
||||
select SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
select SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
|
|
|
@ -15,5 +15,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_WINBOND_W83627DHG) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_WINBOND_W83627DHG) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_WINBOND_W83627DHG) += superio.c
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_WINBOND_W83627EHG
|
||||
bool
|
||||
select SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
select SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_WINBOND_W83627HF
|
||||
bool
|
||||
select SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
select SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_WINBOND_W83627THG
|
||||
bool
|
||||
select SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
select SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_WINBOND_W83627UHG
|
||||
bool
|
||||
select SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
select SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_WINBOND_W83667HG_A
|
||||
bool
|
||||
select SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
select SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_WINBOND_W83697HF
|
||||
bool
|
||||
select SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
select SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_WINBOND_W83977TF
|
||||
bool
|
||||
select SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
select SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
config SUPERIO_WINBOND_WPCD376I
|
||||
bool
|
||||
select SUPERIO_WINBOND_COMMON_ROMSTAGE
|
||||
select SUPERIO_WINBOND_COMMON_PRE_RAM
|
||||
|
|
|
@ -15,5 +15,6 @@
|
|||
## GNU General Public License for more details.
|
||||
##
|
||||
|
||||
bootblock-$(CONFIG_SUPERIO_WINBOND_WPCD376I) += early_serial.c
|
||||
romstage-$(CONFIG_SUPERIO_WINBOND_WPCD376I) += early_serial.c
|
||||
ramstage-$(CONFIG_SUPERIO_WINBOND_WPCD376I) += superio.c
|
||||
|
|
Loading…
Reference in a new issue