Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16355
b: refs/heads/master
c: f80257a
h: refs/heads/master
i:
  16353: 59d85a1
  16351: eb75807
v: v3
  • Loading branch information
Sylvain Munaut authored and Linus Torvalds committed Jan 6, 2006
1 parent 936579c commit bad284b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 041cb6241fa97c4881dd19d79f783b2e077acd28
refs/heads/master: f80257a25d9f73a0e6e377c7d6bf29b8938c042d
2 changes: 2 additions & 0 deletions trunk/arch/ppc/platforms/lite5200.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,10 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
mpc52xx_set_bat();

/* No ISA bus by default */
#ifdef CONFIG_PCI
isa_io_base = 0;
isa_mem_base = 0;
#endif

/* Powersave */
/* This is provided as an example on how to do it. But you
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-ppc/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

#if defined(CONFIG_4xx)
#include <asm/ibm4xx.h>
#elif defined(CONFIG_PPC_MPC52xx)
#include <asm/mpc52xx.h>
#elif defined(CONFIG_8xx)
#include <asm/mpc8xx.h>
#elif defined(CONFIG_8260)
Expand Down
11 changes: 11 additions & 0 deletions trunk/include/asm-ppc/mpc52xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ struct pt_regs;
#endif /* __ASSEMBLY__ */


#ifdef CONFIG_PCI
#define _IO_BASE isa_io_base
#define _ISA_MEM_BASE isa_mem_base
#define PCI_DRAM_OFFSET pci_dram_offset
#else
#define _IO_BASE 0
#define _ISA_MEM_BASE 0
#define PCI_DRAM_OFFSET 0
#endif


/* ======================================================================== */
/* PPC Sys devices definition */
/* ======================================================================== */
Expand Down

0 comments on commit bad284b

Please sign in to comment.