prom.h 713 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Definitions for talking to the Open Firmware PROM on
  3. * Power Macintosh computers.
  4. *
  5. * Copyright (C) 1996-2005 Paul Mackerras.
  6. *
  7. * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp.
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License
  11. * as published by the Free Software Foundation; either version
  12. * 2 of the License, or (at your option) any later version.
  13. */
  14. #ifndef _ASM_MICROBLAZE_PROM_H
  15. #define _ASM_MICROBLAZE_PROM_H
  16. #include <linux/of.h>
  17. /* Other Prototypes */
  18. enum early_consoles {
  19. UARTLITE = 1,
  20. UART16550 = 2,
  21. };
  22. extern int of_early_console(void *version);
  23. #endif /* _ASM_MICROBLAZE_PROM_H */