meson.c 898 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (C) 2014 Carlo Caione <carlo@caione.org>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. * more details.
  13. *
  14. */
  15. #include <linux/of_platform.h>
  16. #include <asm/mach/arch.h>
  17. static const char * const meson_common_board_compat[] = {
  18. "amlogic,meson6",
  19. "amlogic,meson8",
  20. "amlogic,meson8b",
  21. NULL,
  22. };
  23. DT_MACHINE_START(MESON, "Amlogic Meson platform")
  24. .dt_compat = meson_common_board_compat,
  25. .l2c_aux_val = 0,
  26. .l2c_aux_mask = ~0,
  27. MACHINE_END