33
33
34
34
#include "ast_dram_tables.h"
35
35
#include "ast_drv.h"
36
+ #include "ast_post.h"
36
37
37
38
static void ast_post_chip_2300 (struct ast_device * ast );
38
39
static void ast_post_chip_2500 (struct ast_device * ast );
@@ -75,7 +76,7 @@ static void ast_set_def_ext_reg(struct ast_device *ast)
75
76
ast_set_index_reg_mask (ast , AST_IO_VGACRI , 0xb6 , 0xff , reg );
76
77
}
77
78
78
- static u32 __ast_mindwm (void __iomem * regs , u32 r )
79
+ u32 __ast_mindwm (void __iomem * regs , u32 r )
79
80
{
80
81
u32 data ;
81
82
@@ -89,7 +90,7 @@ static u32 __ast_mindwm(void __iomem *regs, u32 r)
89
90
return __ast_read32 (regs , 0x10000 + (r & 0x0000ffff ));
90
91
}
91
92
92
- static void __ast_moutdwm (void __iomem * regs , u32 r , u32 v )
93
+ void __ast_moutdwm (void __iomem * regs , u32 r , u32 v )
93
94
{
94
95
u32 data ;
95
96
@@ -438,7 +439,7 @@ static const u32 pattern[8] = {
438
439
0x7C61D253
439
440
};
440
441
441
- static bool mmc_test (struct ast_device * ast , u32 datagen , u8 test_ctl )
442
+ bool mmc_test (struct ast_device * ast , u32 datagen , u8 test_ctl )
442
443
{
443
444
u32 data , timeout ;
444
445
@@ -478,8 +479,7 @@ static u32 mmc_test2(struct ast_device *ast, u32 datagen, u8 test_ctl)
478
479
return data ;
479
480
}
480
481
481
-
482
- static bool mmc_test_burst (struct ast_device * ast , u32 datagen )
482
+ bool mmc_test_burst (struct ast_device * ast , u32 datagen )
483
483
{
484
484
return mmc_test (ast , datagen , 0xc1 );
485
485
}
0 commit comments