2011-03-06 08:20:21 +08:00
|
|
|
/* Blackfin External Bus Interface Unit (EBIU) SDRAM Controller (SDC) Model.
|
|
|
|
|
2019-01-01 14:01:51 +08:00
|
|
|
Copyright (C) 2010-2019 Free Software Foundation, Inc.
|
2011-03-06 08:20:21 +08:00
|
|
|
Contributed by Analog Devices, Inc.
|
|
|
|
|
|
|
|
This file is part of simulators.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
|
|
|
|
#ifndef DV_BFIN_EBIU_SDC_H
|
|
|
|
#define DV_BFIN_EBIU_SDC_H
|
|
|
|
|
|
|
|
/* EBIU_SDBCTL Masks */
|
|
|
|
#define EBE 0x0001 /* Enable SDRAM External Bank */
|
|
|
|
#define EBSZ_16 0x0000 /* Size = 16MB */
|
|
|
|
#define EBSZ_32 0x0002 /* Size = 32MB */
|
|
|
|
#define EBSZ_64 0x0004 /* Size = 64MB */
|
|
|
|
#define EBSZ_128 0x0006 /* Size = 128MB */
|
|
|
|
#define EBSZ_256 0x0008 /* Size = 256MB */
|
|
|
|
#define EBSZ_512 0x000A /* Size = 512MB */
|
|
|
|
#define EBCAW_8 0x0000 /* Column Address Width = 8 Bits */
|
|
|
|
#define EBCAW_9 0x0010 /* Column Address Width = 9 Bits */
|
|
|
|
#define EBCAW_10 0x0020 /* Column Address Width = 10 Bits */
|
|
|
|
#define EBCAW_11 0x0030 /* Column Address Width = 11 Bits */
|
|
|
|
|
|
|
|
#endif
|