9
0
Fork 0

MIPS: ar231x: add netgear-wg102

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Oleksij Rempel 2013-05-30 20:18:42 +02:00 committed by Sascha Hauer
parent 7d27f0db93
commit b993cc4a22
5 changed files with 29 additions and 0 deletions

View File

@ -73,6 +73,7 @@ machine-$(CONFIG_MACH_MIPS_MALTA) := malta
board-$(CONFIG_BOARD_QEMU_MALTA) := qemu-malta
machine-$(CONFIG_MACH_MIPS_AR231X) := ar231x
board-$(CONFIG_BOARD_NETGEAR_WG102) := netgear-wg102
machine-$(CONFIG_MACH_MIPS_BCM47XX) := bcm47xx
board-$(CONFIG_BOARD_DLINK_DIR320) := dlink-dir-320

View File

@ -0,0 +1,6 @@
if BOARD_NETGEAR_WG102
config BOARDINFO
default "Netgear WG102"
endif

View File

@ -0,0 +1 @@
obj-y += ram.o

View File

@ -0,0 +1,11 @@
#include <common.h>
#include <init.h>
#include <sizes.h>
#include <asm/memory.h>
static int mem_init(void)
{
mips_add_ram0(SZ_16M);
return 0;
}
mem_initcall(mem_init);

View File

@ -4,4 +4,14 @@ config ARCH_TEXT_BASE
hex
default 0xa0800000
choice
prompt "Board type"
config BOARD_NETGEAR_WG102
bool "Netgear WG102"
endchoice
source arch/mips/boards/netgear-wg102/Kconfig
endif