diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 19:05:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-11 19:05:56 +0000 |
commit | ea8fa1a9f18312af2012425217d520d8ecb44841 (patch) | |
tree | e6992194aa267fc8e67bdb1985860631c687d7c0 /target/linux/ramips/files/arch/mips/ralink/rt305x | |
parent | ef72092022bd4d893ec52b662fd809f045933c67 (diff) | |
download | upstream-ea8fa1a9f18312af2012425217d520d8ecb44841.tar.gz upstream-ea8fa1a9f18312af2012425217d520d8ecb44841.tar.bz2 upstream-ea8fa1a9f18312af2012425217d520d8ecb44841.zip |
ramips: replace RALINK_SOC_* macros with global variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30888 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/rt305x.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/rt305x.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/rt305x.c index fa0d0f6cc0..956867830c 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/rt305x.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/rt305x.c @@ -42,6 +42,10 @@ void __init ramips_soc_prom_init(void) (char) ((n1 >> 16) & 0xff), (char) ((n1 >> 24) & 0xff), (id >> CHIP_ID_ID_SHIFT) & CHIP_ID_ID_MASK, (id & CHIP_ID_REV_MASK)); + + ramips_mem_base = RT305X_SDRAM_BASE; + ramips_mem_size_min = RT305X_MEM_SIZE_MIN; + ramips_mem_size_max = RT305X_MEM_SIZE_MAX; } static struct ramips_gpio_chip rt305x_gpio_chips[] = { |