summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards
diff options
context:
space:
mode:
authorTeresa Gámez <t.gamez@phytec.de>2014-10-10 11:14:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-10-14 11:21:45 +0200
commit9da0a1481f2d1c1a0557da1d15a2d24eb7e766ac (patch)
tree116615ce4dfa4bd684b87d2bc1f92ec96113c0b9 /arch/arm/boards
parente346aab0ef62fec91c66054b735c4d8dd3519f39 (diff)
downloadbarebox-9da0a1481f2d1c1a0557da1d15a2d24eb7e766ac.tar.gz
barebox-9da0a1481f2d1c1a0557da1d15a2d24eb7e766ac.tar.xz
ARM: dts: split phyCORE-AM335x device tree
To support different module variants, split the phyCORE dts in dts and dtsi. Configurable parts which are supported by barebox are spi nor flash and i2c eeprom. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards')
-rw-r--r--arch/arm/boards/phytec-phycore-am335x/board.c4
-rw-r--r--arch/arm/boards/phytec-phycore-am335x/lowlevel.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boards/phytec-phycore-am335x/board.c b/arch/arm/boards/phytec-phycore-am335x/board.c
index 035866b969..64e3904256 100644
--- a/arch/arm/boards/phytec-phycore-am335x/board.c
+++ b/arch/arm/boards/phytec-phycore-am335x/board.c
@@ -34,7 +34,7 @@
static int pcm051_coredevice_init(void)
{
- if (!of_machine_is_compatible("phytec,pcm051"))
+ if (!of_machine_is_compatible("phytec,phycore-am335x-som"))
return 0;
am33xx_register_ethaddr(0, 0);
@@ -58,7 +58,7 @@ static char *xloadslots[] = {
static int pcm051_devices_init(void)
{
- if (!of_machine_is_compatible("phytec,pcm051"))
+ if (!of_machine_is_compatible("phytec,phycore-am335x-som"))
return 0;
switch (bootsource_get()) {
diff --git a/arch/arm/boards/phytec-phycore-am335x/lowlevel.c b/arch/arm/boards/phytec-phycore-am335x/lowlevel.c
index 66bae806c4..47902d0087 100644
--- a/arch/arm/boards/phytec-phycore-am335x/lowlevel.c
+++ b/arch/arm/boards/phytec-phycore-am335x/lowlevel.c
@@ -117,7 +117,7 @@ struct pcm051_sdram_timings timings[] = {
},
};
-extern char __dtb_am335x_phytec_phycore_start[];
+extern char __dtb_am335x_phytec_phycore_som_start[];
/**
* @brief The basic entry point for board initialization.
@@ -153,7 +153,7 @@ static noinline void pcm051_board_init(int sdram)
omap_uart_lowlevel_init((void *)AM33XX_UART0_BASE);
putc_ll('>');
- fdt = __dtb_am335x_phytec_phycore_start - get_runtime_offset();
+ fdt = __dtb_am335x_phytec_phycore_som_start - get_runtime_offset();
am335x_barebox_entry(fdt);
}
@@ -198,7 +198,7 @@ ENTRY_FUNCTION(start_am33xx_phytec_phycore_sdram, r0, r1, r2)
{
void *fdt;
- fdt = __dtb_am335x_phytec_phycore_start - get_runtime_offset();
+ fdt = __dtb_am335x_phytec_phycore_som_start - get_runtime_offset();
am335x_barebox_entry(fdt);
}