pq2ads.c 628 B

123456789101112131415161718192021222324
  1. /*
  2. * PQ2ADS platform support
  3. *
  4. * Author: Kumar Gala <galak@kernel.crashing.org>
  5. * Derived from: est8260_setup.c by Allen Curtis
  6. *
  7. * Copyright 2004 Freescale Semiconductor, Inc.
  8. *
  9. * This program is free software; you can redistribute it and/or modify it
  10. * under the terms of the GNU General Public License as published by the
  11. * Free Software Foundation; either version 2 of the License, or (at your
  12. * option) any later version.
  13. */
  14. #include <linux/init.h>
  15. #include <asm/mpc8260.h>
  16. void __init
  17. m82xx_board_setup(void)
  18. {
  19. /* Enable the 2nd UART port */
  20. *(volatile uint *)(BCSR_ADDR + 4) &= ~BCSR1_RS232_EN2;
  21. }