mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-12-11 20:34:39 +00:00
poplar: Fix GPIO_MAX
Per https://github.com/sdrobertw/Poplar/blob/master/HardwareDocs/Processor_Datasheet_v2XX.pdf there are 13 groups of GPIO controllers, not 12. Signed-off-by: Victor Chong <victor.chong@linaro.org>
This commit is contained in:
parent
211d307c6b
commit
78896ac36e
@ -30,7 +30,7 @@
|
||||
#define TIMER20_BGLOAD (SEC_TIMER2_BASE + 0x018)
|
||||
|
||||
/* GPIO */
|
||||
#define GPIO_MAX (12)
|
||||
#define GPIO_MAX (13)
|
||||
#define GPIO_BASE(x) (x != 5 ? \
|
||||
0xf820000 + x * 0x1000 : 0xf8004000)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user