summaryrefslogtreecommitdiffstats
path: root/layout.h
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-06-15 14:56:19 +0200
committerNico Huber <nico.h@gmx.de>2019-06-17 08:32:43 +0000
commit70461a9524fc84ec5c095f11927cffa0429a6267 (patch)
tree0df6b67aec1d936bf8b39a86d5d9ed97ef5aa125 /layout.h
parent4f213285d78974c4b8915b311aff88449279f554 (diff)
downloadflashrom-70461a9524fc84ec5c095f11927cffa0429a6267.tar.gz
flashrom-70461a9524fc84ec5c095f11927cffa0429a6267.tar.bz2
flashrom-70461a9524fc84ec5c095f11927cffa0429a6267.zip
layout: Make `romentry.name` a pointer
This should provide more flexibility while we don't have to allocate 256B extra per layout entry. Change-Id: Ibb903113550ec13f43cbbd0a412c8f35fe1cf454 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33515 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'layout.h')
-rw-r--r--layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.h b/layout.h
index 0f07e09fb..b9454a821 100644
--- a/layout.h
+++ b/layout.h
@@ -39,7 +39,7 @@ struct romentry {
chipoff_t start;
chipoff_t end;
bool included;
- char name[256];
+ char *name;
};
struct flashrom_layout {