diff options
author | Chris Douglass <cdouglass.orion@gmail.com> | 2014-02-28 08:54:41 -0500 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2014-02-28 21:13:15 +0100 |
commit | e2718656ec9ca7cb3c6f94453b9e76b0ae132abd (patch) | |
tree | c0e72e9126c47c4970cdd8a54aac47fc2108b373 /src | |
parent | 4eabe1e4e1e4aa7ffa5a147a609a8782f48f0791 (diff) |
util/ifdtool: cleanup some magic numbers
There are five firmware regions that are (currently) defined. This
was assumed throughout the ifdtool code with many literal 4s and
5s. This patch changes them to refer to a new #define NUM_REGIONS.
Change-Id: I523d3763942f875025ebc4b9ba8b2ccf1db5b2f5
Signed-off-by: Christopher Douglass <cdouglass.orion@gmail.com>
Reviewed-on: http://review.coreboot.org/5313
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions