PERFORCE change 175075 for review
Rafal Jaworowski
raj at FreeBSD.org
Thu Feb 25 14:53:16 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=175075
Change 175075 by raj at 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)
{
More information about the p4-projects
mailing list