summaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/common/nuvoton.h
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-01-04 16:11:50 +0100
committerNico Huber <nico.h@gmx.de>2019-01-06 14:02:58 +0000
commit085a2268083cfe1d22f696c9070726dcf2dc160f (patch)
tree7ee20eb15d7c6ad9dfa66f2895573af5e90d3fc5 /src/superio/nuvoton/common/nuvoton.h
parent89393d633d70b9393af5b1c74af95c5e24bd99b0 (diff)
downloadcoreboot-085a2268083cfe1d22f696c9070726dcf2dc160f.tar.xz
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>
Diffstat (limited to 'src/superio/nuvoton/common/nuvoton.h')
-rw-r--r--src/superio/nuvoton/common/nuvoton.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/superio/nuvoton/common/nuvoton.h b/src/superio/nuvoton/common/nuvoton.h
index 614b039be5..4cb2b6f48e 100644
--- a/src/superio/nuvoton/common/nuvoton.h
+++ b/src/superio/nuvoton/common/nuvoton.h
@@ -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 */