Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73305
b: refs/heads/master
c: bdd71ee
h: refs/heads/master
i:
  73303: 1ecb53d
v: v3
  • Loading branch information
Olof Johansson authored and Paul Mackerras committed Nov 8, 2007
1 parent 7800e02 commit ecec73c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 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: 97a4649d6ffce4a5d7f5ce018d87a6cefcb4ad03
refs/heads/master: bdd71eec9b24fb6f7e83148f73c2312a42b2aed5
13 changes: 7 additions & 6 deletions trunk/arch/ppc/syslib/m8260_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <asm/machdep.h>
#include <asm/bootinfo.h>
#include <asm/time.h>
#include <asm/ppc_sys.h>

#include "cpm2_pic.h"

Expand Down Expand Up @@ -61,7 +62,7 @@ m8260_setup_arch(void)
#endif

identify_ppc_sys_by_name_and_id(BOARD_CHIP_NAME,
in_be32(CPM_MAP_ADDR + CPM_IMMR_OFFSET));
in_be32((void *)CPM_MAP_ADDR + CPM_IMMR_OFFSET));

m82xx_board_setup();
}
Expand Down Expand Up @@ -147,12 +148,12 @@ m8260_show_cpuinfo(struct seq_file *m)
seq_printf(m, "vendor\t\t: %s\n"
"machine\t\t: %s\n"
"\n"
"mem size\t\t: 0x%08x\n"
"console baud\t\t: %d\n"
"mem size\t\t: 0x%08lx\n"
"console baud\t\t: %ld\n"
"\n"
"core clock\t: %u MHz\n"
"CPM clock\t: %u MHz\n"
"bus clock\t: %u MHz\n",
"core clock\t: %lu MHz\n"
"CPM clock\t: %lu MHz\n"
"bus clock\t: %lu MHz\n",
CPUINFO_VENDOR, CPUINFO_MACHINE, bp->bi_memsize,
bp->bi_baudrate, bp->bi_intfreq / 1000000,
bp->bi_cpmfreq / 1000000, bp->bi_busfreq / 1000000);
Expand Down

0 comments on commit ecec73c

Please sign in to comment.