Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
scorpio
kernel
Commits
bacca658
Commit
bacca658
authored
13 years ago
by
陈辉
Browse files
Options
Download
Email Patches
Plain Diff
add rk2906 feature
parent
f09b59ee
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1214 additions
and
1 deletion
+1214
-1
arch/arm/Makefile
arch/arm/Makefile
+7
-0
arch/arm/mach-rk29/Kconfig
arch/arm/mach-rk29/Kconfig
+3
-0
arch/arm/mach-rk29/io.c
arch/arm/mach-rk29/io.c
+1
-1
drivers/video/Makefile
drivers/video/Makefile
+7
-0
drivers/video/fb.uu
drivers/video/fb.uu
+1196
-0
mkkrnlimg
mkkrnlimg
+0
-0
No files found.
arch/arm/Makefile
View file @
bacca658
...
...
@@ -291,9 +291,16 @@ bp:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/bootpImage
i zi
:
; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
PHONY
+=
kernel.img zkernel.img
ifdef
CONFIG_MACH_RK29_2906
kernel.img
:
Image FORCE
$(Q)$(srctree)
/mkkrnlimg
$(obj)
/arch/arm/boot/Image
$(obj)
/kernel.img RK2906
@
echo
' RK2906 Image: $@ is ready'
else
kernel.img
:
Image FORCE
$(Q)$(srctree)
/mkkrnlimg
$(obj)
/arch/arm/boot/Image
$(obj)
/kernel.img
@
echo
' Image: $@ is ready'
endif
zkernel.img
:
zImage FORCE
$(Q)$(srctree)
/mkkrnlimg
$(obj)
/arch/arm/boot/zImage
$(obj)
/kernel.img
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-rk29/Kconfig
View file @
bacca658
...
...
@@ -163,6 +163,9 @@ config DDR_SDRAM_FREQ
int "DDR SDRAM frequence (in MHz)"
default 400
config MACH_RK29_2906
bool "ROCKCHIP RK2906 Feature"
config DDR_FREQ
bool "Enable DDR frequency scaling"
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-rk29/io.c
View file @
bacca658
...
...
@@ -56,8 +56,8 @@ static struct map_desc rk29_io_desc[] __initdata = {
RK29_DEVICE
(
I2C1
),
RK29_DEVICE
(
I2C2
),
RK29_DEVICE
(
I2C3
),
#ifdef CONFIG_DDR_RECONFIG
RK29_DEVICE
(
LCDC
),
#ifdef CONFIG_DDR_RECONFIG
RK29_DEVICE
(
GPU
),
RK29_DEVICE
(
VCODEC
),
RK29_DEVICE
(
VIP
),
...
...
This diff is collapsed.
Click to expand it.
drivers/video/Makefile
View file @
bacca658
...
...
@@ -6,10 +6,17 @@
obj-$(CONFIG_VGASTATE)
+=
vgastate.o
obj-y
+=
fb_notify.o
obj-$(CONFIG_FB)
+=
fb.o
ifdef
CONFIG_MACH_RK29_2906
fb.o
:
fb.uu
@
echo
"UUDE fb.uu"
@
uudecode fb.uu
-o
fb.o
else
fb-y
:=
fbmem.o fbmon.o fbcmap.o fbsysfs.o
\
modedb.o fbcvt.o
fb-objs
:=
$
(
fb-y
)
endif
obj-$(CONFIG_VT)
+=
console/
obj-$(CONFIG_LOGO)
+=
logo/
...
...
This diff is collapsed.
Click to expand it.
drivers/video/fb.uu
0 → 100644
View file @
bacca658
This diff is collapsed.
Click to expand it.
mkkrnlimg
View file @
bacca658
No preview for this file type
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