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
3cf09fdd
Commit
3cf09fdd
authored
Jul 04, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc
parents
eeb96479
989ff8b2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
45 deletions
+31
-45
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
+1
-14
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 @
3cf09fdd
...
...
@@ -8,7 +8,8 @@
# 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_LOPEC)
+=
mpc10x_memory.o
lib-$(CONFIG_PAL4)
+=
cpc700_memory.o
...
...
arch/ppc/boot/common/ns16550.c
View file @
3cf09fdd
...
...
@@ -95,8 +95,3 @@ serial_tstc(unsigned long com_port)
{
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 @
3cf09fdd
/*
* 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 @
3cf09fdd
...
...
@@ -47,19 +47,17 @@ endif
ifeq
($(CONFIG_EBONY),y)
ZIMAGE
:=
zImage-TREE
ZIMAGEINITRD
:=
zImage.initrd-TREE
EXTRA
:=
direct.o
END
:=
ebony
ENTRYPOINT
:=
0x01000000
TFTPIMAGE
:=
/tftpboot/zImage.
$(END)
endif
ifeq
($(CONFIG_EV64260),y)
EXTRA
:=
direct.o
misc-ev64260.o
EXTRA
:=
misc-ev64260.o
TFTPIMAGE
:=
/tftpboot/zImage.ev64260
endif
ifeq
($(CONFIG_GEMINI),y)
ZIMAGE
:=
zImage-STRIPELF
ZIMAGEINITRD
:=
zImage.initrd-STRIPELF
EXTRA
:=
direct.o
END
:=
gemini
TFTPIMAGE
:=
/tftpboot/zImage.
$(END)
endif
...
...
@@ -78,7 +76,6 @@ endif
ifeq
($(CONFIG_MCPN765)$(CONFIG_MVME5100)$(CONFIG_PRPMC750)$(CONFIG_PRPMC800)$(CONFIG_LOPEC)$(CONFIG_PPLUS),y)
ZIMAGE
:=
zImage-PPLUS
ZIMAGEINITRD
:=
zImage.initrd-PPLUS
EXTRA
:=
direct.o
TFTPIMAGE
:=
/tftpboot/zImage.pplus
ZNETBOOT
:=
zImage.pplus
ZNETBOOTRD
:=
zImage.initrd.pplus
...
...
@@ -86,9 +83,6 @@ endif
ifeq
($(CONFIG_PPLUS),y)
EXTRA
:=
legacy.o
endif
ifeq
($(CONFIG_PAL4),y)
EXTRA
:=
direct.o
endif
ifeq
($(CONFIG_PCORE)$(CONFIG_POWERPMC250),y)
ZIMAGE
:=
zImage-STRIPELF
ZIMAGEINITRD
:=
zImage.initrd-STRIPELF
...
...
@@ -96,18 +90,12 @@ EXTRA := chrpmap.o
END
:=
pcore
TFTPIMAGE
:=
/tftpboot/zImage.
$(END)
endif
# The PowerPMC 250 needs the dummy serial_fixups()
ifeq
($(CONFIG_POWERPMC250),y)
EXTRA
:=
direct.o
endif
ifeq
($(CONFIG_SANDPOINT),y)
EXTRA
:=
direct.o
TFTPIMAGE
:=
/tftpboot/zImage.sandpoint
endif
ifeq
($(CONFIG_SPRUCE),y)
ZIMAGE
:=
zImage-TREE
ZIMAGEINITRD
:=
zImage.initrd-TREE
EXTRA
:=
direct.o
END
:=
spruce
ENTRYPOINT
:=
0x00800000
MISC
:=
misc-spruce.o
...
...
@@ -116,7 +104,6 @@ endif
ifeq
($(CONFIG_ZX4500),y)
ZIMAGE
:=
zImage-STRIPELF
ZIMAGEINITRD
:=
zImage.initrd-STRIPELF
EXTRA
:=
direct.o
END
:=
zx4500
TFTPIMAGE
:=
/tftpboot/zImage.
$(END)
endif
...
...
arch/ppc/boot/simple/direct.S
deleted
100644 → 0
View file @
eeb96479
/*
*
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 @
3cf09fdd
...
...
@@ -311,8 +311,3 @@ serial_tstc(void *ignored)
return
(
!
(
rbdf
->
cbd_sc
&
BD_SC_EMPTY
));
}
void
serial_close
(
unsigned
long
com_port
)
{
}
arch/ppc/boot/simple/m8xx_tty.c
View file @
3cf09fdd
...
...
@@ -288,8 +288,3 @@ serial_tstc(void *ignored)
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