-
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.
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/tglx/linux-2.6-tcc into devel-stable
- Loading branch information
Showing
30 changed files
with
2,687 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
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,11 @@ | ||
if ARCH_TCC8K | ||
|
||
comment "TCC8000 systems:" | ||
|
||
config MACH_TCC8000_SDK | ||
bool "Telechips TCC8000-SDK development kit" | ||
default y | ||
help | ||
Support for the Telechips TCC8000-SDK board. | ||
|
||
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,9 @@ | ||
# | ||
# Makefile for TCC8K boards and common files. | ||
# | ||
|
||
# Common support | ||
obj-y += clock.o irq.o time.o io.o devices.o | ||
|
||
# Board specific support | ||
obj-$(CONFIG_MACH_TCC8000_SDK) += board-tcc8000-sdk.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,3 @@ | ||
zreladdr-y := 0x20008000 | ||
params_phys-y := 0x20000100 | ||
initrd_phys-y := 0x20800000 |
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,64 @@ | ||
/* | ||
* Copyright (C) 2009 Hans J. Koch <hjk@linutronix.de> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <linux/init.h> | ||
#include <linux/kernel.h> | ||
#include <linux/platform_device.h> | ||
|
||
#include <asm/mach-types.h> | ||
|
||
#include <asm/mach/arch.h> | ||
#include <asm/mach/map.h> | ||
#include <asm/mach/time.h> | ||
|
||
#include <mach/clock.h> | ||
|
||
#include "common.h" | ||
|
||
#define XI_FREQUENCY 12000000 | ||
#define XTI_FREQUENCY 32768 | ||
|
||
#ifdef CONFIG_MTD_NAND_TCC | ||
/* NAND */ | ||
static struct tcc_nand_platform_data tcc8k_sdk_nand_data = { | ||
.width = 1, | ||
.hw_ecc = 0, | ||
}; | ||
#endif | ||
|
||
static void __init tcc8k_init(void) | ||
{ | ||
#ifdef CONFIG_MTD_NAND_TCC | ||
tcc_nand_device.dev.platform_data = &tcc8k_sdk_nand_data; | ||
platform_device_register(&tcc_nand_device); | ||
#endif | ||
} | ||
|
||
static void __init tcc8k_init_timer(void) | ||
{ | ||
tcc_clocks_init(XI_FREQUENCY, XTI_FREQUENCY); | ||
} | ||
|
||
static struct sys_timer tcc8k_timer = { | ||
.init = tcc8k_init_timer, | ||
}; | ||
|
||
static void __init tcc8k_map_io(void) | ||
{ | ||
tcc8k_map_common_io(); | ||
} | ||
|
||
MACHINE_START(TCC8000_SDK, "Telechips TCC8000-SDK Demo Board") | ||
.phys_io = 0x90000000, | ||
.io_pg_offst = ((0xf1000000) >> 18) & 0xfffc, | ||
.boot_params = PHYS_OFFSET + 0x00000100, | ||
.map_io = tcc8k_map_io, | ||
.init_irq = tcc8k_init_irq, | ||
.init_machine = tcc8k_init, | ||
.timer = &tcc8k_timer, | ||
MACHINE_END |
Oops, something went wrong.