diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-27 15:44:07 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-27 15:44:07 +0000 |
commit | fcc9a3db52c174448857167fe8c89d1a0f84413c (patch) | |
tree | 6facf46be6910173b715747f1f0241a834bfb3ec /package/unvram/src/sdinitvals.h | |
parent | 252bf0da28a26bb40cfd137ca46d6ecdb1ba49bd (diff) |
remove leftover unvram directory and move the nvram.init change to package/nvram
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15447 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/unvram/src/sdinitvals.h')
-rw-r--r-- | package/unvram/src/sdinitvals.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/package/unvram/src/sdinitvals.h b/package/unvram/src/sdinitvals.h deleted file mode 100644 index 5a289adec..000000000 --- a/package/unvram/src/sdinitvals.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * SDRAM init values - * - * Copyright 2007, Broadcom Corporation - * Copyright 2009, OpenWrt.org - * All Rights Reserved. - * - * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY - * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM - * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS - * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE. - * - */ - -#ifndef _sdinitvals_h_ -#define _sdinitvals_h_ - -/* SDRAM refresh control (refresh) register bits */ -#define SDRAM_REF(p) (((p)&0xff) | SDRAM_REF_EN) /* Refresh period */ -#define SDRAM_REF_EN 0x8000 /* Writing 1 enables periodic refresh */ - -/* SDRAM Core default Init values (OCP ID 0x803) */ -#define MEM4MX16X2 0x419 /* 16 MB */ - -#define SDRAM_INIT MEM4MX16X2 -#define SDRAM_BURSTFULL 0x0000 /* Use full page bursts */ -#define SDRAM_CONFIG SDRAM_BURSTFULL -#define SDRAM_REFRESH SDRAM_REF(0x40) - -#endif /* _sdinitvals_h_ */ |