Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84910
b: refs/heads/master
c: 035e111
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Nilsson authored and Jesper Nilsson committed Feb 8, 2008
1 parent 2600f76 commit 8e82b15
Show file tree
Hide file tree
Showing 24 changed files with 3,471 additions and 187 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6107c61fd3e6b47106b078db1726ad814564efef
refs/heads/master: 035e111f9a9b29843bc899f03d56f19d94bebb53
153 changes: 0 additions & 153 deletions trunk/arch/cris/arch-v32/kernel/io.c

This file was deleted.

110 changes: 110 additions & 0 deletions trunk/arch/cris/arch-v32/mach-a3/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
if CRIS_MACH_ARTPEC3

menu "Artpec-3 options"
depends on CRIS_MACH_ARTPEC3

config ETRAX_DRAM_VIRTUAL_BASE
hex
default "c0000000"

config ETRAX_L2CACHE
bool
default y

config ETRAX_SERIAL_PORTS
int
default 5

config ETRAX_DDR
bool
default y

config ETRAX_DDR2_MRS
hex "DDR2 MRS"
default "0"

config ETRAX_DDR2_TIMING
hex "DDR2 SDRAM timing"
default "0"
help
SDRAM timing parameters.

config ETRAX_DDR2_CONFIG
hex "DDR2 config"
default "0"

config ETRAX_PIO_CE0_CFG
hex "PIO CE0 configuration"
default "0"

config ETRAX_PIO_CE1_CFG
hex "PIO CE1 configuration"
default "0"

config ETRAX_PIO_CE2_CFG
hex "PIO CE2 configuration"
default "0"

config ETRAX_DEF_GIO_PA_OE
hex "GIO_PA_OE"
default "00000000"
help
Configures the direction of general port A bits. 1 is out, 0 is in.
This is often totally different depending on the product used.
There are some guidelines though - if you know that only LED's are
connected to port PA, then they are usually connected to bits 2-4
and you can therefore use 1c. On other boards which don't have the
LED's at the general ports, these bits are used for all kinds of
stuff. If you don't know what to use, it is always safe to put all
as inputs, although floating inputs isn't good.

config ETRAX_DEF_GIO_PA_OUT
hex "GIO_PA_OUT"
default "00000000"
help
Configures the initial data for the general port A bits. Most
products should use 00 here.

config ETRAX_DEF_GIO_PB_OE
hex "GIO_PB_OE"
default "000000000"
help
Configures the direction of general port B bits. 1 is out, 0 is in.
This is often totally different depending on the product used.
There are some guidelines though - if you know that only LED's are
connected to port PA, then they are usually connected to bits 2-4
and you can therefore use 1c. On other boards which don't have the
LED's at the general ports, these bits are used for all kinds of
stuff. If you don't know what to use, it is always safe to put all
as inputs, although floating inputs isn't good.

config ETRAX_DEF_GIO_PB_OUT
hex "GIO_PB_OUT"
default "000000000"
help
Configures the initial data for the general port B bits. Most
products should use 00000 here.

config ETRAX_DEF_GIO_PC_OE
hex "GIO_PC_OE"
default "00000"
help
Configures the direction of general port C bits. 1 is out, 0 is in.
This is often totally different depending on the product used.
There are some guidelines though - if you know that only LED's are
connected to port PA, then they are usually connected to bits 2-4
and you can therefore use 1c. On other boards which don't have the
LED's at the general ports, these bits are used for all kinds of
stuff. If you don't know what to use, it is always safe to put all
as inputs, although floating inputs isn't good.

config ETRAX_DEF_GIO_PC_OUT
hex "GIO_PC_OUT"
default "00000"
help
Configures the initial data for the general port C bits. Most
products should use 00000 here.

endmenu

endif
11 changes: 11 additions & 0 deletions trunk/arch/cris/arch-v32/mach-a3/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# $Id: Makefile,v 1.3 2007/03/13 11:57:46 starvik Exp $
#
# Makefile for the linux kernel.
#

obj-y := dma.o pinmux.o io.o arbiter.o
obj-$(CONFIG_ETRAX_VCS_SIM) += vcs_hook.o
obj-$(CONFIG_CPU_FREQ) += cpufreq.o

clean:

Loading

0 comments on commit 8e82b15

Please sign in to comment.