~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to arch/arm/mach-dove/include/mach/uncompress.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno, Martin Michlmayr
  • Date: 2011-04-06 13:53:30 UTC
  • mfrom: (43.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110406135330-wjufxhd0tvn3zx4z
Tags: 2.6.38-3
[ Ben Hutchings ]
* [ppc64] Add to linux-tools package architectures (Closes: #620124)
* [amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
* appletalk: Fix bugs introduced when removing use of BKL
* ALSA: Fix yet another race in disconnection
* cciss: Fix lost command issue
* ath9k: Fix kernel panic in AR2427
* ses: Avoid kernel panic when lun 0 is not mapped
* PCI/ACPI: Report ASPM support to BIOS if not disabled from command line

[ Aurelien Jarno ]
* rtlwifi: fix build when PCI is not enabled.

[ Martin Michlmayr ]
* rtlwifi: Eliminate udelay calls with too large values (Closes: #620204)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * arch/arm/mach-dove/include/mach/uncompress.h
 
3
 *
 
4
 * This file is licensed under the terms of the GNU General Public
 
5
 * License version 2.  This program is licensed "as is" without any
 
6
 * warranty of any kind, whether express or implied.
 
7
 */
 
8
 
 
9
#include <mach/dove.h>
 
10
 
 
11
#define UART_THR ((volatile unsigned char *)(DOVE_UART0_PHYS_BASE + 0x0))
 
12
#define UART_LSR ((volatile unsigned char *)(DOVE_UART0_PHYS_BASE + 0x14))
 
13
 
 
14
#define LSR_THRE        0x20
 
15
 
 
16
static void putc(const char c)
 
17
{
 
18
        int i;
 
19
 
 
20
        for (i = 0; i < 0x1000; i++) {
 
21
                /* Transmit fifo not full? */
 
22
                if (*UART_LSR & LSR_THRE)
 
23
                        break;
 
24
        }
 
25
 
 
26
        *UART_THR = c;
 
27
}
 
28
 
 
29
static void flush(void)
 
30
{
 
31
}
 
32
 
 
33
/*
 
34
 * nothing to do
 
35
 */
 
36
#define arch_decomp_setup()
 
37
#define arch_decomp_wdog()