forked from Minki/linux
3866409541
Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
22 lines
490 B
C
22 lines
490 B
C
#ifndef __PPC_FSL_SOC_H
|
|
#define __PPC_FSL_SOC_H
|
|
#ifdef __KERNEL__
|
|
|
|
#include <asm/mmu.h>
|
|
|
|
extern phys_addr_t get_immrbase(void);
|
|
extern u32 get_brgfreq(void);
|
|
extern u32 get_baudrate(void);
|
|
extern u32 fsl_get_sys_freq(void);
|
|
|
|
struct spi_board_info;
|
|
|
|
extern int fsl_spi_init(struct spi_board_info *board_infos,
|
|
unsigned int num_board_infos,
|
|
void (*activate_cs)(u8 cs, u8 polarity),
|
|
void (*deactivate_cs)(u8 cs, u8 polarity));
|
|
|
|
extern void fsl_rstcr_restart(char *cmd);
|
|
#endif
|
|
#endif
|