Skip to content

Commit

Permalink
Add support for p9c 1.2
Browse files Browse the repository at this point in the history
Also initial mk files for p9n 2.3, but p9c 1.2 will be first.

Change-Id: Idf3c0d4a8980fc285c0cb3e167b693ca79834878
Original-Change-Id: Ia73aba37be5bcf64b1b2cfe5b1ed153b189c7777
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53909
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: James N. Klazynski <jklazyns@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
  • Loading branch information
BenAtIBM authored and op-jenkins committed Jan 30, 2019
1 parent bb9e539 commit e91574e
Showing 1 changed file with 93 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: import/chips/p9/procedures/ppe_closed/sgpe/stop_gpe/stop_gpe_p9n23.mk $
#
# OpenPOWER HCODE Project
#
# COPYRIGHT 2017,2019
# [+] 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
#
## IMAGE=qpmr_header
##
## # Target tool chain
## $(IMAGE)_TARGET=PPE
##
## #linkscript to use
## $(IMAGE)_LINK_SCRIPT=linkqpmr.cmd
##
## OBJS = p9_sgpe_qpmr.o
## $(call BUILD_BINHEADER)


STOP_TARGET := stop_gpe_p9n23
IMAGE := $(STOP_TARGET)

# Options for Platforms specific tuning

$(IMAGE)_COMMONFLAGS+= -DNIMBUS_DD_LEVEL=23
$(IMAGE)_COMMONFLAGS+= -DCUMULUS_DD_LEVEL=0
$(IMAGE)_COMMONFLAGS+= -DAXONE_DD_LEVEL=0

$(IMAGE)_COMMONFLAGS+= -DLAB_P9_TUNING=0

$(IMAGE)_COMMONFLAGS+= -DEPM_P9_TUNING=0
$(IMAGE)_COMMONFLAGS+= -DEPM_BROADSIDE_SCAN0=0

$(IMAGE)_COMMONFLAGS+= -DSIMICS_TUNING=0
$(IMAGE)_COMMONFLAGS+= -DUSE_SIMICS_IO=0


include $(SGPE_SRCDIR)/stop_gpe/stop_common.mk
$(IMAGE)_COMMONFLAGS += $(STOP_COMMONFLAGS)
OBJS := $(STOP_OBJS)

$(call BUILD_PPEIMAGE)



# QPMR header edit:
IMAGE=qpmr_header_p9n23
IMAGE_EDITOR=stop_gpeImgEdit.exe

# Target tool chain
$(IMAGE)_TARGET=PPE

#linkscript to use
$(IMAGE)_LINK_SCRIPT=linkqpmr.cmd

OBJS = p9_sgpe_qpmr.o


$(call ADD_BINHEADER_INCDIR,$(IMAGE),\
$(PK_SRCDIR)/kernel \
$(PK_SRCDIR)/ppe42 \
$(PK_SRCDIR)/trace \
$(PK_SRCDIR)/$(_PPE_TYPE) \
$(PM_LIBDIR)/include \
$(PM_LIBDIR)/include/registers \
$(PM_LIBDIR)/common \
$(PM_LIBDIR)/occlib \
$(HCODE_LIBDIR) \
$(HCODE_COMMON_LIBDIR) \
$(HCODE_UTILS_INCDIR) \
$(ROOTPATH)/chips/p9/procedures/hwp/lib/ \
$(ROOTPATH)/chips/p9/utils/imageProcs/ \
)

$(call BUILD_BINHEADER,$(IMAGEPATH)/$(STOP_TARGET)/$(STOP_TARGET).bin)

0 comments on commit e91574e

Please sign in to comment.