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 | acb4ad86e57db55e3f33c50b2ecd9252eff7da63 (patch) | |
tree | b90f0e7ddc157391ec33e3cc27692ec5ac0eb94b /target/linux/ramips/files/arch/mips/ralink/rt305x/rt305x.c | |
parent | 8cff770eb35ddb48e62cf95e83c8f1777c8db56a (diff) | |
download | master-31e0f0ae-acb4ad86e57db55e3f33c50b2ecd9252eff7da63.tar.gz master-31e0f0ae-acb4ad86e57db55e3f33c50b2ecd9252eff7da63.tar.bz2 master-31e0f0ae-acb4ad86e57db55e3f33c50b2ecd9252eff7da63.zip |
ramips: replace RALINK_SOC_* macros with global variables
SVN-Revision: 30888
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x/rt305x.c')
-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[] = { |