s5pc100-init.c 796 B

123456789101112131415161718192021222324252627
  1. /* linux/arch/arm/plat-s5pc1xx/s5pc100-init.c
  2. *
  3. * Copyright 2009 Samsung Electronics Co.
  4. * Byungho Min <bhmin@samsung.com>
  5. *
  6. * S5PC100 - CPU initialisation (common with other S5PC1XX chips)
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #include <linux/kernel.h>
  13. #include <linux/types.h>
  14. #include <linux/init.h>
  15. #include <plat/cpu.h>
  16. #include <plat/devs.h>
  17. #include <plat/s5pc100.h>
  18. /* uart registration process */
  19. void __init s5pc100_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
  20. {
  21. /* The driver name is s3c6400-uart to reuse s3c6400_serial_drv */
  22. s3c24xx_init_uartdevs("s3c6400-uart", s5pc1xx_uart_resources, cfg, no);
  23. }