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
Kirill Smelkov
linux
Commits
f2e85a0c
Commit
f2e85a0c
authored
Jun 29, 2003
by
Tom Rini
Committed by
Paul Mackerras
Jun 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Update the bootloader serial code to have stub functions.
parent
f727aff5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
35 deletions
+30
-35
arch/ppc/boot/common/Makefile
arch/ppc/boot/common/Makefile
+2
-1
arch/ppc/boot/common/ns16550.c
arch/ppc/boot/common/ns16550.c
+0
-5
arch/ppc/boot/common/serial_stub.c
arch/ppc/boot/common/serial_stub.c
+28
-0
arch/ppc/boot/simple/Makefile
arch/ppc/boot/simple/Makefile
+0
-4
arch/ppc/boot/simple/direct.S
arch/ppc/boot/simple/direct.S
+0
-15
arch/ppc/boot/simple/m8260_tty.c
arch/ppc/boot/simple/m8260_tty.c
+0
-5
arch/ppc/boot/simple/m8xx_tty.c
arch/ppc/boot/simple/m8xx_tty.c
+0
-5
No files found.
arch/ppc/boot/common/Makefile
View file @
f2e85a0c
...
@@ -8,7 +8,8 @@
...
@@ -8,7 +8,8 @@
# Tom Rini January 2001
# Tom Rini January 2001
#
#
lib-y
:=
string.o util.o misc-common.o
lib-y
:=
string.o util.o misc-common.o
\
serial_stub.o
lib-$(CONFIG_PPC_PREP)
+=
mpc10x_memory.o
lib-$(CONFIG_PPC_PREP)
+=
mpc10x_memory.o
lib-$(CONFIG_LOPEC)
+=
mpc10x_memory.o
lib-$(CONFIG_LOPEC)
+=
mpc10x_memory.o
lib-$(CONFIG_PAL4)
+=
cpc700_memory.o
lib-$(CONFIG_PAL4)
+=
cpc700_memory.o
...
...
arch/ppc/boot/common/ns16550.c
View file @
f2e85a0c
...
@@ -95,8 +95,3 @@ serial_tstc(unsigned long com_port)
...
@@ -95,8 +95,3 @@ serial_tstc(unsigned long com_port)
{
{
return
((
inb
(
com_port
+
(
UART_LSR
<<
shift
))
&
UART_LSR_DR
)
!=
0
);
return
((
inb
(
com_port
+
(
UART_LSR
<<
shift
))
&
UART_LSR_DR
)
!=
0
);
}
}
void
serial_close
(
unsigned
long
com_port
)
{
}
arch/ppc/boot/common/serial_stub.c
0 → 100644
View file @
f2e85a0c
/*
* arch/ppc/boot/common/serial_stub.c
*
* This is a few stub routines to make the boot code cleaner looking when
* there is no serial port support doesn't need to be closed, for example.
*
* Author: Tom Rini <trini@mvista.com>
*
* 2003 (c) MontaVista, Software, Inc. This file is licensed under the terms
* of the GNU General Public License version 2. This program is licensed "as
* is" without any warranty of any kind, whether express or implied.
*/
void
__attribute__
((
weak
))
serial_fixups
(
void
)
{
}
unsigned
long
__attribute__
((
weak
))
serial_init
(
int
chan
,
void
*
ignored
)
{
return
0
;
}
void
__attribute__
((
weak
))
serial_close
(
unsigned
long
com_port
)
{
}
arch/ppc/boot/simple/Makefile
View file @
f2e85a0c
...
@@ -96,10 +96,6 @@ EXTRA := chrpmap.o
...
@@ -96,10 +96,6 @@ EXTRA := chrpmap.o
END
:=
pcore
END
:=
pcore
TFTPIMAGE
:=
/tftpboot/zImage.
$(END)
TFTPIMAGE
:=
/tftpboot/zImage.
$(END)
endif
endif
# The PowerPMC 250 needs the dummy serial_fixups()
ifeq
($(CONFIG_POWERPMC250),y)
EXTRA
:=
direct.o
endif
ifeq
($(CONFIG_SANDPOINT),y)
ifeq
($(CONFIG_SANDPOINT),y)
EXTRA
:=
direct.o
EXTRA
:=
direct.o
TFTPIMAGE
:=
/tftpboot/zImage.sandpoint
TFTPIMAGE
:=
/tftpboot/zImage.sandpoint
...
...
arch/ppc/boot/simple/direct.S
deleted
100644 → 0
View file @
f727aff5
/*
*
arch
/
ppc
/
boot
/
simple
/
direct
.
S
*
*
Author
:
Tom
Rini
<
trini
@
mvista
.
com
>
*
*
This
is
an
empty
function
for
machines
which
use
SERIAL_IO_MEM
*
and
don
't need ISA_io set to anything but 0, or perform any other
*
serial
fixups
.
*/
.
text
.
globl
serial_fixups
serial_fixups
:
blr
arch/ppc/boot/simple/m8260_tty.c
View file @
f2e85a0c
...
@@ -311,8 +311,3 @@ serial_tstc(void *ignored)
...
@@ -311,8 +311,3 @@ serial_tstc(void *ignored)
return
(
!
(
rbdf
->
cbd_sc
&
BD_SC_EMPTY
));
return
(
!
(
rbdf
->
cbd_sc
&
BD_SC_EMPTY
));
}
}
void
serial_close
(
unsigned
long
com_port
)
{
}
arch/ppc/boot/simple/m8xx_tty.c
View file @
f2e85a0c
...
@@ -288,8 +288,3 @@ serial_tstc(void *ignored)
...
@@ -288,8 +288,3 @@ serial_tstc(void *ignored)
return
(
!
(
rbdf
->
cbd_sc
&
BD_SC_EMPTY
));
return
(
!
(
rbdf
->
cbd_sc
&
BD_SC_EMPTY
));
}
}
void
serial_close
(
unsigned
long
com_port
)
{
}
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