12 #include <linux/kernel.h>
27 static struct resource gpmc_smc91x_resources[] = {
46 .platform_data = &gpmc_smc91x_info,
48 .num_resources =
ARRAY_SIZE(gpmc_smc91x_resources),
49 .resource = gpmc_smc91x_resources,
58 static int smc91c96_gpmc_retime(
void)
76 t.oe_on =
t.adv_on +
t3;
77 t.access =
t.oe_on +
t5;
79 t.adv_rd_off =
t.oe_off +
max(t4_r, t6);
80 t.cs_rd_off =
t.oe_off;
81 t.rd_cycle = t20 -
t.oe_on;
84 t.we_on =
t.adv_on +
t3;
87 t.wr_data_mux_bus =
t.we_on;
88 t.we_off =
t.wr_data_mux_bus +
t7;
90 t.we_off =
t.we_on +
t7;
92 t.wr_access =
t.we_off;
93 t.adv_wr_off =
t.we_off +
max(t4_w, t8);
94 t.cs_wr_off =
t.we_off + t4_w;
95 t.wr_cycle = t20 -
t.we_on;
128 unsigned long cs_mem_base;
131 gpmc_cfg = board_data;
134 gpmc_cfg->
retime = smc91c96_gpmc_retime;
141 gpmc_smc91x_resources[0].
start = cs_mem_base + 0x300;
142 gpmc_smc91x_resources[0].
end = cs_mem_base + 0x30f;