asrock/e350m1: Switch away from ROMCC_BOOTBLOCK
Change-Id: Ie14db10b6a72e19ac67254ca8f95bcf6ac8af8d3 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37703 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
committed by
Kyösti Mälkki
parent
f8e1764bb9
commit
91c47c0dea
@@ -17,7 +17,6 @@ if BOARD_ASROCK_E350M1
|
|||||||
|
|
||||||
config BOARD_SPECIFIC_OPTIONS
|
config BOARD_SPECIFIC_OPTIONS
|
||||||
def_bool y
|
def_bool y
|
||||||
select ROMCC_BOOTBLOCK
|
|
||||||
select CPU_AMD_AGESA_FAMILY14
|
select CPU_AMD_AGESA_FAMILY14
|
||||||
select NORTHBRIDGE_AMD_AGESA_FAMILY14
|
select NORTHBRIDGE_AMD_AGESA_FAMILY14
|
||||||
select SOUTHBRIDGE_AMD_CIMX_SB800
|
select SOUTHBRIDGE_AMD_CIMX_SB800
|
||||||
|
@@ -13,6 +13,8 @@
|
|||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
bootblock-y += bootblock.c
|
||||||
|
|
||||||
romstage-y += buildOpts.c
|
romstage-y += buildOpts.c
|
||||||
romstage-y += BiosCallOuts.c
|
romstage-y += BiosCallOuts.c
|
||||||
romstage-y += OemCustomize.c
|
romstage-y += OemCustomize.c
|
||||||
|
@@ -13,16 +13,13 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/state_machine.h>
|
#include <bootblock_common.h>
|
||||||
#include <superio/nuvoton/common/nuvoton.h>
|
#include <superio/nuvoton/common/nuvoton.h>
|
||||||
#include <superio/nuvoton/nct5572d/nct5572d.h>
|
#include <superio/nuvoton/nct5572d/nct5572d.h>
|
||||||
#include <sb_cimx.h>
|
|
||||||
|
|
||||||
#define SERIAL_DEV PNP_DEV(0x2e, NCT5572D_SP1)
|
#define SERIAL_DEV PNP_DEV(0x2e, NCT5572D_SP1)
|
||||||
|
|
||||||
|
void bootblock_mainboard_early_init(void)
|
||||||
void board_BeforeAgesa(struct sysinfo *cb)
|
|
||||||
{
|
{
|
||||||
sb_Poweron_Init();
|
|
||||||
nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
}
|
}
|
Reference in New Issue
Block a user