s3c6400-init.c 817 B

1234567891011121314151617181920212223242526272829
  1. /* linux/arch/arm/plat-s3c64xx/s3c6400-init.c
  2. *
  3. * Copyright 2008 Openmoko, Inc.
  4. * Copyright 2008 Simtec Electronics
  5. * Ben Dooks <ben@simtec.co.uk>
  6. * http://armlinux.simtec.co.uk/
  7. *
  8. * S3C6400 - CPU initialisation (common with other S3C64XX chips)
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. #include <linux/kernel.h>
  15. #include <linux/types.h>
  16. #include <linux/init.h>
  17. #include <plat/cpu.h>
  18. #include <plat/devs.h>
  19. #include <plat/s3c6400.h>
  20. #include <plat/s3c6410.h>
  21. /* uart registration process */
  22. void __init s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
  23. {
  24. s3c24xx_init_uartdevs("s3c6400-uart", s3c64xx_uart_resources, cfg, no);
  25. }