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
0cb7b2af
Commit
0cb7b2af
authored
Oct 29, 2005
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc: Merge maple support code to arch/powerpc/platforms/maple
Signed-off-by:
Paul Mackerras
<
paulus@samba.org
>
parent
d3f67fbb
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
10 deletions
+22
-10
arch/powerpc/platforms/Makefile
arch/powerpc/platforms/Makefile
+1
-0
arch/powerpc/platforms/maple/Makefile
arch/powerpc/platforms/maple/Makefile
+1
-0
arch/powerpc/platforms/maple/maple.h
arch/powerpc/platforms/maple/maple.h
+12
-0
arch/powerpc/platforms/maple/pci.c
arch/powerpc/platforms/maple/pci.c
+2
-0
arch/powerpc/platforms/maple/setup.c
arch/powerpc/platforms/maple/setup.c
+3
-8
arch/powerpc/platforms/maple/time.c
arch/powerpc/platforms/maple/time.c
+2
-0
arch/ppc64/kernel/Makefile
arch/ppc64/kernel/Makefile
+1
-2
No files found.
arch/powerpc/platforms/Makefile
View file @
0cb7b2af
...
@@ -10,3 +10,4 @@ obj-$(CONFIG_4xx) += 4xx/
...
@@ -10,3 +10,4 @@ obj-$(CONFIG_4xx) += 4xx/
obj-$(CONFIG_85xx)
+=
85xx/
obj-$(CONFIG_85xx)
+=
85xx/
obj-$(CONFIG_PPC_PSERIES)
+=
pseries/
obj-$(CONFIG_PPC_PSERIES)
+=
pseries/
obj-$(CONFIG_PPC_ISERIES)
+=
iseries/
obj-$(CONFIG_PPC_ISERIES)
+=
iseries/
obj-$(CONFIG_PPC_MAPLE)
+=
maple/
arch/powerpc/platforms/maple/Makefile
0 → 100644
View file @
0cb7b2af
obj-y
+=
setup.o pci.o time.o
arch/powerpc/platforms/maple/maple.h
0 → 100644
View file @
0cb7b2af
/*
* Declarations for maple-specific code.
*
* Maple is the name of a PPC970 evaluation board.
*/
extern
int
maple_set_rtc_time
(
struct
rtc_time
*
tm
);
extern
void
maple_get_rtc_time
(
struct
rtc_time
*
tm
);
extern
unsigned
long
maple_get_boot_time
(
void
);
extern
void
maple_calibrate_decr
(
void
);
extern
void
maple_pci_init
(
void
);
extern
void
maple_pcibios_fixup
(
void
);
extern
int
maple_pci_get_legacy_ide_irq
(
struct
pci_dev
*
dev
,
int
channel
);
arch/p
pc64/kernel/maple_
pci.c
→
arch/p
owerpc/platforms/maple/
pci.c
View file @
0cb7b2af
...
@@ -25,6 +25,8 @@
...
@@ -25,6 +25,8 @@
#include <asm/iommu.h>
#include <asm/iommu.h>
#include <asm/ppc-pci.h>
#include <asm/ppc-pci.h>
#include "maple.h"
#ifdef DEBUG
#ifdef DEBUG
#define DBG(x...) printk(x)
#define DBG(x...) printk(x)
#else
#else
...
...
arch/p
pc64/kernel/maple_
setup.c
→
arch/p
owerpc/platforms/maple/
setup.c
View file @
0cb7b2af
/*
/*
*
arch/ppc64/kernel/maple_setup.c
*
Maple (970 eval board) setup code
*
*
* (c) Copyright 2004 Benjamin Herrenschmidt (benh@kernel.crashing.org),
* (c) Copyright 2004 Benjamin Herrenschmidt (benh@kernel.crashing.org),
* IBM Corp.
* IBM Corp.
...
@@ -62,19 +62,14 @@
...
@@ -62,19 +62,14 @@
#include <asm/mpic.h>
#include <asm/mpic.h>
#include <asm/udbg.h>
#include <asm/udbg.h>
#include "maple.h"
#ifdef DEBUG
#ifdef DEBUG
#define DBG(fmt...) udbg_printf(fmt)
#define DBG(fmt...) udbg_printf(fmt)
#else
#else
#define DBG(fmt...)
#define DBG(fmt...)
#endif
#endif
extern
int
maple_set_rtc_time
(
struct
rtc_time
*
tm
);
extern
void
maple_get_rtc_time
(
struct
rtc_time
*
tm
);
extern
unsigned
long
maple_get_boot_time
(
void
);
extern
void
maple_calibrate_decr
(
void
);
extern
void
maple_pci_init
(
void
);
extern
void
maple_pcibios_fixup
(
void
);
extern
int
maple_pci_get_legacy_ide_irq
(
struct
pci_dev
*
dev
,
int
channel
);
extern
void
generic_find_legacy_serial_ports
(
u64
*
physport
,
extern
void
generic_find_legacy_serial_ports
(
u64
*
physport
,
unsigned
int
*
default_speed
);
unsigned
int
*
default_speed
);
...
...
arch/p
pc64/kernel/maple_
time.c
→
arch/p
owerpc/platforms/maple/
time.c
View file @
0cb7b2af
...
@@ -36,6 +36,8 @@
...
@@ -36,6 +36,8 @@
#include <asm/machdep.h>
#include <asm/machdep.h>
#include <asm/time.h>
#include <asm/time.h>
#include "maple.h"
#ifdef DEBUG
#ifdef DEBUG
#define DBG(x...) printk(x)
#define DBG(x...) printk(x)
#else
#else
...
...
arch/ppc64/kernel/Makefile
View file @
0cb7b2af
...
@@ -55,8 +55,7 @@ obj-$(CONFIG_HVCS) += hvcserver.o
...
@@ -55,8 +55,7 @@ obj-$(CONFIG_HVCS) += hvcserver.o
obj-$(CONFIG_PPC_PMAC)
+=
udbg_scc.o
obj-$(CONFIG_PPC_PMAC)
+=
udbg_scc.o
obj-$(CONFIG_PPC_MAPLE)
+=
maple_setup.o maple_pci.o maple_time.o
\
obj-$(CONFIG_PPC_MAPLE)
+=
udbg_16550.o
udbg_16550.o
ifdef
CONFIG_SMP
ifdef
CONFIG_SMP
obj-$(CONFIG_PPC_PMAC)
+=
smp-tbsync.o
obj-$(CONFIG_PPC_PMAC)
+=
smp-tbsync.o
...
...
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