OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [sound/] [iwmem.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
/*
2
 * sound/iwmem.c
3
 *
4
 * DRAM size encoding table for AMD Interwave chip.
5
 */
6
/*
7
 * Copyright (C) by Hannu Savolainen 1993-1996
8
 *
9
 * USS/Lite for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
10
 * Version 2 (June 1991). See the "COPYING" file distributed with this software
11
 * for more info.
12
 */
13
 
14
 
15
#define K 1024
16
#define M (1024*K)
17
static int mem_decode[][4] =
18
{
19
/*      Bank0   Bank1   Bank2   Bank3   Encoding bits   */
20
        {256*K, 0,       0,       0},              /*  0 */
21
        {256*K, 256*K,  0,       0},              /*  1 */
22
        {256*K, 256*K,  256*K,  256*K},         /*  2 */
23
        {256*K, 1*M,    0,       0},              /*  3 */
24
        {256*K, 1*M,    1*M,    1*M},           /*  4 */
25
        {256*K, 256*K,  1*M,    0},              /*  5 */
26
        {256*K, 256*K,  1*M,    1*M},           /*  6 */
27
        {1*M,   0,       0,       0},              /*  7 */
28
        {1*M,   1*M,    0,       0},              /*  8 */
29
        {1*M,   1*M,    1*M,    1*M},           /*  9 */
30
        {4*M,   0,       0,       0},              /* 10 */
31
        {4*M,   4*M,    0,       0},              /* 11 */
32
        {4*M,   4*M,    4*M,    4*M}            /* 12 */
33
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.