blob: 6c3ba1402a483dacd486a90bfb28ab42f6cf1174 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: src/usr/isteps/istep13/makefile $
#
# OpenPOWER HostBoot Project
#
# Contributors Listed Below - COPYRIGHT 2015,2017
# [+] International Business Machines Corp.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
ROOTPATH = ../../../..
MODULE = istep13
PROCEDURES_PATH = ${ROOTPATH}/src/import/chips/p9/procedures
#Add all the extra include paths
EXTRAINCDIR += ${ROOTPATH}/src/include/usr/fapi2
EXTRAINCDIR += ${ROOTPATH}/src/usr/isteps/
EXTRAINCDIR += ${ROOTPATH}/obj/genfiles
EXTRAINCDIR += ${ROOTPATH}/src/import/hwpf/fapi2/include
EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/utils/
EXTRAINCDIR += ${ROOTPATH}/src/import/
EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/utils/imageProcs/
EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/common/include
EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory
EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib
EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/utils
EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/mc/
EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/memory/lib/fir/
EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/perv
EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/nest
EXTRAINCDIR += ${PROCEDURES_PATH}/hwp/initfiles
# from src/usr/isteps/istep13
OBJS += call_host_disable_memvolt.o
OBJS += call_mem_pll_reset.o
OBJS += call_mem_pll_initf.o
OBJS += call_mem_pll_setup.o
OBJS += call_mem_startclocks.o
OBJS += call_host_enable_memvolt.o
OBJS += call_mss_scominit.o
OBJS += call_mss_ddr_phy_reset.o
OBJS += call_mss_draminit.o
OBJS += call_mss_draminit_training.o
OBJS += call_mss_draminit_trainadv.o
OBJS += call_mss_draminit_mc.o
#HWP build tool
include ${ROOTPATH}/procedure.rules.mk
# PLL HWPs
include ${PROCEDURES_PATH}/hwp/perv/p9_mem_pll_initf.mk
include ${PROCEDURES_PATH}/hwp/perv/p9_mem_pll_setup.mk
include ${PROCEDURES_PATH}/hwp/perv/p9_mem_pll_reset.mk
#Start Memclocks
include ${PROCEDURES_PATH}/hwp/perv/p9_mem_startclocks.mk
#Scom init
include ${PROCEDURES_PATH}/hwp/memory/p9_mss_scominit.mk
include ${PROCEDURES_PATH}/hwp/nest/p9_throttle_sync.mk
include ${PROCEDURES_PATH}/hwp/initfiles/p9n_ddrphy_scom.mk
include ${PROCEDURES_PATH}/hwp/initfiles/p9n_mca_scom.mk
include ${PROCEDURES_PATH}/hwp/initfiles/p9n_mcbist_scom.mk
#Dram init
include ${PROCEDURES_PATH}/hwp/memory/p9_mss_draminit.mk
include ${PROCEDURES_PATH}/hwp/memory/p9_mss_draminit_training.mk
include ${PROCEDURES_PATH}/hwp/memory/p9_mss_draminit_mc.mk
include ${PROCEDURES_PATH}/hwp/memory/p9_mss_ddr_phy_reset.mk
include ${PROCEDURES_PATH}/hwp/memory/p9_mss_draminit_training_adv.mk
include ${ROOTPATH}/config.mk
VPATH += ${PROCEDURES_PATH}/hwp/memory ${PROCEDURES_PATH}/hwp/nest ${PROCEDURES_PATH}/hwp/perv ${PROCEDURES_PATH}/hwp/initfiles/
VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/ccs/ ${PROCEDURES_PATH}/hwp/memory/lib/dimm/ ${PROCEDURES_PATH}/hwp/memory/lib/utils/ ${PROCEDURES_PATH}/hwp/memory/lib/phy/
VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/mc/
VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/fir/
VPATH += ${PROCEDURES_PATH}/hwp/memory/lib/dimm/ddr4/
|