setup-emev2.c 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Emma Mobile EV2 processor support
  3. *
  4. * Copyright (C) 2012 Magnus Damm
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; version 2 of the License.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. #include <linux/kernel.h>
  16. #include <linux/init.h>
  17. #include <linux/mm.h>
  18. #include <asm/mach-types.h>
  19. #include <asm/mach/arch.h>
  20. #include <asm/mach/map.h>
  21. #include "common.h"
  22. #include "emev2.h"
  23. static const char *const emev2_boards_compat_dt[] __initconst = {
  24. "renesas,emev2",
  25. NULL,
  26. };
  27. DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)")
  28. .smp = smp_ops(emev2_smp_ops),
  29. .init_early = shmobile_init_delay,
  30. .init_late = shmobile_init_late,
  31. .dt_compat = emev2_boards_compat_dt,
  32. MACHINE_END