2
0
forked from Ivasoft/openwrt

ramips: add memory detection code for RT5350

SVN-Revision: 33571
This commit is contained in:
Gabor Juhos
2012-09-27 10:18:15 +00:00
parent 80d2da9f0f
commit e3bcbeb427
2 changed files with 44 additions and 1 deletions

View File

@@ -103,6 +103,13 @@
#define RT5350_SYSCFG0_CPUCLK_360 0x0
#define RT5350_SYSCFG0_CPUCLK_320 0x2
#define RT5350_SYSCFG0_CPUCLK_300 0x3
#define RT5350_SYSCFG0_DRAM_SIZE_SHIFT 12
#define RT5350_SYSCFG0_DRAM_SIZE_MASK 7
#define RT5350_SYSCFG0_DRAM_SIZE_2M 0
#define RT5350_SYSCFG0_DRAM_SIZE_8M 1
#define RT5350_SYSCFG0_DRAM_SIZE_16M 2
#define RT5350_SYSCFG0_DRAM_SIZE_32M 3
#define RT5350_SYSCFG0_DRAM_SIZE_64M 4
#define RT3352_SYSCFG1_USB0_HOST_MODE BIT(10)