diff options
author | Teresa Gámez <t.gamez@phytec.de> | 2014-10-10 11:14:33 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-10-14 11:22:54 +0200 |
commit | 926d391b8ae82d12569e973dec746013e45ab2ba (patch) | |
tree | 790ba0ddb7216d51699e16ed059d681308f39747 /arch/arm/boards | |
parent | 9da0a1481f2d1c1a0557da1d15a2d24eb7e766ac (diff) | |
download | barebox-926d391b8ae82d12569e973dec746013e45ab2ba.tar.gz barebox-926d391b8ae82d12569e973dec746013e45ab2ba.tar.xz |
phyCORE-AM335x: Add barebox image without SPI NOR
Boards like phyBOARD-WEGA RDK have an phyCORE-AM335x
connected with no SPI NOR flash. Added dts to support this.
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/lowlevel.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boards/phytec-phycore-am335x/lowlevel.c b/arch/arm/boards/phytec-phycore-am335x/lowlevel.c index 47902d0087..55cc6679ed 100644 --- a/arch/arm/boards/phytec-phycore-am335x/lowlevel.c +++ b/arch/arm/boards/phytec-phycore-am335x/lowlevel.c @@ -118,6 +118,7 @@ struct pcm051_sdram_timings timings[] = { }; extern char __dtb_am335x_phytec_phycore_som_start[]; +extern char __dtb_am335x_phytec_phycore_som_no_spi_start[]; /** * @brief The basic entry point for board initialization. @@ -202,3 +203,12 @@ ENTRY_FUNCTION(start_am33xx_phytec_phycore_sdram, r0, r1, r2) am335x_barebox_entry(fdt); } + +ENTRY_FUNCTION(start_am33xx_phytec_phycore_no_spi_sdram, r0, r1, r2) +{ + void *fdt; + + fdt = __dtb_am335x_phytec_phycore_som_no_spi_start - get_runtime_offset(); + + am335x_barebox_entry(fdt); +} |