summaryrefslogtreecommitdiff
path: root/package/nvram/src/sdinitvals.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-29 10:48:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-01-29 10:48:46 +0000
commit483dfb483e12e660267721a99bf97c572cb72795 (patch)
tree84490c282740e3c0c90ae98baf5d0091b25049cd /package/nvram/src/sdinitvals.h
parentab1287beadc3396709bef189459bb5a3059bb6be (diff)
downloadmtk-20170518-483dfb483e12e660267721a99bf97c572cb72795.zip
mtk-20170518-483dfb483e12e660267721a99bf97c572cb72795.tar.gz
mtk-20170518-483dfb483e12e660267721a99bf97c572cb72795.tar.bz2
move a few packages to system/utils
SVN-Revision: 35375
Diffstat (limited to 'package/nvram/src/sdinitvals.h')
-rw-r--r--package/nvram/src/sdinitvals.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/nvram/src/sdinitvals.h b/package/nvram/src/sdinitvals.h
deleted file mode 100644
index 5a289ad..0000000
--- a/package/nvram/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_ */