This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] sim: bfin: add missing GPIO pin 15
- From: Mike Frysinger <vapier at gentoo dot org>
- To: gdb-patches at sourceware dot org
- Cc: toolchain-devel at blackfin dot uclinux dot org
- Date: Mon, 11 Apr 2011 01:21:46 -0400
- Subject: [PATCH] sim: bfin: add missing GPIO pin 15
Each GPIO block has 16 pins, and I only added 15 in the original
port list. So add the missing 16th.
Committed.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-04-11 Mike Frysinger <vapier@gentoo.org>
* dv-bfin_gpio.c (bfin_gpio_ports): Add p15.
---
sim/bfin/dv-bfin_gpio.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sim/bfin/dv-bfin_gpio.c b/sim/bfin/dv-bfin_gpio.c
index 6847b52..23d2610 100644
--- a/sim/bfin/dv-bfin_gpio.c
+++ b/sim/bfin/dv-bfin_gpio.c
@@ -187,6 +187,7 @@ static const struct hw_port_descriptor bfin_gpio_ports[] =
{ "p12", 12, 0, input_port, },
{ "p13", 13, 0, input_port, },
{ "p14", 14, 0, input_port, },
+ { "p15", 15, 0, input_port, },
{ NULL, 0, 0, 0, },
};
--
1.7.5.rc1