1 #include "linux_syscall.h"
2 #include "linux_console.h"
5 unsigned char cycle_time;
10 unsigned short dch_tref4k, dch_tref8k;
11 unsigned char dtl_twr;
15 static void test(void)
17 static const struct mem_param param0 = {
23 .dch_memclk = 5 << 20,
30 const struct mem_param *param;
33 /* This used to generate 32bit loads instead of 8 bit loads */
34 clocks = (value + (param->divisor << 1) - 1)/(param->divisor << 1);
35 print_debug("clocks: ");
36 print_debug_hex32(clocks);