Skip to content

Commit

Permalink
[POWERPC] 85xx: Killed <asm/mpc85xx.h>
Browse files Browse the repository at this point in the history
asm-powerpc/mpc85xx.h was really a hold over from arch/ppc.  Now that
more decoupling has occurred we can remove <asm/mpc85xx.h> and some of
its legacy.

As part of this we moved the definition of CPM_MAP_ADDR into cpm2.h
for 85xx platforms.  This is a stop gap until drivers stop using
CPM_MAP_ADDR.

Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
kumargala committed Oct 11, 2007
1 parent ab9683c commit 0bfd5df
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 189 deletions.
35 changes: 0 additions & 35 deletions arch/powerpc/platforms/85xx/mpc8540_ads.h

This file was deleted.

1 change: 0 additions & 1 deletion arch/powerpc/platforms/85xx/mpc85xx_ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <asm/time.h>
#include <asm/machdep.h>
#include <asm/pci-bridge.h>
#include <asm/mpc85xx.h>
#include <asm/mpic.h>
#include <mm/mmu_decl.h>
#include <asm/udbg.h>
Expand Down
60 changes: 0 additions & 60 deletions arch/powerpc/platforms/85xx/mpc85xx_ads.h

This file was deleted.

10 changes: 9 additions & 1 deletion arch/powerpc/platforms/85xx/mpc85xx_cds.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include <asm/machdep.h>
#include <asm/ipic.h>
#include <asm/pci-bridge.h>
#include <asm/mpc85xx.h>
#include <asm/irq.h>
#include <mm/mmu_decl.h>
#include <asm/prom.h>
Expand All @@ -47,6 +46,15 @@
#include <sysdev/fsl_soc.h>
#include <sysdev/fsl_pci.h>

/* CADMUS info */
/* xxx - galak, move into device tree */
#define CADMUS_BASE (0xf8004000)
#define CADMUS_SIZE (256)
#define CM_VER (0)
#define CM_CSR (1)
#define CM_RST (2)


static int cds_pci_slot = 2;
static volatile u8 *cadmus;

Expand Down
43 changes: 0 additions & 43 deletions arch/powerpc/platforms/85xx/mpc85xx_cds.h

This file was deleted.

1 change: 0 additions & 1 deletion arch/powerpc/platforms/85xx/mpc85xx_ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <asm/time.h>
#include <asm/machdep.h>
#include <asm/pci-bridge.h>
#include <asm/mpc85xx.h>
#include <mm/mmu_decl.h>
#include <asm/prom.h>
#include <asm/udbg.h>
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/platforms/85xx/mpc85xx_mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <asm/io.h>
#include <asm/machdep.h>
#include <asm/pci-bridge.h>
#include <asm/mpc85xx.h>
#include <asm/irq.h>
#include <mm/mmu_decl.h>
#include <asm/prom.h>
Expand Down
4 changes: 4 additions & 0 deletions include/asm-powerpc/cpm2.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#include <asm/immap_cpm2.h>
#include <asm/cpm.h>

#ifdef CONFIG_PPC_85xx
#define CPM_MAP_ADDR (get_immrbase() + 0x80000)
#endif

/* CPM Command register.
*/
#define CPM_CR_RST ((uint)0x80000000)
Expand Down
2 changes: 0 additions & 2 deletions include/asm-powerpc/fs_pd.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@

#if defined(CONFIG_8260)
#include <asm/mpc8260.h>
#elif defined(CONFIG_85xx)
#include <asm/mpc85xx.h>
#endif

#define cpm2_map(member) (&cpm2_immr->member)
Expand Down
45 changes: 0 additions & 45 deletions include/asm-powerpc/mpc85xx.h

This file was deleted.

0 comments on commit 0bfd5df

Please sign in to comment.