summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/dfi-fs700-m60
Commit message (Collapse)AuthorAgeFilesLines
* ARM: Cleanup stack offset cargo cultSascha Hauer2019-09-091-3/+3
| | | | | | | | | Most callers of arm_setup_stack substract a fixed offset of 8, 12 or 16 bytes from the stack top. This is unnecessary as on ARM we have a stack that decrements before storing values. Substracting this offset probably goes back to the U-Boot version we forked from. Stop this now. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: boot: Return BOOTSOURCE_SPI_NOR, not BOOTSOURCE_SPIAndrey Smirnov2018-04-171-1/+1
| | | | | | | | | | | | | We use BOOTSOURCE_SPI to denote, among other things, QSPI on i.MX7 and VFxxx, whereas on i.MX6 it is used to mean SPI-NOR. To make functions like imx_xload() work consistently across various i.MX platforms use already existent BOOTSOURCE_SPI_NOR constant to mean booting from SPI-NOR on i.MX6 as well. Replace all in-tree code that relying on the old value as well. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: return positive offset in get_runtime_offset()Sascha Hauer2018-03-211-3/+3
| | | | | | | | | | | When we are linked at 0x0 and running at 0x01000000 then get_runtime_offset() should return 0x01000000 and not 0xff000000. This makes get_runtime_offset() more consistent and better understandable. This was tested on a Freescale i.MX53 Quickstart board. Additionally relocate_to_adr() was tested since that is normally not called. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx: remove DCD files from MakefilesLucas Stach2017-07-201-2/+0
| | | | | | | | The current multi-image mechnism builds them as needed, so there is no reason to include them in the Makefiles. Remove them before this spreads even more. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* ARM: imx: use register defines in imxcfg files instead of plain numbersUwe Kleine-König2017-07-073-247/+256
| | | | | | | | | | | | | This makes the imxcfg files more readable and also makes it possible to share more assignments between machines that just differ by the used SoC. (Though I have to admit that in the cases converted here it just more easily allows to see that the RAM config differs more than probably necessary.) This change is intended to have no effect on the built artifacts. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* ARM: i.MX6: remove unnecessary includesSascha Hauer2015-07-161-1/+0
| | | | | | | Most files including imx6-mmdc.h do not actually use anything from it. Clean this up. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sizes.h: move include/sizes.h to include/linux/sizes.hMasahiro Yamada2015-01-082-2/+2
| | | | | | | | | | | | | | This file originates in Linux. Linux has it under include/linux/ directory since commit dccd2304cc90. Let's move it to the same place as well in barebox. This commit was generated by the following commands: find -name '*.[chS]' | xargs sed -i -e 's:<sizes.h>:<linux/sizes.h>:' git mv include/sizes.h include/linux/ Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: imx6: use imx6 specific cpu init functionLucas Stach2014-06-261-3/+4
| | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: bbu: remove dcd arguments from bbu registrationSascha Hauer2014-05-091-2/+2
| | | | | | | | | | | The i.MX barebox update handlers take an optional dcd table as argument. This can be used to add the correct dcd data to the image before flashing it. This mechanism is quite complicated and largely unused, so remove it. With this it is only possible to flash the exact image passed to barebox_update, which is what is mostly done anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: change signature of barebox_arm_entryLucas Stach2014-05-051-6/+6
| | | | | | | | | | | Mostly to make it clear that boarddata needs to be something we can dereference. As this is a pretty invasive change, use the opportunity to make the signature 64bit safe. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX DFI FS700-M60: Update for new boardsSascha Hauer2014-01-236-100/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for new board variants. Now Supported are: - i.MX6q module with 1GiB Micron RAM - i.MX6d/q modules with 1GiB/2GiB Nanya RAM - i.MX6s modules with 512MiB/1GiB Nanya RAM This has been tested on: - i.MX6q module with 1GiB Micron RAM - i.MX6d module with 2GiB Nanya RAM - i.MX6s module with 1GiB Nanya RAM The possible RAM equipment is: - For the 512MiB module: 2x Nanya nt5cb128m16fp-di - For the 1GiB modules: 2x Nanya nt5cc256m16cp or 4x Micron MT41K128M16JT-125 - For the 2GiB module: 4x Nanya nt5cc256m16cp The 512MiB Nanya board is assumed to work with the same DCD table as the 1GiB Nanya board. The variant is detected by mirroring at 512MiB, but this hasn't been tested by Pengutronix. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX DFI FS700-M60: Add SPI NOR flash update handlerSascha Hauer2014-01-151-1/+13
| | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Conflicts: arch/arm/boards/dfi-fs700-m60/board.c
* Merge branch 'for-next/arm-barebox-bootm'Sascha Hauer2014-01-071-1/+0
|\
| * ARM: remove armlinux_set_bootparams() calls from boardsSascha Hauer2014-01-061-1/+0
| | | | | | | | | | | | | | As the place for the atags now is determined automatically the call from the boards can be removed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: Make ENTRY_FUNCTION more robustSascha Hauer2013-12-101-6/+2
|/ | | | | | | | | | An entry function should begin with a exception header. For this to work properly the entry function should not contain any code which gcc might put before the header. To make this sure change the ENTRY_FUNCTION macro so that it generates one function which only contains the exception header and a second function which contains the original body of the entry function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: Add dfi fs700 m60 i.MX6 Q7 board supportSascha Hauer2013-08-065-0/+378
This is an i.MX6 based Q7 module, see: http://www.dfi.com.tw/products/ProductDetails.jsp?productId=1164&mainCategoryId=2&subCategoryId=581 This patch adds basic support for this module. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>