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: If1b6a1a4942892be13758e80cf479456f82319ba
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 34151ca commit 2041e71
Showing 1 changed file with 66 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# $Source: import/chips/p9/procedures/ppe_closed/pgpe/pstate_gpe/pstate_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

PSTATE_TARGET:=pstate_gpe_p9n23
IMAGE := $(PSTATE_TARGET)

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

include $(PGPE_SRCDIR)/pstate_gpe/pstate_common.mk
$(IMAGE)_COMMONFLAGS += $(PSTATE_COMMONFLAGS)
OBJS := $(PSTATE_OBJS)

$(call BUILD_PPEIMAGE)

# PPMR header edit:
IMAGE=ppmr_header_p9n23
IMAGE_EDITOR=pstate_gpeImgEdit.exe

# Target tool chain
$(IMAGE)_TARGET=PPE

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

OBJS = p9_pgpe_ppmr.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/ \
)

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

0 comments on commit 2041e71

Please sign in to comment.