diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-09-17 13:55:16 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-09-18 14:40:08 +0200 |
commit | ed29ff86f8bb45a49caed8a8251b0c6dffc6875f (patch) | |
tree | 4e78b44cc84a163f306390cf5ab60a2d05e9f4c1 /scripts | |
parent | d7cdb1038a7784c7d3ba39886a43a2c2f598509c (diff) | |
download | barebox-ed29ff86f8bb45a49caed8a8251b0c6dffc6875f.tar.gz barebox-ed29ff86f8bb45a49caed8a8251b0c6dffc6875f.tar.xz |
scripts: pblimage: explicitly set architecture to ARM
architecture is statically initialized to zero, which happens to be
ARCH_ARM as it's the first enum constant.
Make this a bit clearer by explicitly assigning ARCH_ARM to architecture.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/pblimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pblimage.c b/scripts/pblimage.c index 73c0169ac1..235af8aa11 100644 --- a/scripts/pblimage.c +++ b/scripts/pblimage.c @@ -61,7 +61,7 @@ enum arch { ARCH_POWERPC, }; -enum arch architecture; +enum arch architecture = ARCH_ARM; static char *rcwfile; static char *pbifile; static char *outfile; |