Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / asm-arm / arch-ns9xxx / uncompress.h
blob961ca7dc99543b3a5fac4a4d92e571a0b4c9e671
1 /*
2 * include/asm-arm/arch-ns9xxx/uncompress.h
4 * Copyright (C) 2006 by Digi International Inc.
5 * All rights reserved.
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
11 #ifndef __ASM_ARCH_UNCOMPRESS_H
12 #define __ASM_ARCH_UNCOMPRESS_H
14 static void putc(char c)
16 volatile u8 *base = (volatile u8 *)0x40000000;
17 int t = 0x10000;
19 do {
20 if (base[5] & 0x20) {
21 base[0] = c;
22 break;
24 } while (--t);
27 #define arch_decomp_setup()
28 #define arch_decomp_wdog()
30 static void flush(void)
32 /* nothing */
35 #endif /* ifndef __ASM_ARCH_UNCOMPRESS_H */