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
de4533a0
Commit
de4533a0
authored
Mar 28, 2006
by
Russell King
Committed by
Russell King
Mar 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Move ice-dcc code into misc.c
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
a081568d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
22 deletions
+14
-22
arch/arm/boot/compressed/Makefile
arch/arm/boot/compressed/Makefile
+0
-4
arch/arm/boot/compressed/ice-dcc.S
arch/arm/boot/compressed/ice-dcc.S
+0
-17
arch/arm/boot/compressed/misc.c
arch/arm/boot/compressed/misc.c
+14
-1
No files found.
arch/arm/boot/compressed/Makefile
View file @
de4533a0
...
...
@@ -50,10 +50,6 @@ ifeq ($(CONFIG_ARCH_AT91RM9200),y)
OBJS
+=
head-at91rm9200.o
endif
ifeq
($(CONFIG_DEBUG_ICEDCC),y)
OBJS
+=
ice-dcc.o
endif
ifeq
($(CONFIG_CPU_BIG_ENDIAN),y)
OBJS
+=
big-endian.o
endif
...
...
arch/arm/boot/compressed/ice-dcc.S
deleted
100644 → 0
View file @
a081568d
.
text
.
global
icedcc_putc
icedcc_putc
:
mov
r2
,
#
0x4000000
1
:
subs
r2
,
r2
,
#
1
movlt
pc
,
r14
mrc
p14
,
0
,
r1
,
c0
,
c0
,
0
tst
r1
,
#
2
bne
1
b
mcr
p14
,
0
,
r0
,
c1
,
c0
,
0
mov
pc
,
r14
arch/arm/boot/compressed/misc.c
View file @
de4533a0
...
...
@@ -30,7 +30,20 @@ static void putstr(const char *ptr);
#include <asm/arch/uncompress.h>
#ifdef CONFIG_DEBUG_ICEDCC
extern
void
icedcc_putc
(
int
ch
);
static
void
icedcc_putc
(
int
ch
)
{
int
status
,
i
=
0x4000000
;
do
{
if
(
--
i
<
0
)
return
;
asm
(
"mrc p14, 0, %0, c0, c0, 0"
:
"=r"
(
status
));
}
while
(
status
&
2
);
asm
(
"mcr p15, 0, %0, c1, c0, 0"
:
:
"r"
(
ch
));
}
#define putc(ch) icedcc_putc(ch)
#define flush() do { } while (0)
#endif
...
...
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