Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204575
b: refs/heads/master
c: 5ebabe5
h: refs/heads/master
i:
  204573: ad30d34
  204571: 73e1c7b
  204567: f3bce0b
  204559: a139456
  204543: edb436f
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Ralf Baechle committed Aug 5, 2010
1 parent 6a423c3 commit 5d3250e
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2a529f73de56cb99ae9abcc2c8fb9fe3f2d2039
refs/heads/master: 5ebabe59807e116976b073ec43327eedb4b357e2
1 change: 1 addition & 0 deletions trunk/arch/mips/Kbuild.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ platforms += cobalt
platforms += dec
platforms += emma
platforms += jazz
platforms += jz4740
platforms += lasat
platforms += loongson
platforms += mipssim
Expand Down
13 changes: 13 additions & 0 deletions trunk/arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,18 @@ config MACH_JAZZ
Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
Olivetti M700-10 workstations.

config MACH_JZ4740
bool "Ingenic JZ4740 based machines"
select SYS_HAS_CPU_MIPS32_R1
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_LITTLE_ENDIAN
select DMA_NONCOHERENT
select IRQ_CPU
select GENERIC_GPIO
select ARCH_REQUIRE_GPIOLIB
select SYS_HAS_EARLY_PRINTK
select HAVE_PWM

config LASAT
bool "LASAT Networks platforms"
select CEVT_R4K
Expand Down Expand Up @@ -696,6 +708,7 @@ endchoice
source "arch/mips/alchemy/Kconfig"
source "arch/mips/bcm63xx/Kconfig"
source "arch/mips/jazz/Kconfig"
source "arch/mips/jz4740/Kconfig"
source "arch/mips/lasat/Kconfig"
source "arch/mips/pmc-sierra/Kconfig"
source "arch/mips/powertv/Kconfig"
Expand Down
8 changes: 8 additions & 0 deletions trunk/arch/mips/jz4740/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
choice
prompt "Machine type"
depends on MACH_JZ4740

endchoice

config HAVE_PWM
bool
18 changes: 18 additions & 0 deletions trunk/arch/mips/jz4740/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# Makefile for the Ingenic JZ4740.
#

# Object file lists.

obj-y += prom.o irq.o time.o reset.o setup.o dma.o \
gpio.o clock.o platform.o timer.o pwm.o serial.o

obj-$(CONFIG_DEBUG_FS) += clock-debugfs.o

# board specific support

# PM support

obj-$(CONFIG_PM) += pm.o

EXTRA_CFLAGS += -Werror -Wall
3 changes: 3 additions & 0 deletions trunk/arch/mips/jz4740/Platform
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
core-$(CONFIG_MACH_JZ4740) += arch/mips/jz4740/
cflags-$(CONFIG_MACH_JZ4740) += -I$(srctree)/arch/mips/include/asm/mach-jz4740
load-$(CONFIG_MACH_JZ4740) += 0xffffffff80010000

0 comments on commit 5d3250e

Please sign in to comment.