ARM: at91: replace at91sam9_ddrsdr.h with at91bootstrap's at91_ddrsdrc.h
Instead of adding missing definitions to the existing at91sam9_ddrsdr.h
and adapting the incoming DDRAM initialization code from at91bootstrap,
just replace the lightly used existing header with:
https://github.com/linux4sam/at91bootstrap/blob/v3.8.12/include/arch/at91_ddrsdrc.h

For easier comprehension, the replacement is done in three steps:
This last step copies the memory size querying functions from at91sam9_ddrsdr.h
to at91_ddrsdrc.h, then deletes it and fixes all references.

Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 51f9962 commit a84a4e0384983119be00d2b205b51091299ef1d7
@Ahmad Fatoum Ahmad Fatoum authored on 1 Jul 2020
Sascha Hauer committed on 11 Jul 2020
Showing 17 changed files
View
arch/arm/boards/at91sam9m10g45ek/lowlevel.c
View
arch/arm/boards/at91sam9m10ihd/lowlevel.c
View
arch/arm/boards/at91sam9n12ek/lowlevel.c
View
arch/arm/boards/at91sam9x5ek/lowlevel.c
View
arch/arm/boards/pm9g45/lowlevel.c
View
arch/arm/boards/sama5d3_xplained/lowlevel.c
View
arch/arm/boards/sama5d3xek/lowlevel.c
View
arch/arm/boards/sama5d4_xplained/lowlevel.c
View
arch/arm/boards/sama5d4ek/lowlevel.c
View
arch/arm/mach-at91/at91sam9g45_devices.c
View
arch/arm/mach-at91/at91sam9g45_reset.S
View
arch/arm/mach-at91/at91sam9n12_devices.c
View
arch/arm/mach-at91/at91sam9x5_devices.c
View
arch/arm/mach-at91/include/mach/at91_ddrsdrc.h
View
arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h 100644 → 0
View
arch/arm/mach-at91/sama5d3_devices.c
View
arch/arm/mach-at91/sama5d4_devices.c