mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
789b23bc40
Here are the at91 specific files dedicated to the at91sam9g45 series. They mimic the traditional at91 way of managing chips & boards. The first board that embeds at91sam9g45 chip is the AT91SAM9G45-EKES. In the future, the main board for this 9g45 series will be the AT91SAM9M10G45-EK (I choose this last name for the board file). Simple drivers are enabled in _devices and board- files. Newer peripheral support will be added in future patches. Incuded peripherals support (for now): - USART - SPI - Ethernet - NAND flash - LCD - gpio/joystick/buttons - leds and pwm Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 lines
509 B
Clojure
19 lines
509 B
Clojure
# Note: the following conditions must always be true:
|
|
# ZRELADDR == virt_to_phys(TEXTADDR)
|
|
# PARAMS_PHYS must be within 4MB of ZRELADDR
|
|
# INITRD_PHYS must be in RAM
|
|
|
|
ifeq ($(CONFIG_ARCH_AT91CAP9),y)
|
|
zreladdr-y := 0x70008000
|
|
params_phys-y := 0x70000100
|
|
initrd_phys-y := 0x70410000
|
|
else ifeq ($(CONFIG_ARCH_AT91SAM9G45),y)
|
|
zreladdr-y := 0x70008000
|
|
params_phys-y := 0x70000100
|
|
initrd_phys-y := 0x70410000
|
|
else
|
|
zreladdr-y := 0x20008000
|
|
params_phys-y := 0x20000100
|
|
initrd_phys-y := 0x20410000
|
|
endif
|