uncompress.h 812 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. #define FFUART ((volatile unsigned long *)0x40100000)
  12. #define BTUART ((volatile unsigned long *)0x40200000)
  13. #define STUART ((volatile unsigned long *)0x40700000)
  14. #define HWUART ((volatile unsigned long *)0x41600000)
  15. #define UART FFUART
  16. static inline void putc(char c)
  17. {
  18. while (!(UART[5] & 0x20))
  19. barrier();
  20. UART[0] = c;
  21. }
  22. /*
  23. * This does not append a newline
  24. */
  25. static inline void flush(void)
  26. {
  27. }
  28. /*
  29. * nothing to do
  30. */
  31. #define arch_decomp_setup()
  32. #define arch_decomp_wdog()