summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Peschke <mpeschke@de.ibm.com>2015-11-05 17:46:05 +0100
committerMartin Peschke <mpeschke@de.ibm.com>2015-11-06 08:51:34 -0600
commit1678bcd4205295dbe2b9ba3b352ee72f4b0510e4 (patch)
treee85f01423b45647dc7ba4deb451a9440cc8dbf24 /tools
parent4646289bcb155f1d54177f9ce016ee1095ecda8e (diff)
downloadtalos-sbe-1678bcd4205295dbe2b9ba3b352ee72f4b0510e4.tar.gz
talos-sbe-1678bcd4205295dbe2b9ba3b352ee72f4b0510e4.zip
SEEPROM image: section for hostboot bootloader
It is empty at build time and populated later. Change-Id: I0e193b04c6181915921a63d162666c20e01ac6c3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21778 Tested-by: Jenkins Server Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/image/sbe_xip_tool.c42
1 files changed, 23 insertions, 19 deletions
diff --git a/tools/image/sbe_xip_tool.c b/tools/image/sbe_xip_tool.c
index 8f6318db..8c98c402 100644
--- a/tools/image/sbe_xip_tool.c
+++ b/tools/image/sbe_xip_tool.c
@@ -1550,25 +1550,29 @@ int disassembleSection(void *i_image,
else
if (strcmp(sectionName, ".overlays")==0)
sectionId = SBE_XIP_SECTION_OVERLAYS;
- else {
- fprintf(stderr,"ERROR : %s is an invalid section name.\n",sectionName);
- fprintf(stderr,"Valid <section> names for the 'dis' function are:\n");
- fprintf(stderr,"\t.header\n");
- fprintf(stderr,"\t.fixed\n");
- fprintf(stderr,"\t.fixed_toc\n");
- fprintf(stderr,"\t.loader_text\n");
- fprintf(stderr,"\t.loader_data\n");
- fprintf(stderr,"\t.text\n");
- fprintf(stderr,"\t.data\n");
- fprintf(stderr,"\t.toc\n");
- fprintf(stderr,"\t.strings\n");
- fprintf(stderr,"\t.base\n");
- fprintf(stderr,"\t.baseloader\n");
- fprintf(stderr,"\t.overlays\n");
- fprintf(stderr,"\t.rings\n");
- fprintf(stderr,"\t.rings_summary\n");
- exit(1);
- }
+ else
+ if (strcmp(sectionName, ".hbbl")==0)
+ sectionId = SBE_XIP_SECTION_HBBL;
+ else {
+ fprintf(stderr,"ERROR : %s is an invalid section name.\n",sectionName);
+ fprintf(stderr,"Valid <section> names for the 'dis' function are:\n");
+ fprintf(stderr,"\t.header\n");
+ fprintf(stderr,"\t.fixed\n");
+ fprintf(stderr,"\t.fixed_toc\n");
+ fprintf(stderr,"\t.loader_text\n");
+ fprintf(stderr,"\t.loader_data\n");
+ fprintf(stderr,"\t.text\n");
+ fprintf(stderr,"\t.data\n");
+ fprintf(stderr,"\t.toc\n");
+ fprintf(stderr,"\t.strings\n");
+ fprintf(stderr,"\t.base\n");
+ fprintf(stderr,"\t.baseloader\n");
+ fprintf(stderr,"\t.overlays\n");
+ fprintf(stderr,"\t.rings\n");
+ fprintf(stderr,"\t.rings_summary\n");
+ fprintf(stderr,"\t.hbbl\n");
+ exit(1);
+ }
// Get host header and section pointer.
//
OpenPOWER on IntegriCloud