Running a board with a Davinci 814x chip. Trying to access GPIO pins from u-boot. I put the following in the second stage of u-boot.
printf("about to write 0x00000004 into 0x%x\n", base + OMAP4_GPIO_SYSCONFIG);
__raw_writel(0x4, base + OMAP4_GPIO_SYSCONFIG);
output is
about to write 0x00000004 into 0x48032010
then hang. (no register dump). similar behavior for just about anything in any GPIO register. I'm calling this right after the mux set_muxconf_regs(); call. The GPIOs work fine once Linux booted. I can't figure out what Linux is doing to get access to the GPIO control registers.
thanks,
Chris