Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201608
b: refs/heads/master
c: 1faeaab
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König committed Jun 24, 2010
1 parent 74460f6 commit f4dc7f1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 347 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d393d43ff799a1ac3766cdbca9a6367cb8c02db9
refs/heads/master: 1faeaab27b0b9d35acb3ce3a333cb38a30136a11
32 changes: 30 additions & 2 deletions trunk/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 trunk/arch/arm/plat-mxc/include/mach/board-mx27ads.h

This file was deleted.

0 comments on commit f4dc7f1

Please sign in to comment.