uncompress.h 762 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * linux/include/asm-arm/arch-pxa/uncompress.h
  3. *
  4. * Author: Nicolas Pitre
  5. * Copyright: (C) 2001 MontaVista Software Inc.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #include <linux/serial_reg.h>
  12. #include <asm/arch/pxa-regs.h>
  13. #define __REG(x) ((volatile unsigned long *)x)
  14. #define UART FFUART
  15. static inline void putc(char c)
  16. {
  17. if (!(UART[UART_IER] & IER_UUE))
  18. return;
  19. while (!(UART[UART_LSR] & LSR_TDRQ))
  20. barrier();
  21. UART[UART_TX] = c;
  22. }
  23. /*
  24. * This does not append a newline
  25. */
  26. static inline void flush(void)
  27. {
  28. }
  29. /*
  30. * nothing to do
  31. */
  32. #define arch_decomp_setup()
  33. #define arch_decomp_wdog()