This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]