summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/procedures
diff options
context:
space:
mode:
Diffstat (limited to 'import/chips/p9/procedures')
-rw-r--r--import/chips/p9/procedures/hwp/nest/Makefile5
-rw-r--r--import/chips/p9/procedures/hwp/nest/nestfiles.mk10
-rw-r--r--import/chips/p9/procedures/hwp/perv/Makefile1
-rw-r--r--import/chips/p9/procedures/hwp/perv/pervfiles.mk3
4 files changed, 16 insertions, 3 deletions
diff --git a/import/chips/p9/procedures/hwp/nest/Makefile b/import/chips/p9/procedures/hwp/nest/Makefile
index 1be88801..6ae2e44e 100644
--- a/import/chips/p9/procedures/hwp/nest/Makefile
+++ b/import/chips/p9/procedures/hwp/nest/Makefile
@@ -8,6 +8,11 @@ export SUB_OBJDIR = /nest
include img_defs.mk
include nestfiles.mk
+# TODO via RTC 152424
+# Adding VPATH as there are few procedures which are in
+# perv folder but we are compiling them here. Refer to
+# nestfiles.mk for details.
+export VPATH = $(PERV_SRCDIR):$(NEST_SRCDIR)
OBJS := $(addprefix $(OBJDIR)/, $(NEST_OBJECTS))
libnest.a: nest
diff --git a/import/chips/p9/procedures/hwp/nest/nestfiles.mk b/import/chips/p9/procedures/hwp/nest/nestfiles.mk
index 8b8a4877..5c3c7b79 100644
--- a/import/chips/p9/procedures/hwp/nest/nestfiles.mk
+++ b/import/chips/p9/procedures/hwp/nest/nestfiles.mk
@@ -17,6 +17,16 @@ NEST-CPP-SOURCES +=p9_pba_setup.C
NEST-CPP-SOURCES +=p9_adu_access.C
NEST-CPP-SOURCES +=p9_adu_setup.C
NEST-CPP-SOURCES +=p9_adu_coherent_utils.C
+# TODO via RTC 152424
+# p9_ram_core.C will go to runtime makefile. Currently this procedure is in
+# perv directory. As we are putting perv procedures currently in SEEPROM.
+# So compiling p9_ram_core.C in nest makefile.
+NEST-CPP-SOURCES +=p9_ram_core.C
+# TODO via RTC 152424
+# swicth gear proecdures are in perv directory. But these procedures needs to
+# be executed from PIBMEM. So compiling these is nest makefile.
+NEST-CPP-SOURCES +=p9_sbe_gear_switcher.C
+NEST-CPP-SOURCES +=p9_sbe_tp_switch_gears.C
NEST-C-SOURCES =
NEST-S-SOURCES =
diff --git a/import/chips/p9/procedures/hwp/perv/Makefile b/import/chips/p9/procedures/hwp/perv/Makefile
index 5c1fc635..79b77526 100644
--- a/import/chips/p9/procedures/hwp/perv/Makefile
+++ b/import/chips/p9/procedures/hwp/perv/Makefile
@@ -8,6 +8,7 @@ export SUB_OBJDIR = /perv
include img_defs.mk
include pervfiles.mk
+GCC-CFLAGS += -mlongcall
OBJS := $(addprefix $(OBJDIR)/, $(PERV_OBJECTS))
diff --git a/import/chips/p9/procedures/hwp/perv/pervfiles.mk b/import/chips/p9/procedures/hwp/perv/pervfiles.mk
index a4977dee..b274d59f 100644
--- a/import/chips/p9/procedures/hwp/perv/pervfiles.mk
+++ b/import/chips/p9/procedures/hwp/perv/pervfiles.mk
@@ -31,13 +31,10 @@ PERV-CPP-SOURCES +=p9_sbe_tp_chiplet_reset.C
PERV-CPP-SOURCES +=p9_sbe_tp_enable_ridi.C
PERV-CPP-SOURCES +=p9_sbe_tp_initf.C
PERV-CPP-SOURCES +=p9_sbe_tp_ld_image.C
-PERV-CPP-SOURCES +=p9_sbe_tp_switch_gears.C
PERV-CPP-SOURCES +=p9_sbe_setup_evid.C
PERV-CPP-SOURCES +=p9_perv_sbe_cmn.C
PERV-CPP-SOURCES +=p9_sbe_common.C
-PERV-CPP-SOURCES +=p9_sbe_gear_switcher.C
PERV-CPP-SOURCES +=p9_sbe_check_master_stop15.C
-PERV-CPP-SOURCES +=p9_ram_core.C
PERV-CPP-SOURCES +=p9_hcd_cache_dcc_skewadjust_setup.C
PERV-CPP-SOURCES +=p9_sbe_setup_boot_freq.C
PERV-CPP-SOURCES +=p9_sbe_io_initf.C
OpenPOWER on IntegriCloud