stage2/task_gpio.c | raw changeset files shortlog |
1.1 --- a/stage2/task_gpio.c Wed Jun 28 01:04:22 2017 +0200 1.2 +++ b/stage2/task_gpio.c Wed Jun 28 16:31:54 2017 +0200 1.3 @@ -30,7 +30,7 @@ 1.4 1.5 /* Map the I/O region to the task. */ 1.6 1.7 - for (virtual = TASK_GPIO_BASE, physical = GPIO_BASE; 1.8 + for (virtual = TASK_GPIO_BASE, physical = GPIO_BASE_PHYSICAL; 1.9 virtual < (uint32_t) TASK_GPIO_BASE + (uint32_t) GPIO_REGION_SIZE; 1.10 virtual += page_size(STAGE2_PAGESIZE), physical += page_size(STAGE2_PAGESIZE)) 1.11 {