summaryrefslogtreecommitdiff
path: root/tools/kwbimage.h
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2016-11-09 22:21:45 +1300
committerStefan Roese <sr@denx.de>2016-12-01 09:10:49 +0100
commit2611c05e840033e4c4ab83115836d7657f5b316b (patch)
treee2f8dddf724ac0fcb5f9a45628a44f6ec4dc511b /tools/kwbimage.h
parent4bdb547978a289dc33be9ba72dbb0e861b4aa31b (diff)
downloadu-boot-imx-2611c05e840033e4c4ab83115836d7657f5b316b.zip
u-boot-imx-2611c05e840033e4c4ab83115836d7657f5b316b.tar.gz
u-boot-imx-2611c05e840033e4c4ab83115836d7657f5b316b.tar.bz2
tools/kwbimage: add DEBUG option
Offset 0x1 in the generated kwb image file is a set of flags, bit 0 enables debug output from the BootROM firmware. Allow a DEBUG option in the kwb configuration to request debug output from the BootROM firmware. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'tools/kwbimage.h')
-rw-r--r--tools/kwbimage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kwbimage.h b/tools/kwbimage.h
index 9b06004..01c2f1f 100644
--- a/tools/kwbimage.h
+++ b/tools/kwbimage.h
@@ -73,7 +73,7 @@ struct kwb_header {
/* Structure of the main header, version 1 (Armada 370, Armada XP) */
struct main_hdr_v1 {
uint8_t blockid; /* 0 */
- uint8_t reserved1; /* 1 */
+ uint8_t flags; /* 1 */
uint16_t reserved2; /* 2-3 */
uint32_t blocksize; /* 4-7 */
uint8_t version; /* 8 */