Markus Mayer | c3ceebd | 2014-03-06 17:18:13 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 Broadcom Corporation |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License as |
| 6 | * published by the Free Software Foundation version 2. |
| 7 | * |
| 8 | * This program is distributed "as is" WITHOUT ANY WARRANTY of any |
| 9 | * kind, whether express or implied; without even the implied warranty |
| 10 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
Markus Mayer | c3ceebd | 2014-03-06 17:18:13 +0800 | [diff] [blame] | 14 | #include <asm/mach/arch.h> |
| 15 | |
Alex Elder | eeda4cb | 2014-04-21 16:53:11 -0500 | [diff] [blame] | 16 | #include "kona_l2_cache.h" |
Markus Mayer | c3ceebd | 2014-03-06 17:18:13 +0800 | [diff] [blame] | 17 | |
Markus Mayer | c3ceebd | 2014-03-06 17:18:13 +0800 | [diff] [blame] | 18 | static void __init bcm21664_init(void) |
| 19 | { |
Markus Mayer | c3ceebd | 2014-03-06 17:18:13 +0800 | [diff] [blame] | 20 | kona_l2_cache_init(); |
| 21 | } |
| 22 | |
| 23 | static const char * const bcm21664_dt_compat[] = { |
| 24 | "brcm,bcm21664", |
| 25 | NULL, |
| 26 | }; |
| 27 | |
| 28 | DT_MACHINE_START(BCM21664_DT, "BCM21664 Broadcom Application Processor") |
| 29 | .init_machine = bcm21664_init, |
Markus Mayer | c3ceebd | 2014-03-06 17:18:13 +0800 | [diff] [blame] | 30 | .dt_compat = bcm21664_dt_compat, |
| 31 | MACHINE_END |