Commit a0c859c5 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Sascha Hauer

ARM: mx3: remove some useless comments

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent e134fb2b
...@@ -42,10 +42,6 @@ ...@@ -42,10 +42,6 @@
/* CPLD IRQ line for external uart, external ethernet etc */ /* CPLD IRQ line for external uart, external ethernet etc */
#define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX31_PIN_GPIO1_1) #define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX31_PIN_GPIO1_1)
/*
* This file contains the board-specific initialization routines.
*/
static int mx31_3ds_pins[] = { static int mx31_3ds_pins[] = {
/* UART1 */ /* UART1 */
MX31_PIN_CTS1__CTS1, MX31_PIN_CTS1__CTS1,
...@@ -371,10 +367,6 @@ static struct sys_timer mx31_3ds_timer = { ...@@ -371,10 +367,6 @@ static struct sys_timer mx31_3ds_timer = {
.init = mx31_3ds_timer_init, .init = mx31_3ds_timer_init,
}; };
/*
* The following uses standard kernel macros defined in arch.h in order to
* initialize __mach_desc_MX31_3DS data structure.
*/
MACHINE_START(MX31_3DS, "Freescale MX31PDK (3DS)") MACHINE_START(MX31_3DS, "Freescale MX31PDK (3DS)")
/* Maintainer: Freescale Semiconductor, Inc. */ /* Maintainer: Freescale Semiconductor, Inc. */
.boot_params = MX3x_PHYS_OFFSET + 0x100, .boot_params = MX3x_PHYS_OFFSET + 0x100,
......
...@@ -69,9 +69,6 @@ ...@@ -69,9 +69,6 @@
#define EXPIO_INT_XUART_INTB (MXC_EXP_IO_BASE + 11) #define EXPIO_INT_XUART_INTB (MXC_EXP_IO_BASE + 11)
#define MXC_MAX_EXP_IO_LINES 16 #define MXC_MAX_EXP_IO_LINES 16
/*
* This file contains the board-specific initialization routines.
*/
/* /*
* The serial port definition structure. * The serial port definition structure.
...@@ -497,9 +494,7 @@ static void mxc_init_audio(void) ...@@ -497,9 +494,7 @@ static void mxc_init_audio(void)
mxc_iomux_setup_multiple_pins(ssi_pins, ARRAY_SIZE(ssi_pins), "ssi"); mxc_iomux_setup_multiple_pins(ssi_pins, ARRAY_SIZE(ssi_pins), "ssi");
} }
/*! /* static mappings */
* This structure defines static mappings for the i.MX31ADS board.
*/
static struct map_desc mx31ads_io_desc[] __initdata = { static struct map_desc mx31ads_io_desc[] __initdata = {
{ {
.virtual = MX31_CS4_BASE_ADDR_VIRT, .virtual = MX31_CS4_BASE_ADDR_VIRT,
...@@ -509,9 +504,6 @@ static struct map_desc mx31ads_io_desc[] __initdata = { ...@@ -509,9 +504,6 @@ static struct map_desc mx31ads_io_desc[] __initdata = {
}, },
}; };
/*!
* Set up static virtual mappings.
*/
static void __init mx31ads_map_io(void) static void __init mx31ads_map_io(void)
{ {
mx31_map_io(); mx31_map_io();
...@@ -541,10 +533,6 @@ static struct sys_timer mx31ads_timer = { ...@@ -541,10 +533,6 @@ static struct sys_timer mx31ads_timer = {
.init = mx31ads_timer_init, .init = mx31ads_timer_init,
}; };
/*
* The following uses standard kernel macros defined in arch.h in order to
* initialize __mach_desc_MX31ADS data structure.
*/
MACHINE_START(MX31ADS, "Freescale MX31ADS") MACHINE_START(MX31ADS, "Freescale MX31ADS")
/* Maintainer: Freescale Semiconductor, Inc. */ /* Maintainer: Freescale Semiconductor, Inc. */
.boot_params = MX3x_PHYS_OFFSET + 0x100, .boot_params = MX3x_PHYS_OFFSET + 0x100,
......
...@@ -54,10 +54,6 @@ ...@@ -54,10 +54,6 @@
#define QONG_FPGA_IRQ IOMUX_TO_IRQ(MX31_PIN_DTR_DCE1) #define QONG_FPGA_IRQ IOMUX_TO_IRQ(MX31_PIN_DTR_DCE1)
/*
* This file contains the board-specific initialization routines.
*/
static const struct imxuart_platform_data uart_pdata __initconst = { static const struct imxuart_platform_data uart_pdata __initconst = {
.flags = IMXUART_HAVE_RTSCTS, .flags = IMXUART_HAVE_RTSCTS,
}; };
...@@ -263,11 +259,6 @@ static struct sys_timer qong_timer = { ...@@ -263,11 +259,6 @@ static struct sys_timer qong_timer = {
.init = qong_timer_init, .init = qong_timer_init,
}; };
/*
* The following uses standard kernel macros defined in arch.h in order to
* initialize __mach_desc_QONG data structure.
*/
MACHINE_START(QONG, "Dave/DENX QongEVB-LITE") MACHINE_START(QONG, "Dave/DENX QongEVB-LITE")
/* Maintainer: DENX Software Engineering GmbH */ /* Maintainer: DENX Software Engineering GmbH */
.boot_params = MX3x_PHYS_OFFSET + 0x100, .boot_params = MX3x_PHYS_OFFSET + 0x100,
......
...@@ -28,14 +28,6 @@ ...@@ -28,14 +28,6 @@
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/iomux-v3.h> #include <mach/iomux-v3.h>
/*!
* @file mm.c
*
* @brief This file creates static virtual to physical mappings, common to all MX3 boards.
*
* @ingroup Memory
*/
#ifdef CONFIG_SOC_IMX31 #ifdef CONFIG_SOC_IMX31
static struct map_desc mx31_io_desc[] __initdata = { static struct map_desc mx31_io_desc[] __initdata = {
imx_map_entry(MX31, X_MEMC, MT_DEVICE), imx_map_entry(MX31, X_MEMC, MT_DEVICE),
...@@ -135,4 +127,3 @@ static int mxc_init_l2x0(void) ...@@ -135,4 +127,3 @@ static int mxc_init_l2x0(void)
arch_initcall(mxc_init_l2x0); arch_initcall(mxc_init_l2x0);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment