Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/linux-sunxi/sunxi-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Nordstrom <henrik@henriknordstrom.net>2012-08-18 00:47:25 +0400
committerHenrik Nordstrom <henrik@henriknordstrom.net>2012-08-18 00:47:25 +0400
commit639c82df91c3d1de9b8013230f747034a542eea0 (patch)
tree9596b67718a46b653b5cebbdded391715c516348 /bootinfo.c
parent09dffd4cdb2ae5715bd06920f283352ec3e9e524 (diff)
bootinfo: Correct storage GPIO settings printout
Diffstat (limited to 'bootinfo.c')
-rw-r--r--bootinfo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootinfo.c b/bootinfo.c
index 9a51c38..6fbd15c 100644
--- a/bootinfo.c
+++ b/bootinfo.c
@@ -231,7 +231,7 @@ void print_boot0_private_head(boot0_private_head_t *hdr)
pprintf(&hdr->enable_jtag, "JTAG en : %d\n", hdr->enable_jtag);
print_normal_gpio_cfg(hdr->jtag_gpio, 5);
pprintf(&hdr->storage_gpio, "STORAGE :\n");
- print_normal_gpio_cfg(hdr->storage_gpio, 2);
+ print_normal_gpio_cfg(hdr->storage_gpio, 32);
int i;
for (i = 0; i < 256; i++) {
if (i % 16 == 0) {
@@ -271,7 +271,9 @@ void print_boot1_private_head(boot1_private_head_t *hdr)
pprintf(&hdr->hold_key_min, "Hold key min : %d\n", hdr->hold_key_min);
pprintf(&hdr->hold_key_max, "Hold key max : %d\n", hdr->hold_key_max);
pprintf(&hdr->work_mode, "Work mode : %d\n", hdr->work_mode);
- pprintf(&hdr->storage_type, "Storage : %d\n", hdr->storage_type);
+ pprintf(&hdr->storage_type, "STORAGE :\n");
+ pprintf(&hdr->storage_type, " type : %d\n", hdr->storage_type);
+ print_normal_gpio_cfg(hdr->storage_gpio, 32);
int i;
for (i = 0; i < 256; i++) {
if (i % 16 == 0) {