Marty E. Plummer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35183 )
Change subject: arch/ppc64: add initial isav300 stubs ......................................................................
arch/ppc64: add initial isav300 stubs
Change-Id: Ice269fff6859b4c70ec6693cd2e458a48cafba69 Signed-off-by: Marty E. Plummer hanetzer@startmail.com --- M src/arch/ppc64/Kconfig M src/arch/ppc64/Makefile.inc A src/arch/ppc64/isav300/Kconfig A src/arch/ppc64/isav300/Makefile.inc M src/soc/ibm/power9/Kconfig 5 files changed, 38 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/35183/1
diff --git a/src/arch/ppc64/Kconfig b/src/arch/ppc64/Kconfig index 6d43f79..497510c 100644 --- a/src/arch/ppc64/Kconfig +++ b/src/arch/ppc64/Kconfig @@ -20,6 +20,7 @@ select ARCH_PPC64
source "src/arch/ppc64/power8/Kconfig" +source "src/arch/ppc64/isav300/Kconfig"
config PPC64_USE_ARCH_TIMER bool diff --git a/src/arch/ppc64/Makefile.inc b/src/arch/ppc64/Makefile.inc index d6f0b77..4ced3f8 100644 --- a/src/arch/ppc64/Makefile.inc +++ b/src/arch/ppc64/Makefile.inc @@ -20,7 +20,7 @@ ## Take care of subdirectories ################################################################################
-subdirs-y += power8/ +subdirs-y += power8/ isav300/
################################################################################ ## bootblock diff --git a/src/arch/ppc64/isav300/Kconfig b/src/arch/ppc64/isav300/Kconfig new file mode 100644 index 0000000..1ab7b20 --- /dev/null +++ b/src/arch/ppc64/isav300/Kconfig @@ -0,0 +1,15 @@ +config ARCH_BOOTBLOCK_PPC64_ISAV300 + def_bool n + select ARCH_BOOTBLOCK_PPC64 + +config ARCH_VERSTAGE_PPC64_ISAV300 + def_bool n + select ARCH_VERSTAGE_PPC64 + +config ARCH_ROMSTAGE_PPC64_ISAV300 + def_bool n + select ARCH_ROMSTAGE_PPC64 + +config ARCH_RAMSTAGE_PPC64_ISAV300 + def_bool n + select ARCH_RAMSTAGE_PPC64 diff --git a/src/arch/ppc64/isav300/Makefile.inc b/src/arch/ppc64/isav300/Makefile.inc new file mode 100644 index 0000000..6e24d9a --- /dev/null +++ b/src/arch/ppc64/isav300/Makefile.inc @@ -0,0 +1,17 @@ +ppc64_flags += -mcpu=power9 -mtune=power9 + +################################################################################ +## bootblock +################################################################################ +ifeq ($(CONFIG_ARCH_BOOTBLOCK_PPC64_ISAV300),y) + +endif # CONFIG_ARCH_BOOTBLOCK_PPC64_ISAV300 + +################################################################################ +## ramstage +################################################################################ +ifeq ($(CONFIG_ARCH_RAMSTAGE_PPC64_ISAV300),y) + +$(eval $(call create_class_compiler,rmodules,power9)) + +endif # CONFIG_ARCH_RAMSTAGE_PPC64_ISAV300 diff --git a/src/soc/ibm/power9/Kconfig b/src/soc/ibm/power9/Kconfig index 5bb2ec0..095fc69 100644 --- a/src/soc/ibm/power9/Kconfig +++ b/src/soc/ibm/power9/Kconfig @@ -1,4 +1,8 @@ config SOC_IBM_POWER9 bool default n + select ARCH_BOOTBLOCK_PPC64_ISAV300 + select ARCH_ROMSTAGE_PPC64_ISAV300 + select ARCH_RAMSTAGE_PPC64_ISAV300 + select ARCH_VERSTAGE_PPC64_ISAV300 select PPC64_USE_ARCH_TIMER