Skip to content

Commit

Permalink
ARM: mx2/mx27ads: fold board header in its only user
Browse files Browse the repository at this point in the history
Moreover remove unused definitions.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  • Loading branch information
Uwe Kleine-König committed Jun 24, 2010
1 parent d393d43 commit 1faeaab
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 346 deletions.
32 changes: 30 additions & 2 deletions arch/arm/mach-mx2/mach-mx27ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,43 @@
#include <mach/gpio.h>
#include <mach/imx-uart.h>
#include <mach/iomux-mx27.h>
#include <mach/board-mx27ads.h>
#include <mach/mxc_nand.h>
#include <mach/i2c.h>
#include <mach/imxfb.h>
#include <mach/mmc.h>

#include "devices.h"

/*
* Base address of PBC controller, CS4
*/
#define PBC_BASE_ADDRESS 0xf4300000
#define PBC_REG_ADDR(offset) (void __force __iomem *) \
(PBC_BASE_ADDRESS + (offset))

/* When the PBC address connection is fixed in h/w, defined as 1 */
#define PBC_ADDR_SH 0

/* Offsets for the PBC Controller register */
/*
* PBC Board version register offset
*/
#define PBC_VERSION_REG PBC_REG_ADDR(0x00000 >> PBC_ADDR_SH)
/*
* PBC Board control register 1 set address.
*/
#define PBC_BCTRL1_SET_REG PBC_REG_ADDR(0x00008 >> PBC_ADDR_SH)
/*
* PBC Board control register 1 clear address.
*/
#define PBC_BCTRL1_CLEAR_REG PBC_REG_ADDR(0x0000C >> PBC_ADDR_SH)

/* PBC Board Control Register 1 bit definitions */
#define PBC_BCTRL1_LCDON 0x0800 /* Enable the LCD */

/* to determine the correct external crystal reference */
#define CKIH_27MHZ_BIT_SET (1 << 3)

static unsigned int mx27ads_pins[] = {
/* UART0 */
PE12_PF_UART1_TXD,
Expand Down Expand Up @@ -342,4 +371,3 @@ MACHINE_START(MX27ADS, "Freescale i.MX27ADS")
.init_machine = mx27ads_board_init,
.timer = &mx27ads_timer,
MACHINE_END

344 changes: 0 additions & 344 deletions arch/arm/plat-mxc/include/mach/board-mx27ads.h

This file was deleted.

0 comments on commit 1faeaab

Please sign in to comment.