board-dt-8960.c 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* Copyright (c) 2012, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #include <linux/init.h>
  13. #include <linux/of_platform.h>
  14. #include <asm/mach/arch.h>
  15. #include "common.h"
  16. static void __init msm_dt_init(void)
  17. {
  18. of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
  19. }
  20. static const char * const msm8960_dt_match[] __initconst = {
  21. "qcom,msm8960-cdp",
  22. NULL
  23. };
  24. DT_MACHINE_START(MSM8960_DT, "Qualcomm MSM (Flattened Device Tree)")
  25. .smp = smp_ops(msm_smp_ops),
  26. .map_io = msm_map_msm8960_io,
  27. .init_time = msm_dt_timer_init,
  28. .init_machine = msm_dt_init,
  29. .dt_compat = msm8960_dt_match,
  30. MACHINE_END