blob: 8ddafadfdc7dc94ac5f8319c5f56dc15fe798e8f [file] [log] [blame]
SAN People73a59c12006-01-09 17:05:41 +00001# Note: the following conditions must always be true:
2# ZRELADDR == virt_to_phys(TEXTADDR)
3# PARAMS_PHYS must be within 4MB of ZRELADDR
4# INITRD_PHYS must be in RAM
5
Andrew Victor2b3b3512008-01-24 15:10:39 +01006ifeq ($(CONFIG_ARCH_AT91CAP9),y)
Sascha Hauer40c6d8a2011-08-17 14:24:52 +01007 zreladdr-y += 0x70008000
Andrew Victor2b3b3512008-01-24 15:10:39 +01008params_phys-y := 0x70000100
9initrd_phys-y := 0x70410000
Nicolas Ferre789b23b2009-06-26 15:36:58 +010010else ifeq ($(CONFIG_ARCH_AT91SAM9G45),y)
Sascha Hauer40c6d8a2011-08-17 14:24:52 +010011 zreladdr-y += 0x70008000
Nicolas Ferre789b23b2009-06-26 15:36:58 +010012params_phys-y := 0x70000100
13initrd_phys-y := 0x70410000
Andrew Victor2b3b3512008-01-24 15:10:39 +010014else
Sascha Hauer40c6d8a2011-08-17 14:24:52 +010015 zreladdr-y += 0x20008000
SAN People73a59c12006-01-09 17:05:41 +000016params_phys-y := 0x20000100
17initrd_phys-y := 0x20410000
Andrew Victor2b3b3512008-01-24 15:10:39 +010018endif
Nicolas Ferre49fe2ba2011-10-10 18:29:24 +020019
Jean-Christophe PLAGNIOL-VILLARDfea31582011-10-14 09:40:52 +080020dtb-$(CONFIG_MACH_AT91SAM_DT) += at91sam9m10g45ek.dtb usb_a9g20.dtb