setup-r8a7791.c 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * r8a7791 processor support
  3. *
  4. * Copyright (C) 2013 Renesas Electronics Corporation
  5. * Copyright (C) 2013 Renesas Solutions Corp.
  6. * Copyright (C) 2013 Magnus Damm
  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 as published by
  10. * the Free Software Foundation; version 2 of the License.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. */
  17. #include <linux/init.h>
  18. #include <asm/mach/arch.h>
  19. #include "common.h"
  20. #include "r8a7791.h"
  21. #include "rcar-gen2.h"
  22. static const char *const r8a7791_boards_compat_dt[] __initconst = {
  23. "renesas,r8a7791",
  24. NULL,
  25. };
  26. DT_MACHINE_START(R8A7791_DT, "Generic R8A7791 (Flattened Device Tree)")
  27. .smp_init = smp_init_ops(shmobile_smp_init_fallback_ops),
  28. .smp = smp_ops(r8a7791_smp_ops),
  29. .init_early = shmobile_init_delay,
  30. .init_time = rcar_gen2_timer_init,
  31. .init_late = shmobile_init_late,
  32. .reserve = rcar_gen2_reserve,
  33. .dt_compat = r8a7791_boards_compat_dt,
  34. MACHINE_END