setup.c 583 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * linux/arch/sh/kernel/setup_rts7751r2d.c
  3. *
  4. * Copyright (C) 2000 Kazumoto Kojima
  5. *
  6. * Renesas Technology Sales RTS7751R2D Support.
  7. *
  8. * Modified for RTS7751R2D by
  9. * Atom Create Engineering Co., Ltd. 2002.
  10. */
  11. #include <linux/init.h>
  12. #include <asm/io.h>
  13. #include <asm/rts7751r2d/rts7751r2d.h>
  14. unsigned int debug_counter;
  15. const char *get_system_type(void)
  16. {
  17. return "RTS7751R2D";
  18. }
  19. /*
  20. * Initialize the board
  21. */
  22. void __init platform_setup(void)
  23. {
  24. printk(KERN_INFO "Renesas Technology Sales RTS7751R2D support.\n");
  25. ctrl_outw(0x0000, PA_OUTPORT);
  26. debug_counter = 0;
  27. }