diff options
Diffstat (limited to 'arch/arm/mach-layerscape/include')
-rw-r--r-- | arch/arm/mach-layerscape/include/mach/bbu.h | 22 | ||||
-rw-r--r-- | arch/arm/mach-layerscape/include/mach/debug_ll.h | 34 | ||||
-rw-r--r-- | arch/arm/mach-layerscape/include/mach/errata.h | 7 | ||||
-rw-r--r-- | arch/arm/mach-layerscape/include/mach/layerscape.h | 19 | ||||
-rw-r--r-- | arch/arm/mach-layerscape/include/mach/lowlevel.h | 7 | ||||
-rw-r--r-- | arch/arm/mach-layerscape/include/mach/xload.h | 10 |
6 files changed, 0 insertions, 99 deletions
diff --git a/arch/arm/mach-layerscape/include/mach/bbu.h b/arch/arm/mach-layerscape/include/mach/bbu.h deleted file mode 100644 index 1ea0cbb11f..0000000000 --- a/arch/arm/mach-layerscape/include/mach/bbu.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef __MACH_LAYERSCAPE_BBU_H -#define __MACH_LAYERSCAPE_BBU_H - -#include <bbu.h> - -static inline int ls1046a_bbu_mmc_register_handler(const char *name, - const char *devicefile, - unsigned long flags) -{ - return bbu_register_std_file_update(name, flags, devicefile, - filetype_layerscape_image); -} - -static inline int ls1046a_bbu_qspi_register_handler(const char *name, - const char *devicefile, - unsigned long flags) -{ - return bbu_register_std_file_update(name, flags, devicefile, - filetype_layerscape_qspi_image); -} - -#endif /* __MACH_LAYERSCAPE_BBU_H */
\ No newline at end of file diff --git a/arch/arm/mach-layerscape/include/mach/debug_ll.h b/arch/arm/mach-layerscape/include/mach/debug_ll.h deleted file mode 100644 index 2658a4a7c9..0000000000 --- a/arch/arm/mach-layerscape/include/mach/debug_ll.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef __INCLUDE_ARCH_DEBUG_LL_H__ -#define __INCLUDE_ARCH_DEBUG_LL_H__ - -#include <io.h> -#include <soc/fsl/immap_lsch2.h> - -#define __LS_UART_BASE(num) LSCH2_NS16550_COM##num -#define LS_UART_BASE(num) __LS_UART_BASE(num) - -static inline uint8_t debug_ll_read_reg(int reg) -{ - void __iomem *base = IOMEM(LS_UART_BASE(CONFIG_DEBUG_LAYERSCAPE_UART_PORT)); - - return readb(base + reg); -} - -static inline void debug_ll_write_reg(int reg, uint8_t val) -{ - void __iomem *base = IOMEM(LS_UART_BASE(CONFIG_DEBUG_LAYERSCAPE_UART_PORT)); - - writeb(val, base + reg); -} - -#include <debug_ll/ns16550.h> - -static inline void debug_ll_init(void) -{ - uint16_t divisor; - - divisor = debug_ll_ns16550_calc_divisor(300000000); - debug_ll_ns16550_init(divisor); -} - -#endif /* __INCLUDE_ARCH_DEBUG_LL_H__ */ diff --git a/arch/arm/mach-layerscape/include/mach/errata.h b/arch/arm/mach-layerscape/include/mach/errata.h deleted file mode 100644 index bdefa22172..0000000000 --- a/arch/arm/mach-layerscape/include/mach/errata.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef __MACH_ERRATA_H -#define __MACH_ERRATA_H - -void ls1046a_errata(void); -void ls1046a_errata_post_ddr(void); - -#endif /* __MACH_ERRATA_H */ diff --git a/arch/arm/mach-layerscape/include/mach/layerscape.h b/arch/arm/mach-layerscape/include/mach/layerscape.h deleted file mode 100644 index 1f1da0f66e..0000000000 --- a/arch/arm/mach-layerscape/include/mach/layerscape.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef __MACH_LAYERSCAPE_H -#define __MACH_LAYERSCAPE_H - -#define LS1046A_DDR_SDRAM_BASE 0x80000000 -#define LS1046A_DDR_FREQ 2100000000 - -enum bootsource ls1046_bootsource_get(void); - -#ifdef CONFIG_ARCH_LAYERSCAPE_PPA -int ls1046a_ppa_init(resource_size_t ppa_start, resource_size_t ppa_size); -#else -static inline int ls1046a_ppa_init(resource_size_t ppa_start, - resource_size_t ppa_size) -{ - return -ENOSYS; -} -#endif - -#endif /* __MACH_LAYERSCAPE_H */ diff --git a/arch/arm/mach-layerscape/include/mach/lowlevel.h b/arch/arm/mach-layerscape/include/mach/lowlevel.h deleted file mode 100644 index 0f5f0f3aad..0000000000 --- a/arch/arm/mach-layerscape/include/mach/lowlevel.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef __MACH_LOWLEVEL_H -#define __MACH_LOWLEVEL_H - -void ls1046a_init_lowlevel(void); -void ls1046a_init_l2_latency(void); - -#endif /* __MACH_LOWLEVEL_H */ diff --git a/arch/arm/mach-layerscape/include/mach/xload.h b/arch/arm/mach-layerscape/include/mach/xload.h deleted file mode 100644 index eb2d998865..0000000000 --- a/arch/arm/mach-layerscape/include/mach/xload.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef __MACH_XLOAD_H -#define __MACH_XLOAD_H - -int ls1046a_esdhc_start_image(unsigned long r0, unsigned long r1, unsigned long r2); -int ls1046a_qspi_start_image(unsigned long r0, unsigned long r1, - unsigned long r2); -int ls1046a_xload_start_image(unsigned long r0, unsigned long r1, - unsigned long r2); - -#endif /* __MACH_XLOAD_H */ |