|
@@ -5,6 +5,8 @@
|
|
#define SM750LE_REVISION_ID ((unsigned char)0xfe)
|
|
#define SM750LE_REVISION_ID ((unsigned char)0xfe)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#include <linux/io.h>
|
|
|
|
+
|
|
/* This is all the chips recognized by this library */
|
|
/* This is all the chips recognized by this library */
|
|
typedef enum _logical_chip_type_t
|
|
typedef enum _logical_chip_type_t
|
|
{
|
|
{
|
|
@@ -72,7 +74,7 @@ logical_chip_type_t getChipType(void);
|
|
unsigned int calcPllValue(unsigned int request,pll_value_t *pll);
|
|
unsigned int calcPllValue(unsigned int request,pll_value_t *pll);
|
|
unsigned int calcPllValue2(unsigned int,pll_value_t *);
|
|
unsigned int calcPllValue2(unsigned int,pll_value_t *);
|
|
unsigned int formatPllReg(pll_value_t *pPLL);
|
|
unsigned int formatPllReg(pll_value_t *pPLL);
|
|
-void ddk750_set_mmio(volatile unsigned char *,unsigned short,char);
|
|
|
|
|
|
+void ddk750_set_mmio(void __iomem *,unsigned short,char);
|
|
unsigned int ddk750_getVMSize(void);
|
|
unsigned int ddk750_getVMSize(void);
|
|
int ddk750_initHw(initchip_param_t *);
|
|
int ddk750_initHw(initchip_param_t *);
|
|
unsigned int getPllValue(clock_type_t clockType, pll_value_t *pPLL);
|
|
unsigned int getPllValue(clock_type_t clockType, pll_value_t *pPLL);
|