Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c5d7a923
Commit
c5d7a923
authored
Oct 14, 2011
by
Sascha Hauer
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'features/denx-mx28' into for-arnd-features
parents
d5460290
ea42a0d0
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
398 additions
and
5 deletions
+398
-5
arch/arm/configs/mxs_defconfig
arch/arm/configs/mxs_defconfig
+1
-0
arch/arm/mach-mxs/Kconfig
arch/arm/mach-mxs/Kconfig
+17
-0
arch/arm/mach-mxs/Makefile
arch/arm/mach-mxs/Makefile
+1
-0
arch/arm/mach-mxs/clock-mx28.c
arch/arm/mach-mxs/clock-mx28.c
+11
-5
arch/arm/mach-mxs/include/mach/mxs.h
arch/arm/mach-mxs/include/mach/mxs.h
+1
-0
arch/arm/mach-mxs/include/mach/uncompress.h
arch/arm/mach-mxs/include/mach/uncompress.h
+1
-0
arch/arm/mach-mxs/mach-m28evk.c
arch/arm/mach-mxs/mach-m28evk.c
+366
-0
No files found.
arch/arm/configs/mxs_defconfig
View file @
c5d7a923
...
...
@@ -26,6 +26,7 @@ CONFIG_MACH_MX23EVK=y
CONFIG_MACH_MX28EVK=y
CONFIG_MACH_STMP378X_DEVB=y
CONFIG_MACH_TX28=y
CONFIG_MACH_M28EVK=y
# CONFIG_ARM_THUMB is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
...
...
arch/arm/mach-mxs/Kconfig
View file @
c5d7a923
...
...
@@ -64,8 +64,25 @@ config MODULE_TX28
select MXS_HAVE_PLATFORM_MXS_MMC
select MXS_HAVE_PLATFORM_MXS_PWM
config MODULE_M28
bool
select SOC_IMX28
select LEDS_GPIO_REGISTER
select MXS_HAVE_AMBA_DUART
select MXS_HAVE_PLATFORM_AUART
select MXS_HAVE_PLATFORM_FEC
select MXS_HAVE_PLATFORM_FLEXCAN
select MXS_HAVE_PLATFORM_MXS_I2C
select MXS_HAVE_PLATFORM_MXS_MMC
select MXS_HAVE_PLATFORM_MXSFB
select MXS_OCOTP
config MACH_TX28
bool "Ka-Ro TX28 module"
select MODULE_TX28
config MACH_M28EVK
bool "Support DENX M28EVK Platform"
select MODULE_M28
endif
arch/arm/mach-mxs/Makefile
View file @
c5d7a923
...
...
@@ -10,6 +10,7 @@ obj-$(CONFIG_SOC_IMX28) += clock-mx28.o mm-mx28.o
obj-$(CONFIG_MACH_STMP378X_DEVB)
+=
mach-stmp378x_devb.o
obj-$(CONFIG_MACH_MX23EVK)
+=
mach-mx23evk.o
obj-$(CONFIG_MACH_MX28EVK)
+=
mach-mx28evk.o
obj-$(CONFIG_MACH_M28EVK)
+=
mach-m28evk.o
obj-$(CONFIG_MODULE_TX28)
+=
module-tx28.o
obj-$(CONFIG_MACH_TX28)
+=
mach-tx28.o
...
...
arch/arm/mach-mxs/clock-mx28.c
View file @
c5d7a923
...
...
@@ -738,11 +738,17 @@ static int clk_misc_init(void)
__raw_writel
(
BM_CLKCTRL_CPU_INTERRUPT_WAIT
,
CLKCTRL_BASE_ADDR
+
HW_CLKCTRL_CPU_SET
);
/* Extra fec clock setting */
/*
* Extra fec clock setting
* The DENX M28 uses an external clock source
* and the clock output must not be enabled
*/
if
(
!
machine_is_m28evk
())
{
reg
=
__raw_readl
(
CLKCTRL_BASE_ADDR
+
HW_CLKCTRL_ENET
);
reg
&=
~
BM_CLKCTRL_ENET_SLEEP
;
reg
|=
BM_CLKCTRL_ENET_CLK_OUT_EN
;
__raw_writel
(
reg
,
CLKCTRL_BASE_ADDR
+
HW_CLKCTRL_ENET
);
}
/*
* 480 MHz seems too high to be ssp clock source directly,
...
...
arch/arm/mach-mxs/include/mach/mxs.h
View file @
c5d7a923
...
...
@@ -33,6 +33,7 @@
0)
#define cpu_is_mx28() ( \
machine_is_mx28evk() || \
machine_is_m28evk() || \
machine_is_tx28() || \
0)
...
...
arch/arm/mach-mxs/include/mach/uncompress.h
View file @
c5d7a923
...
...
@@ -63,6 +63,7 @@ static inline void __arch_decomp_setup(unsigned long arch_id)
mxs_duart_base
=
MX23_DUART_BASE_ADDR
;
break
;
case
MACH_TYPE_MX28EVK
:
case
MACH_TYPE_M28EVK
:
case
MACH_TYPE_TX28
:
mxs_duart_base
=
MX28_DUART_BASE_ADDR
;
break
;
...
...
arch/arm/mach-mxs/mach-m28evk.c
0 → 100644
View file @
c5d7a923
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment