summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test60.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc/tests/simple_test60.c')
-rw-r--r--util/romcc/tests/simple_test60.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/util/romcc/tests/simple_test60.c b/util/romcc/tests/simple_test60.c
deleted file mode 100644
index 860bf3240d..0000000000
--- a/util/romcc/tests/simple_test60.c
+++ /dev/null
@@ -1,32 +0,0 @@
-struct mem_param {
- unsigned char cycle_time;
- unsigned char divisor;
- unsigned char tRC;
- unsigned char tRFC;
- unsigned dch_memclk;
- unsigned short dch_tref4k, dch_tref8k;
- unsigned char dtl_twr;
- char name[9];
-};
-
-static void test(void)
-{
- static const struct mem_param param0 = {
- .name = "166Mhz\r\n",
- .cycle_time = 0x60,
- .divisor = (6<<1),
- .tRC = 0x3C,
- .tRFC = 0x48,
- .dch_memclk = 5 << 20,
- .dch_tref4k = 0x02,
- .dch_tref8k = 0x0A,
- .dtl_twr = 3,
- };
- int value;
- unsigned clocks;
- const struct mem_param *param;
- param = &param0;
- value = 0x48;
-#warning "this generated word loads instead of byte loads"
- clocks = (value + (param->divisor << 1) - 1)/(param->divisor << 1);
-}