Changeset 6be2c13 in mainline for kernel/genarch/include/genarch/drivers/amdm37x/gpt.h
- Timestamp:
- 2018-03-16T20:58:20Z (6 years ago)
- Parents:
- 973be387 (diff), 4b1c7c6f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-16 20:58:20)
- git-committer:
- GitHub <noreply@…> (2018-03-16 20:58:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/genarch/drivers/amdm37x/gpt.h
r973be387 r6be2c13 208 208 // TODO find a nicer way to setup 32kHz clock source for timer1 209 209 // reg 0x48004C40 is CM_CLKSEL_WKUP see page 485 of the manual 210 ioport32_t *clksel = (void*) km_map(0x48004C40, 4, PAGE_NOT_CACHEABLE);210 ioport32_t *clksel = (void*) km_map(0x48004C40, 4, 0); 211 211 *clksel &= ~1; 212 212 km_unmap((uintptr_t)clksel, 4); … … 214 214 assert(timer); 215 215 /* Map control register */ 216 timer->regs = (void*) km_map(ioregs, iosize, PAGE_NOT_CACHEABLE);216 timer->regs = (void*) km_map(ioregs, iosize, 0); 217 217 218 218 /* Reset the timer */
Note:
See TracChangeset
for help on using the changeset viewer.