summaryrefslogtreecommitdiffstats
path: root/cf-fsi-test.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 21:14:11 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-03 21:14:11 +1000
commit4dd6d63c511f2ec13d38a49ce67a3da5dfbcdcde (patch)
tree6eb4d0c28b5ee2ba2ec7b288b8a287cc182964e5 /cf-fsi-test.c
parent362b07685bc7d3c529db12370e550543a6e9c4ae (diff)
downloadcf-fsi-4dd6d63c511f2ec13d38a49ce67a3da5dfbcdcde.tar.gz
cf-fsi-4dd6d63c511f2ec13d38a49ce67a3da5dfbcdcde.zip
Shrink trace dump
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'cf-fsi-test.c')
-rw-r--r--cf-fsi-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cf-fsi-test.c b/cf-fsi-test.c
index 5fb408c..29a57be 100644
--- a/cf-fsi-test.c
+++ b/cf-fsi-test.c
@@ -425,7 +425,7 @@ static void dump_stuff(void)
ntohl(readl(sysreg + SRAM_BASE + RSP_DATA)),
ntohl(readl(sysreg + SRAM_BASE + INT_CNT)));
- for (i = 0; i < 256; i++) {
+ for (i = 0; i < 128; i++) {
printf("%02x ", readb(sysreg + SRAM_BASE + TRACEBUF + i));
if ((i % 16) == 15)
printf("\n");
OpenPOWER on IntegriCloud