-
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.
ARM: S5P6440: Add new Kconfig and Makefiles
This patch adds the Kconfig and Makefile for the new S5P6440 machine and platform directories. It also updates arch/arm Kconfig and Makefiles to include the support for the new S5P6440 CPU. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
- Loading branch information
Kukjin Kim
authored and
Ben Dooks
committed
Jan 15, 2010
1 parent
5f3545f
commit c4ffccd
Showing
7 changed files
with
120 additions
and
1 deletion.
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,23 @@ | ||
# arch/arm/mach-s5p6440/Kconfig | ||
# | ||
# Copyright (c) 2009 Samsung Electronics Co., Ltd. | ||
# http://www.samsung.com/ | ||
# | ||
# Licensed under GPLv2 | ||
|
||
if ARCH_S5P6440 | ||
|
||
config CPU_S5P6440 | ||
bool | ||
select CPU_S5P6440_INIT | ||
select CPU_S5P6440_CLOCK | ||
help | ||
Enable S5P6440 CPU support | ||
|
||
config MACH_SMDK6440 | ||
bool "SMDK6440" | ||
select CPU_S5P6440 | ||
help | ||
Machine support for the Samsung SMDK6440 | ||
|
||
endif |
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,19 @@ | ||
# arch/arm/mach-s5p6440/Makefile | ||
# | ||
# Copyright (c) 2009 Samsung Electronics Co., Ltd. | ||
# http://www.samsung.com/ | ||
# | ||
# Licensed under GPLv2 | ||
|
||
obj-y := | ||
obj-m := | ||
obj-n := | ||
obj- := | ||
|
||
# Core support for S5P6440 system | ||
|
||
obj-$(CONFIG_CPU_S5P6440) += cpu.o | ||
|
||
# machine support | ||
|
||
obj-$(CONFIG_MACH_SMDK6440) += mach-smdk6440.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,2 @@ | ||
zreladdr-y := 0x20008000 | ||
params_phys-y := 0x20000100 |
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,38 @@ | ||
# arch/arm/plat-s5p/Kconfig | ||
# | ||
# Copyright (c) 2009 Samsung Electronics Co., Ltd. | ||
# http://www.samsung.com/ | ||
# | ||
# Licensed under GPLv2 | ||
|
||
config PLAT_S5P | ||
bool | ||
depends on ARCH_S5P6440 | ||
default y | ||
select PLAT_S3C | ||
select ARM_VIC | ||
select NO_IOPORT | ||
select ARCH_REQUIRE_GPIOLIB | ||
select S3C_GPIO_TRACK | ||
select PLAT_SAMSUNG | ||
select SAMSUNG_CLKSRC | ||
select SAMSUNG_IRQ_VIC_TIMER | ||
select SAMSUNG_IRQ_UART | ||
help | ||
Base platform code for Samsung's S5P series SoC. | ||
|
||
if (PLAT_S5P && ARCH_S5P6440) | ||
|
||
# Configuration options shared by all S5P64XX implementations | ||
|
||
config CPU_S5P6440_INIT | ||
bool | ||
help | ||
Initialisation code for the S5P6440. | ||
|
||
config CPU_S5P6440_CLOCK | ||
bool | ||
help | ||
Clock support code for the S5P6440. | ||
|
||
endif |
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,24 @@ | ||
# arch/arm/plat-s5p/Makefile | ||
# | ||
# Copyright (c) 2009 Samsung Electronics Co., Ltd. | ||
# http://www.samsung.com/ | ||
# | ||
# Licensed under GPLv2 | ||
|
||
obj-y := | ||
obj-m := | ||
obj-n := dummy.o | ||
obj- := | ||
|
||
# Core files | ||
|
||
obj-y += dev-uart.o | ||
obj-y += cpu.o | ||
obj-y += clock.o | ||
obj-y += irq.o | ||
obj-y += setup-i2c0.o | ||
|
||
# CPU support | ||
|
||
obj-$(CONFIG_CPU_S5P6440_INIT) += s5p6440-init.o | ||
obj-$(CONFIG_CPU_S5P6440_CLOCK) += s5p6440-clock.o |