pq2ads.c 661 B

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