Date: Thu, 25 Feb 2010 14:53:15 GMT From: Rafal Jaworowski <raj@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 175075 for review Message-ID: <201002251453.o1PErFhD080195@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=175075 Change 175075 by raj@raj_fdt on 2010/02/25 14:53:13 Enable FDT support for SHEEVAPLUG kernel (and clean up) Affected files ... .. //depot/projects/fdt/sys/arm/conf/SHEEVAPLUG#2 edit .. //depot/projects/fdt/sys/arm/mv/kirkwood/sheevaplug.c#2 edit Differences ... ==== //depot/projects/fdt/sys/arm/conf/SHEEVAPLUG#2 (text+ko) ==== @@ -13,6 +13,7 @@ #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols makeoptions WERROR="-Werror" +options FDT #Flattened Device Tree options SCHED_4BSD #4BSD scheduler options INET #InterNETworking options INET6 #IPv6 communications protocols ==== //depot/projects/fdt/sys/arm/mv/kirkwood/sheevaplug.c#2 (text+ko) ==== @@ -94,50 +94,6 @@ { 0, 0, 0, 0, 0, } }; -const struct gpio_config mv_gpio_config[] = { - { -1, -1, -1 } -}; - -void -platform_mpp_init(void) -{ - - /* - * MPP configuration for Sheeva Plug - * - * MPP[0]: NF_IO[2] - * MPP[1]: NF_IO[3] - * MPP[2]: NF_IO[4] - * MPP[3]: NF_IO[5] - * MPP[4]: NF_IO[6] - * MPP[5]: NF_IO[7] - * MPP[6]: SYSRST_OUTn - * MPP[8]: UA0_RTS - * MPP[9]: UA0_CTS - * MPP[10]: UA0_TXD - * MPP[11]: UA0_RXD - * MPP[12]: SD_CLK - * MPP[13]: SD_CMD - * MPP[14]: SD_D[0] - * MPP[15]: SD_D[1] - * MPP[16]: SD_D[2] - * MPP[17]: SD_D[3] - * MPP[18]: NF_IO[0] - * MPP[19]: NF_IO[1] - * MPP[29]: TSMP[9] - * - * Others: GPIO - */ - - bus_space_write_4(obio_tag, MV_MPP_BASE, MPP_CONTROL0, 0x01111111); - bus_space_write_4(obio_tag, MV_MPP_BASE, MPP_CONTROL1, 0x11113322); - bus_space_write_4(obio_tag, MV_MPP_BASE, MPP_CONTROL2, 0x00001111); - bus_space_write_4(obio_tag, MV_MPP_BASE, MPP_CONTROL3, 0x00100000); - bus_space_write_4(obio_tag, MV_MPP_BASE, MPP_CONTROL4, 0x00000000); - bus_space_write_4(obio_tag, MV_MPP_BASE, MPP_CONTROL5, 0x00000000); - bus_space_write_4(obio_tag, MV_MPP_BASE, MPP_CONTROL6, 0x00000000); -} - static void platform_identify(void *dummy) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002251453.o1PErFhD080195>