diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2008-04-23 17:57:13 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-04-23 17:57:13 -0400 |
commit | 253bcf4f9b6dde1cfa169bc29655cf177d6a903b (patch) | |
tree | d3ae2d1fc7f2ec5fca4fbd2446b2001dabfc8d7d /arch | |
parent | 16428a4fa99d273fe27aaee7a847a9cfd5466fda (diff) |
[Blackfin] arch: Add a little bit more runtime info for MPU
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/kernel/setup.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 3f10aa4465fb..fafaccb321fa 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
@@ -898,12 +898,17 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
898 | seq_printf(m, "processor\t: %d\n" | 898 | seq_printf(m, "processor\t: %d\n" |
899 | "vendor_id\t: %s\n" | 899 | "vendor_id\t: %s\n" |
900 | "cpu family\t: 0x%x\n" | 900 | "cpu family\t: 0x%x\n" |
901 | "model name\t: ADSP-%s %lu(MHz CCLK) %lu(MHz SCLK)\n" | 901 | "model name\t: ADSP-%s %lu(MHz CCLK) %lu(MHz SCLK) (%s)\n" |
902 | "stepping\t: %d\n", | 902 | "stepping\t: %d\n", |
903 | 0, | 903 | 0, |
904 | vendor, | 904 | vendor, |
905 | (bfin_read_CHIPID() & CHIPID_FAMILY), | 905 | (bfin_read_CHIPID() & CHIPID_FAMILY), |
906 | cpu, cclk/1000000, sclk/1000000, | 906 | cpu, cclk/1000000, sclk/1000000, |
907 | #ifdef CONFIG_MPU | ||
908 | "mpu on", | ||
909 | #else | ||
910 | "mpu off", | ||
911 | #endif | ||
907 | revid); | 912 | revid); |
908 | 913 | ||
909 | seq_printf(m, "cpu MHz\t\t: %lu.%03lu/%lu.%03lu\n", | 914 | seq_printf(m, "cpu MHz\t\t: %lu.%03lu/%lu.%03lu\n", |
@@ -1012,7 +1017,6 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
1012 | seq_printf(m, "No Ways are locked\n"); | 1017 | seq_printf(m, "No Ways are locked\n"); |
1013 | } | 1018 | } |
1014 | #endif | 1019 | #endif |
1015 | |||
1016 | seq_printf(m, "board name\t: %s\n", bfin_board_name); | 1020 | seq_printf(m, "board name\t: %s\n", bfin_board_name); |
1017 | seq_printf(m, "board memory\t: %ld kB (0x%p -> 0x%p)\n", | 1021 | seq_printf(m, "board memory\t: %ld kB (0x%p -> 0x%p)\n", |
1018 | physical_mem_end >> 10, (void *)0, (void *)physical_mem_end); | 1022 | physical_mem_end >> 10, (void *)0, (void *)physical_mem_end); |