![Grant Likely](/assets/img/avatar_default.png)
For testing the dt work, define a dt-enabled versatile platform. This patch adds a new versatile platform for when using the device tree. Add platform and amba devices are discovered and registered by parsing the device tree. Clocks and initial io mappings are still configured statically. This patch still depends on some static platform_data for a few devices which is passed via the auxdata structure to of_platform_populate(), but it is a viable starting point until the drivers can get all configuration data out of the device tree. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
29 lines
718 B
Plaintext
29 lines
718 B
Plaintext
menu "Versatile platform type"
|
|
depends on ARCH_VERSATILE
|
|
|
|
config ARCH_VERSATILE_PB
|
|
bool "Support Versatile Platform Baseboard for ARM926EJ-S"
|
|
select CPU_ARM926T
|
|
select MIGHT_HAVE_PCI
|
|
default y
|
|
help
|
|
Include support for the ARM(R) Versatile Platform Baseboard
|
|
for the ARM926EJ-S.
|
|
|
|
config MACH_VERSATILE_AB
|
|
bool "Support Versatile Application Baseboard for ARM926EJ-S"
|
|
select CPU_ARM926T
|
|
help
|
|
Include support for the ARM(R) Versatile Application Baseboard
|
|
for the ARM926EJ-S.
|
|
|
|
config MACH_VERSATILE_DT
|
|
bool "Support Versatile platform from device tree"
|
|
select USE_OF
|
|
select CPU_ARM926T
|
|
help
|
|
Include support for the ARM(R) Versatile/PB platform,
|
|
using the device tree for discovery
|
|
|
|
endmenu
|