source: rtems/c/src/lib/libbsp/sh/gensh4/include/sdram.h @ f61a85a8

4.104.114.84.95
Last change on this file since f61a85a8 was 96462044, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/01 at 19:04:12

2001-10-11 Alexandra Kossovsky <sasha@…>

  • Makefile.am, README, bsp_specs, .cvsignore, include/Makefile.am, include/bsp.h, include/coverhd.h, include/sdram.h, include/.cvsignore, start/Makefile.am, start/start.S, start/.cvsignore, startup/Makefile.am, startup/bspstart.c, startup/linkcmds, startup/linkcmds.rom, startup/linkcmds.rom2ram, startup/.cvsignore, wrapup/Makefile.am, wrapup/.cvsignore, hw_init/Makefile.am, hw_init/hw_init.c, hw_init/.cvsignore, times, configure.ac: New files. Reviewed and updated to latest automake and autoconf standards by Ralf Corsepius <corsepiu@…>.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*
2 * SDRAM Mode Register
3 * Based on Fujitsu MB81F643242B data sheet.
4 *
5 * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
6 * Author: Victor V. Vengerov <vvv@oktet.ru>
7 *
8 * The license and distribution terms for this file may be
9 * found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 * @(#) $Id$
13 */
14
15#ifndef __SDRAM_H__
16#define __SDRAM_H__
17
18/* SDRAM Mode Register */
19#define SDRAM_MODE_BL         0x0007  /* Burst Length: */
20#define SDRAM_MODE_BL_1       0x0000  /*    0 */
21#define SDRAM_MODE_BL_2       0x0001  /*    2 */
22#define SDRAM_MODE_BL_4       0x0002  /*    4 */
23#define SDRAM_MODE_BL_8       0x0003  /*    8 */
24#define SDRAM_MODE_BL_16      0x0004  /*    16 */
25#define SDRAM_MODE_BL_32      0x0005  /*    32 */
26#define SDRAM_MODE_BL_64      0x0006  /*    64 */
27#define SDRAM_MODE_BL_FULL    0x0007  /*    Full column */
28
29#define SDRAM_MODE_BT         0x0008  /* Burst Type: */
30#define SDRAM_MODE_BT_SEQ     0x0000  /*   Sequential */
31#define SDRAM_MODE_BT_ILV     0x0008  /*   Interleave */
32
33#define SDRAM_MODE_CL         0x0070  /* CAS Latency: */
34#define SDRAM_MODE_CL_1       0x0010  /*    1 */
35#define SDRAM_MODE_CL_2       0x0020  /*    2 */
36#define SDRAM_MODE_CL_3       0x0030  /*    3 */
37
38#define SDRAM_MODE_OPC        0x0200  /* Opcode: */
39#define SDRAM_MODE_OPC_BRBW   0x0000  /*     Burst read & Burst write */
40#define SDRAM_MODE_OPC_BRSW   0x0200  /*     Burst read & Single write */
41
42#endif
Note: See TracBrowser for help on using the repository browser.