b6795fa9fd
Changes made as suggested by Eric Miao (including fix to map_io silly mistake!). Originally designed by Intel, now sold by Crossbow (www.xbow.com). Very little actually on board. The patch includes sensors and similar as found on commonly occurring daughter boards. Some of the drivers are not in mainline as yet as they are either part of the IIO subsystem or need a lot of work before submission. What is the position wrt to putting them in i2c board configs etc? Support for these boards has been maintained outside the kernel for a long time, but now that there is a good da9030 pmic driver available the last major hurdle no longer exists. All comments welcomed. The Imote2's big brother (stargate2) will follow once any problems with this one have been cleaned up and a few bits and bobs have been added to the da903x driver. Hopefully the cc2420 driver will get cleaned up and submitted in the not too distant future as well. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Eric Miao <eric.miao@marvell.com>
46 lines
910 B
C
46 lines
910 B
C
/*
|
|
* arch/arm/mach-pxa/include/mach/uncompress.h
|
|
*
|
|
* Author: Nicolas Pitre
|
|
* Copyright: (C) 2001 MontaVista Software Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <linux/serial_reg.h>
|
|
#include <mach/regs-uart.h>
|
|
#include <asm/mach-types.h>
|
|
|
|
#define __REG(x) ((volatile unsigned long *)x)
|
|
|
|
static volatile unsigned long *UART = FFUART;
|
|
|
|
static inline void putc(char c)
|
|
{
|
|
if (!(UART[UART_IER] & IER_UUE))
|
|
return;
|
|
while (!(UART[UART_LSR] & LSR_TDRQ))
|
|
barrier();
|
|
UART[UART_TX] = c;
|
|
}
|
|
|
|
/*
|
|
* This does not append a newline
|
|
*/
|
|
static inline void flush(void)
|
|
{
|
|
}
|
|
|
|
static inline void arch_decomp_setup(void)
|
|
{
|
|
if (machine_is_littleton() || machine_is_intelmote2())
|
|
UART = STUART;
|
|
}
|
|
|
|
/*
|
|
* nothing to do
|
|
*/
|
|
#define arch_decomp_wdog()
|