]> Zhao Yanbai Git Server - minix.git/commit
kernel: i2c padconf workaround 75/675/1
authorThomas Cort <tcort@minix3.org>
Mon, 15 Jul 2013 14:28:58 +0000 (10:28 -0400)
committerThomas Cort <tcort@minix3.org>
Mon, 15 Jul 2013 15:11:13 +0000 (11:11 -0400)
commit2dab6a538495c0cb126be1ea65a3d7aac8afb682
tree1c881415483902265c4e30666122c764491245b2
parentbb65c81387ce11795662edef9277215c1eae8158
kernel: i2c padconf workaround

The padconf library runs in user mode, but to actually affect the
padconf register contents, the processor has to be in privileged
mode. A full server based solution will be developed, but for now
just set the pinmux in the kernel at boot.

Change-Id: I170ed54dae64b27cd9bd8807445231598fb8e3e1
kernel/arch/earm/Makefile.inc
kernel/arch/earm/arch_system.c
kernel/arch/earm/omap_padconf.c [new file with mode: 0644]
kernel/arch/earm/omap_padconf.h [new file with mode: 0644]
kernel/arch/earm/omap_padconf_registers.h [new file with mode: 0644]