forked from torvalds/linux
-
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: S5PC100: Kconfigs and Makefiles
S5PC100 is a new SoC with ARM coretex-A8 and numerous peripherals. This SoC is successor of S3C64XX. S5PC100 has peripherals which are still similar to S3C families so some drivers in "arch/arm/plat-s3c" can be shared. S5PC100 specific drivers will be added in "arch/arm/plat-s5pcxx" or "arch/arm/mach-s5pc100" Signed-off-by: Byungho Min <[email protected]> [[email protected]: tidy and edit description] Signed-off-by: Ben Dooks <[email protected]>
- Loading branch information
1 parent
c1cc3db
commit 5a7652f
Showing
8 changed files
with
133 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,22 @@ | ||
# arch/arm/mach-s5pc100/Kconfig | ||
# | ||
# Copyright 2009 Samsung Electronics Co. | ||
# Byungho Min <[email protected]> | ||
# | ||
# Licensed under GPLv2 | ||
|
||
# Configuration options for the S5PC100 CPU | ||
|
||
config CPU_S5PC100 | ||
bool | ||
select CPU_S5PC100_INIT | ||
select CPU_S5PC100_CLOCK | ||
help | ||
Enable S5PC100 CPU support | ||
|
||
config MACH_SMDKC100 | ||
bool "SMDKC100" | ||
select CPU_S5PC100 | ||
select S5PC1XX_SETUP_I2C1 | ||
help | ||
Machine support for the Samsung SMDKC100 |
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,17 @@ | ||
# arch/arm/mach-s5pc100/Makefile | ||
# | ||
# Copyright 2009 Samsung Electronics Co. | ||
# | ||
# Licensed under GPLv2 | ||
|
||
obj-y := | ||
obj-m := | ||
obj-n := | ||
obj- := | ||
|
||
# Core support for S5PC100 system | ||
|
||
obj-$(CONFIG_CPU_S5PC100) += cpu.o | ||
|
||
# machine support | ||
obj-$(CONFIG_MACH_SMDKC100) += mach-smdkc100.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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Copyright 2009 Samsung Electronics Co. | ||
* Byungho Min <[email protected]> | ||
* | ||
* S3C6400 - Hardware support | ||
* S5PC100 - Hardware support | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_HARDWARE_H | ||
|
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,50 @@ | ||
# arch/arm/plat-s5pc1xx/Kconfig | ||
# | ||
# Copyright 2009 Samsung Electronics Co. | ||
# Byungho Min <[email protected]> | ||
# | ||
# Licensed under GPLv2 | ||
|
||
config PLAT_S5PC1XX | ||
bool | ||
depends on ARCH_S5PC1XX | ||
default y | ||
select PLAT_S3C | ||
select ARM_VIC | ||
select NO_IOPORT | ||
select ARCH_REQUIRE_GPIOLIB | ||
select S3C_GPIO_TRACK | ||
select S3C_GPIO_PULL_UPDOWN | ||
help | ||
Base platform code for any Samsung S5PC1XX device | ||
|
||
if PLAT_S5PC1XX | ||
|
||
# Configuration options shared by all S3C64XX implementations | ||
|
||
config CPU_S5PC100_INIT | ||
bool | ||
help | ||
Common initialisation code for the S5PC1XX | ||
|
||
config CPU_S5PC100_CLOCK | ||
bool | ||
help | ||
Common clock support code for the S5PC1XX | ||
|
||
# platform specific device setup | ||
|
||
config S5PC100_SETUP_I2C0 | ||
bool | ||
default y | ||
help | ||
Common setup code for i2c bus 0. | ||
|
||
Note, currently since i2c0 is always compiled, this setup helper | ||
is always compiled with it. | ||
|
||
config S5PC100_SETUP_I2C1 | ||
bool | ||
help | ||
Common setup code for i2c bus 1. | ||
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,26 @@ | ||
# arch/arm/plat-s5pc1xx/Makefile | ||
# | ||
# Copyright 2009 Samsung Electronics Co. | ||
# | ||
# 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 += irq.o | ||
|
||
# CPU support | ||
|
||
obj-$(CONFIG_CPU_S5PC100_INIT) += s5pc100-init.o | ||
obj-$(CONFIG_CPU_S5PC100_CLOCK) += s5pc100-clock.o | ||
|
||
# Device setup | ||
|
||
obj-$(CONFIG_S5PC100_SETUP_I2C0) += setup-i2c0.o | ||
obj-$(CONFIG_S5PC100_SETUP_I2C1) += setup-i2c1.o |