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:
committed by
Nico Huber
parent
89393d633d
commit
085a226808
@@ -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 */
|
||||
|
Reference in New Issue
Block a user