Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
ab61a685
Commit
ab61a685
authored
Nov 04, 2011
by
Paul Mundt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rmobile/kota2' into rmobile-latest
parents
d6363844
8722c996
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
461 additions
and
4 deletions
+461
-4
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/Kconfig
+7
-0
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/Makefile
+1
-0
arch/arm/mach-shmobile/board-kota2.c
arch/arm/mach-shmobile/board-kota2.c
+447
-0
arch/arm/mach-shmobile/platsmp.c
arch/arm/mach-shmobile/platsmp.c
+6
-4
No files found.
arch/arm/mach-shmobile/Kconfig
View file @
ab61a685
...
...
@@ -69,6 +69,11 @@ config MACH_MACKEREL
depends on ARCH_SH7372
select ARCH_REQUIRE_GPIOLIB
config MACH_KOTA2
bool "KOTA2 board"
select ARCH_REQUIRE_GPIOLIB
depends on ARCH_SH73A0
comment "SH-Mobile System Configuration"
menu "Memory configuration"
...
...
@@ -78,6 +83,7 @@ config MEMORY_START
default "0x50000000" if MACH_G3EVM
default "0x40000000" if MACH_G4EVM || MACH_AP4EVB || MACH_AG5EVM || \
MACH_MACKEREL
default "0x41000000" if MACH_KOTA2
default "0x00000000"
---help---
Tweak this only when porting to a new machine which does not
...
...
@@ -89,6 +95,7 @@ config MEMORY_SIZE
default "0x08000000" if MACH_G3EVM
default "0x08000000" if MACH_G4EVM
default "0x20000000" if MACH_AG5EVM
default "0x1e000000" if MACH_KOTA2
default "0x10000000" if MACH_AP4EVB || MACH_MACKEREL
default "0x04000000"
help
...
...
arch/arm/mach-shmobile/Makefile
View file @
ab61a685
...
...
@@ -41,6 +41,7 @@ obj-$(CONFIG_MACH_G4EVM) += board-g4evm.o
obj-$(CONFIG_MACH_AP4EVB)
+=
board-ap4evb.o
obj-$(CONFIG_MACH_AG5EVM)
+=
board-ag5evm.o
obj-$(CONFIG_MACH_MACKEREL)
+=
board-mackerel.o
obj-$(CONFIG_MACH_KOTA2)
+=
board-kota2.o
# Framework support
obj-$(CONFIG_SMP)
+=
$
(
smp-y
)
...
...
arch/arm/mach-shmobile/board-kota2.c
0 → 100644
View file @
ab61a685
This diff is collapsed.
Click to expand it.
arch/arm/mach-shmobile/platsmp.c
View file @
ab61a685
...
...
@@ -21,9 +21,11 @@
#include <asm/mach-types.h>
#include <mach/common.h>
#define is_sh73a0() (machine_is_ag5evm() || machine_is_kota2())
static
unsigned
int
__init
shmobile_smp_get_core_count
(
void
)
{
if
(
machine_is_ag5evm
())
if
(
is_sh73a0
())
return
sh73a0_get_core_count
();
return
1
;
...
...
@@ -31,7 +33,7 @@ static unsigned int __init shmobile_smp_get_core_count(void)
static
void
__init
shmobile_smp_prepare_cpus
(
void
)
{
if
(
machine_is_ag5evm
())
if
(
is_sh73a0
())
sh73a0_smp_prepare_cpus
();
}
...
...
@@ -39,13 +41,13 @@ void __cpuinit platform_secondary_init(unsigned int cpu)
{
trace_hardirqs_off
();
if
(
machine_is_ag5evm
())
if
(
is_sh73a0
())
sh73a0_secondary_init
(
cpu
);
}
int
__cpuinit
boot_secondary
(
unsigned
int
cpu
,
struct
task_struct
*
idle
)
{
if
(
machine_is_ag5evm
())
if
(
is_sh73a0
())
return
sh73a0_boot_secondary
(
cpu
);
return
-
ENOSYS
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment