gpio: port to am335x

* port libgpio to am335x.
 * increase NR_IRQ to 16 to avoid too many IRQs requested error.
 * move gpio binary to /sbin (that's where mount looks for drivers).
 * fix bug that re-enabled banks that were disabled due to bad revision.
 * fix padconf masks for dm37xx in gpio driver (should be 16-bit).
 * fix a few typos in README.txt and comments.

Change-Id: I32374415a97135174c5224f76374a870909fa90c
This commit is contained in:
Thomas Cort
2013-09-03 07:47:59 -04:00
parent 74bc88581c
commit 0a9eab0bb6
8 changed files with 303 additions and 109 deletions

View File

@@ -63,7 +63,7 @@
#define NR_MEM_RANGE 20
/* Max. number of IRQs that can be assigned to a process */
#define NR_IRQ 8
#define NR_IRQ 16
/* Scheduling priorities. Values must start at zero (highest
* priority) and increment.