-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ARCH_ACTIONS and mach-actions/owl.c for "actions,s500". Signed-off-by: Andreas Färber <afaerber@suse.de>
- Loading branch information
Andreas Färber
committed
Jun 21, 2017
1 parent
2ea659a
commit 6bb8536
Showing
5 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
menuconfig ARCH_ACTIONS | ||
bool "Actions Semi SoCs" | ||
depends on ARCH_MULTI_V7 | ||
select ARM_AMBA | ||
select ARM_GIC | ||
select ARM_GLOBAL_TIMER | ||
select CACHE_L2X0 | ||
select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK | ||
select COMMON_CLK | ||
select GENERIC_IRQ_CHIP | ||
select HAVE_ARM_SCU if SMP | ||
select HAVE_ARM_TWD if SMP | ||
select OWL_TIMER | ||
help | ||
This enables support for the Actions Semiconductor S500 SoC family. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-y += owl.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright (C) 2017 Andreas Färber | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
*/ | ||
|
||
#include <linux/of_platform.h> | ||
#include <asm/mach/arch.h> | ||
|
||
static const char * const owl_dt_compat[] = { | ||
"actions,s500", | ||
NULL | ||
}; | ||
|
||
DT_MACHINE_START(OWL, "Actions Semi Owl platform") | ||
.dt_compat = owl_dt_compat, | ||
.l2c_aux_val = 0, | ||
.l2c_aux_mask = ~0, | ||
MACHINE_END |