Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5136
b: refs/heads/master
c: d054b5a
h: refs/heads/master
v: v3
  • Loading branch information
Kumar Gala authored and Linus Torvalds committed Jul 27, 2005
1 parent 4c1c901 commit 4c4eae2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 694e50db5d75f4c29011d7d15e069a95aded8af1
refs/heads/master: d054b5acfe1f68460fe70aff5028ad95a7a38140
1 change: 0 additions & 1 deletion trunk/arch/ppc/platforms/85xx/mpc8560_ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
#include <syslib/ppc85xx_common.h>
#include <syslib/ppc85xx_setup.h>

extern void cpm2_reset(void);

/* ************************************************************************
*
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/platforms/85xx/mpc85xx_cds_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include <asm/mpc85xx.h>
#include <asm/irq.h>
#include <asm/immap_85xx.h>
#include <asm/immap_cpm2.h>
#include <asm/cpm2.h>
#include <asm/ppc_sys.h>
#include <asm/kgdb.h>

Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/ppc/platforms/85xx/stx_gp3.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,13 @@
#include <asm/mpc85xx.h>
#include <asm/irq.h>
#include <asm/immap_85xx.h>
#include <asm/immap_cpm2.h>
#include <asm/cpm2.h>
#include <asm/mpc85xx.h>
#include <asm/ppc_sys.h>

#include <syslib/cpm2_pic.h>
#include <syslib/ppc85xx_common.h>

extern void cpm2_reset(void);

unsigned char __res[sizeof(bd_t)];

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/ppc/syslib/cpm2_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <asm/mpc8260.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/immap_cpm2.h>
#include <asm/cpm2.h>
#include <asm/rheap.h>

Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/ppc/syslib/m8260_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/mpc8260.h>
#include <asm/immap_cpm2.h>
#include <asm/cpm2.h>
#include <asm/machdep.h>
#include <asm/bootinfo.h>
#include <asm/time.h>
Expand All @@ -33,7 +33,6 @@

unsigned char __res[sizeof(bd_t)];

extern void cpm2_reset(void);
extern void pq2_find_bridges(void);
extern void pq2pci_init_irq(void);
extern void idma_pci9_init(void);
Expand Down
5 changes: 3 additions & 2 deletions trunk/include/asm-ppc/cpm2.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,16 @@ static inline long IS_DPERR(const uint offset)
* and dual port ram.
*/
extern cpm_cpm2_t *cpmp; /* Pointer to comm processor */

extern uint cpm_dpalloc(uint size, uint align);
extern int cpm_dpfree(uint offset);
extern uint cpm_dpalloc_fixed(uint offset, uint size, uint align);
extern void cpm_dpdump(void);
extern void *cpm_dpram_addr(uint offset);
extern void cpm_setbrg(uint brg, uint rate);
extern void cpm2_fastbrg(uint brg, uint rate, int div16);
extern void cpm2_reset(void);


/* Buffer descriptors used by many of the CPM protocols.
*/
Expand Down Expand Up @@ -1087,5 +1090,3 @@ typedef struct im_idma {

#endif /* __CPM2__ */
#endif /* __KERNEL__ */


0 comments on commit 4c4eae2

Please sign in to comment.