Skip to content

Commit

Permalink
ARM: bcmring: remove include/csp/ subdir
Browse files Browse the repository at this point in the history
The csp/*.h headers get into the way of multiplatform
kernels and are generally not needed anyway. This removes
the ones that are completely free of content and moves
the other ones to mach/csp/, which already holds a bunch
of these.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed May 2, 2012
1 parent 651ef18 commit 8a3fb86
Show file tree
Hide file tree
Showing 29 changed files with 41 additions and 346 deletions.
1 change: 0 additions & 1 deletion arch/arm/mach-bcmring/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@

#include "clock.h"

#include <csp/secHw.h>
#include <mach/csp/secHw_def.h>
#include <mach/csp/chipcHw_inline.h>
#include <mach/csp/tmrHw_reg.h>
Expand Down
10 changes: 5 additions & 5 deletions arch/arm/mach-bcmring/csp/chipc/chipcHw.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@

/* ---- Include Files ---------------------------------------------------- */

#include <csp/errno.h>
#include <csp/stdint.h>
#include <csp/module.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/export.h>

#include <mach/csp/chipcHw_def.h>
#include <mach/csp/chipcHw_inline.h>

#include <csp/reg.h>
#include <csp/delay.h>
#include <mach/csp/reg.h>
#include <linux/delay.h>

/* ---- Private Constants and Types --------------------------------------- */

Expand Down
10 changes: 5 additions & 5 deletions arch/arm/mach-bcmring/csp/chipc/chipcHw_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@

/* ---- Include Files ---------------------------------------------------- */

#include <csp/errno.h>
#include <csp/stdint.h>
#include <csp/module.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/export.h>

#include <mach/csp/chipcHw_def.h>
#include <mach/csp/chipcHw_inline.h>

#include <csp/reg.h>
#include <csp/delay.h>
#include <mach/csp/reg.h>
#include <linux/delay.h>
/* ---- Private Constants and Types --------------------------------------- */

/*
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-bcmring/csp/chipc/chipcHw_reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
*****************************************************************************/

/* ---- Include Files ---------------------------------------------------- */
#include <csp/stdint.h>
#include <linux/types.h>
#include <mach/csp/chipcHw_def.h>
#include <mach/csp/chipcHw_inline.h>
#include <csp/intcHw.h>
#include <csp/cache.h>
#include <mach/csp/intcHw_reg.h>
#include <asm/cacheflush.h>

/* ---- Private Constants and Types --------------------------------------- */
/* ---- Private Variables ------------------------------------------------- */
Expand Down Expand Up @@ -60,7 +60,7 @@ void chipcHw_reset(uint32_t mask)
i++;
} while (((uint32_t *) MM_IO_BASE_ARAM)[i - 1] != 0xe1a0f00f); /* 0xe1a0f00f == asm ("mov r15, r15"); */

CSP_CACHE_FLUSH_ALL;
flush_cache_all();

/* run the function from ARAM */
runFunc();
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-bcmring/csp/dmac/dmacHw.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
/****************************************************************************/

/* ---- Include Files ---------------------------------------------------- */
#include <csp/stdint.h>
#include <csp/string.h>
#include <linux/types.h>
#include <linux/string.h>
#include <stddef.h>

#include <csp/dmacHw.h>
#include <mach/csp/dmacHw.h>
#include <mach/csp/dmacHw_reg.h>
#include <mach/csp/dmacHw_priv.h>
#include <mach/csp/chipcHw_inline.h>
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-bcmring/csp/dmac/dmacHw_extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@

/* ---- Include Files ---------------------------------------------------- */

#include <csp/stdint.h>
#include <linux/types.h>
#include <stddef.h>

#include <csp/dmacHw.h>
#include <mach/csp/dmacHw.h>
#include <mach/csp/dmacHw_reg.h>
#include <mach/csp/dmacHw_priv.h>

Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-bcmring/csp/tmr/tmrHw.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@

/* ---- Include Files ---------------------------------------------------- */

#include <csp/errno.h>
#include <csp/stdint.h>
#include <linux/errno.h>
#include <linux/types.h>

#include <csp/tmrHw.h>
#include <mach/csp/tmrHw.h>
#include <mach/csp/tmrHw_reg.h>

#define tmrHw_ASSERT(a) if (!(a)) *(char *)0 = 0
Expand Down
35 changes: 0 additions & 35 deletions arch/arm/mach-bcmring/include/csp/cache.h

This file was deleted.

36 changes: 0 additions & 36 deletions arch/arm/mach-bcmring/include/csp/delay.h

This file was deleted.

32 changes: 0 additions & 32 deletions arch/arm/mach-bcmring/include/csp/errno.h

This file was deleted.

40 changes: 0 additions & 40 deletions arch/arm/mach-bcmring/include/csp/intcHw.h

This file was deleted.

32 changes: 0 additions & 32 deletions arch/arm/mach-bcmring/include/csp/module.h

This file was deleted.

65 changes: 0 additions & 65 deletions arch/arm/mach-bcmring/include/csp/secHw.h

This file was deleted.

30 changes: 0 additions & 30 deletions arch/arm/mach-bcmring/include/csp/stdint.h

This file was deleted.

Loading

0 comments on commit 8a3fb86

Please sign in to comment.