1#	$NetBSD: Makefile,v 1.1 2020/02/12 06:57:35 thorpej Exp $
2
3S=	${.CURDIR}/../../../../..
4
5#
6# This image is for the stock RedBoot configuration.  The self-extracting
7# kernel image is copied from FIS partition 3 (@ 0x50060000) to 0x01d00000
8# by RedBoot.  RedBoot then copies the ramdisk from FIS partition 4
9# (@ 0x50160000) to 0x01000000, and jumps to 0x01d00000.
10#
11# NOTE: While there is room for 3MB of gzboot+compressed kernel at the
12# designationed location in SDRAM, there is only 1MB of space available
13# in FIS partition 3!
14#
15
16PLATFORM= NSLU2
17RELOC= 0x01d00000
18MAXIMAGESIZE= 0		# concatenate
19LOADADDR= 0x00200000
20
21CPPFLAGS+= -DCONSPEED=115200
22CPPFLAGS+= -DCONADDR=0xc8000000UL
23
24CPUFLAGS= -mcpu=xscale
25
26LDSCRIPT= ${.CURDIR}/ldscript
27
28SRCS+=	nslu2.c ns16550.c ixp425_mem.c
29
30.include "${S}/arch/evbarm/stand/gzboot/Makefile.gzboot"
31