meson.c 919 B

1234567891011121314151617181920212223242526272829303132
  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. "amlogic,meson8m2",
  22. NULL,
  23. };
  24. DT_MACHINE_START(MESON, "Amlogic Meson platform")
  25. .dt_compat = meson_common_board_compat,
  26. .l2c_aux_val = 0,
  27. .l2c_aux_mask = ~0,
  28. MACHINE_END