1 # $NetBSD: Makefile,v 1.4 2005/12/11 12:17:10 christos Exp $ 2 3 S= ${.CURDIR}/../../../../.. 4 5 PLATFORM= SMDK2410 6 RELOC= 0x00000000 7 MAXIMAGESIZE= 0 # concatenate 8 LOADADDR= 0x30200000 9 10 CPPFLAGS+= -DCPU_S3C2410 11 CPPFLAGS+= -DCONSPEED=115200 12 CPPFLAGS+= -DCONADDR=0x50000000UL 13 # CPPFLAGS+= -DCONADDR=0x50004000UL 14 # CPPFLAGS+= -DCONADDR=0x50008000UL 15 CPPFLAGS+= -DIO_INIT_HOOK=smdk2410_io_init -DRAM_INIT_HOOK=smdk2410_ram_init 16 CPPFLAGS+= -DXTAL_CLK=12000000 -DFCLK=180000000 -DSDRAM_SIZE=32*1024*1024 17 CPUFLAGS= -march=armv4 18 19 LDSCRIPT= ${.CURDIR}/ldscript 20 21 SRCS+= smdk2410.c sscom.c 22 SRCS+= smdk2410_io_init.c s3c2410_vector.S smdk2410_ram_init.S 23 24 .include "${S}/arch/evbarm/stand/gzboot/Makefile.gzboot" 25