summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor/makefile
diff options
context:
space:
mode:
authorAdam Muhle <armuhle@us.ibm.com>2012-07-10 15:33:12 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-07-11 16:52:40 -0500
commitf02a3cb65a7a4ddab5d05f868672d429113feca8 (patch)
tree71bf14a0668407988be006b032d12952fcf3ff47 /src/build/buildpnor/makefile
parent9398c435a50ee505c6d09dcc64a76641bbca1342 (diff)
downloadtalos-hostboot-f02a3cb65a7a4ddab5d05f868672d429113feca8.tar.gz
talos-hostboot-f02a3cb65a7a4ddab5d05f868672d429113feca8.zip
Change PNORDD test cases to use test section of PNOR
Updated the PNOR Device Driver test cases to use a specially created test section of PNOR. The test cases will only run if the TEST section exists. Disabled the fake-pnor related test cases as the test section offset does not exist in the fake-pnor address space. Opened a story to fix this later. Change-Id: I1b5fd4989ee775c14034430226d9ffe844995f96 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1335 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/buildpnor/makefile')
-rw-r--r--src/build/buildpnor/makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/build/buildpnor/makefile b/src/build/buildpnor/makefile
index 2696a417a..0c8a94a09 100644
--- a/src/build/buildpnor/makefile
+++ b/src/build/buildpnor/makefile
@@ -34,6 +34,7 @@ ROOTPATH = ../../..
PNOR_TARGETS = simics_MURANO simics_VENICE TULETA
PNOR_VBU_TARGETS = vbu
+#Murano/Venice IPL PNOR images
define PNOR_template
$${IMGDIR}/$(1).pnor: $${IMGDIR}/hbicore_extended.bin $${IMGDIR}/$(1)_targeting.bin
./buildpnor.pl --pnorLayout ./pnorLayout.xml \
@@ -44,12 +45,14 @@ $${IMGDIR}/$(1).pnor: $${IMGDIR}/hbicore_extended.bin $${IMGDIR}/$(1)_targeting.
--binFile_HBD $${IMGDIR}/$(1)_targeting.bin \
--binFile_HBB $${IMGDIR}/hbicore.bin
endef
+
+#Murano/Venice Test case Pnor Image
define PNOR_test_template
$${IMGDIR}/$(1)_test.pnor: $${IMGDIR}/hbicore_extended.bin $${IMGDIR}/$(1)_targeting.bin
- ./buildpnor.pl --pnorLayout ./pnorLayout.xml \
+ ./buildpnor.pl --pnorLayout ./pnorLayout.xml --test \
--genToc \
--pnorOutBin $${IMGDIR}/$(1)_test.pnor \
- --binFile_part $${IMGDIR}/$(1)_pnor.toc \
+ --binFile_part $${IMGDIR}/$(1)_test_pnor.toc \
--binFile_HBI $${IMGDIR}/hbicore_test_extended.bin \
--binFile_HBD $${IMGDIR}/$(1)_targeting.bin \
--binFile_HBB $${IMGDIR}/hbicore_test.bin
@@ -66,10 +69,10 @@ $${IMGDIR}/$(1).pnor: $${IMGDIR}/hbicore_extended.bin $${IMGDIR}/$(1)_targeting.
endef
define PNOR_vbu_test_template
$${IMGDIR}/$(1)_test.pnor: $${IMGDIR}/hbicore_extended.bin $${IMGDIR}/$(1)_targeting.bin
- ./buildpnor.pl --pnorLayout ./pnorLayoutVpo.xml \
+ ./buildpnor.pl --pnorLayout ./pnorLayoutVpo.xml --test \
--genToc \
--pnorOutBin $${IMGDIR}/$(1)_test.pnor \
- --binFile_part $${IMGDIR}/$(1)_pnor.toc \
+ --binFile_part $${IMGDIR}/$(1)_test_pnor.toc \
--binFile_HBI $${IMGDIR}/hbicore_test_extended.bin \
--binFile_HBD $${IMGDIR}/$(1)_targeting.bin
endef
@@ -78,13 +81,14 @@ PNOR_IMAGES = $(addsuffix .pnor, $(addprefix $(IMGDIR)/, ${PNOR_TARGETS})) \
$(addsuffix _test.pnor, $(addprefix $(IMGDIR)/, ${PNOR_TARGETS}))
PNOR_VBU_IMAGES = $(addsuffix .pnor, $(addprefix $(IMGDIR)/, ${PNOR_VBU_TARGETS})) \
- $(addsuffix .pnor, $(addprefix $(IMGDIR)/, ${PNOR_VBU_TARGETS})) \
+ $(addsuffix _test.pnor, $(addprefix $(IMGDIR)/, ${PNOR_VBU_TARGETS})) \
EXTRA_CLEAN = ${PNOR_IMAGES} ${PNOR_IMAGES:.pnor=_pnor.toc} ${PNOR_VBU_IMAGES} ${PNOR_VBU_IMAGES:.pnor=_pnor.toc}
include ${ROOTPATH}/config.mk
-buildpnor: ${PNOR_IMAGES}
+.PHONY: buildpnor
+buildpnor: ${PNOR_IMAGES} ${PNOR_VBU_IMAGES}
#Standard Images
$(foreach pnor,$(PNOR_TARGETS),$(eval $(call PNOR_template,$(pnor))))
OpenPOWER on IntegriCloud