mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ramips] share memory size detection code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17454 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
#ifndef __RT288X_RALINK_SOC_H
|
||||
#define __RT288X_RALINK_SOC_H
|
||||
|
||||
#define RALINK_SOC_SDRAM_BASE 0x08000000
|
||||
#define RALINK_SOC_MEM_SIZE_MIN (2 * 1024 * 1024)
|
||||
#define RALINK_SOC_MEM_SIZE_MAX (128 * 1024 * 1024)
|
||||
|
||||
#define RALINK_SOC_GPIO_BASE 0x300600
|
||||
|
||||
#define RALINK_SOC_GPIO0_COUNT 24
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
#ifndef __RT288X_RALINK_SOC_H
|
||||
#define __RT288X_RALINK_SOC_H
|
||||
|
||||
#define RALINK_SOC_SDRAM_BASE 0
|
||||
#define RALINK_SOC_MEM_SIZE_MIN (2 * 1024 * 1024)
|
||||
#define RALINK_SOC_MEM_SIZE_MAX (64 * 1024 * 1024)
|
||||
|
||||
#define RALINK_SOC_GPIO_BASE 0x10000600
|
||||
|
||||
#define RALINK_SOC_GPIO0_COUNT 24
|
||||
|
||||
Reference in New Issue
Block a user