diff options
Diffstat (limited to 'arch/blackfin/kernel/debug-mmrs.c')
-rw-r--r-- | arch/blackfin/kernel/debug-mmrs.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/debug-mmrs.c b/arch/blackfin/kernel/debug-mmrs.c index 92f664826281..01232a13470d 100644 --- a/arch/blackfin/kernel/debug-mmrs.c +++ b/arch/blackfin/kernel/debug-mmrs.c | |||
@@ -105,6 +105,7 @@ DEFINE_SYSREG(seqstat, , ); | |||
105 | DEFINE_SYSREG(syscfg, , CSYNC()); | 105 | DEFINE_SYSREG(syscfg, , CSYNC()); |
106 | #define D_SYSREG(sr) debugfs_create_file(#sr, S_IRUSR|S_IWUSR, parent, NULL, &fops_sysreg_##sr) | 106 | #define D_SYSREG(sr) debugfs_create_file(#sr, S_IRUSR|S_IWUSR, parent, NULL, &fops_sysreg_##sr) |
107 | 107 | ||
108 | #ifndef CONFIG_BF60x | ||
108 | /* | 109 | /* |
109 | * CAN | 110 | * CAN |
110 | */ | 111 | */ |
@@ -223,8 +224,10 @@ bfin_debug_mmrs_dma(struct dentry *parent, unsigned long base, int num, char mdm | |||
223 | __DMA(CURR_DESC_PTR, curr_desc_ptr); | 224 | __DMA(CURR_DESC_PTR, curr_desc_ptr); |
224 | __DMA(CURR_ADDR, curr_addr); | 225 | __DMA(CURR_ADDR, curr_addr); |
225 | __DMA(IRQ_STATUS, irq_status); | 226 | __DMA(IRQ_STATUS, irq_status); |
227 | #ifndef CONFIG_BF60x | ||
226 | if (strcmp(pfx, "IMDMA") != 0) | 228 | if (strcmp(pfx, "IMDMA") != 0) |
227 | __DMA(PERIPHERAL_MAP, peripheral_map); | 229 | __DMA(PERIPHERAL_MAP, peripheral_map); |
230 | #endif | ||
228 | __DMA(CURR_X_COUNT, curr_x_count); | 231 | __DMA(CURR_X_COUNT, curr_x_count); |
229 | __DMA(CURR_Y_COUNT, curr_y_count); | 232 | __DMA(CURR_Y_COUNT, curr_y_count); |
230 | } | 233 | } |
@@ -568,7 +571,7 @@ bfin_debug_mmrs_uart(struct dentry *parent, unsigned long base, int num) | |||
568 | #endif | 571 | #endif |
569 | } | 572 | } |
570 | #define UART(num) bfin_debug_mmrs_uart(parent, UART##num##_DLL, num) | 573 | #define UART(num) bfin_debug_mmrs_uart(parent, UART##num##_DLL, num) |
571 | 574 | #endif /* CONFIG_BF60x */ | |
572 | /* | 575 | /* |
573 | * The actual debugfs generation | 576 | * The actual debugfs generation |
574 | */ | 577 | */ |
@@ -740,7 +743,7 @@ static int __init bfin_debug_mmrs_init(void) | |||
740 | D32(WPDACNT0); | 743 | D32(WPDACNT0); |
741 | D32(WPDACNT1); | 744 | D32(WPDACNT1); |
742 | D32(WPSTAT); | 745 | D32(WPSTAT); |
743 | 746 | #ifndef CONFIG_BF60x | |
744 | /* System MMRs */ | 747 | /* System MMRs */ |
745 | #ifdef ATAPI_CONTROL | 748 | #ifdef ATAPI_CONTROL |
746 | parent = debugfs_create_dir("atapi", top); | 749 | parent = debugfs_create_dir("atapi", top); |
@@ -1873,7 +1876,7 @@ static int __init bfin_debug_mmrs_init(void) | |||
1873 | 1876 | ||
1874 | } | 1877 | } |
1875 | #endif /* BF54x */ | 1878 | #endif /* BF54x */ |
1876 | 1879 | #endif /* CONFIG_BF60x */ | |
1877 | debug_mmrs_dentry = top; | 1880 | debug_mmrs_dentry = top; |
1878 | 1881 | ||
1879 | return 0; | 1882 | return 0; |