summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/kindle-mx50
Commit message (Collapse)AuthorAgeFilesLines
* magicvar: Replace BAREBOX_MAGICVAR_NAMED with BAREBOX_MAGICVARSascha Hauer2020-10-021-2/+2
| | | | | | | | BAREBOX_MAGICVAR now generates a unique identifier automatically, so we can convert users of BAREBOX_MAGICVAR_NAMED to the simpler BAREBOX_MAGICVAR macro. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: imx-image: rename dcdofs to ivtofsSascha Hauer2020-07-142-2/+2
| | | | | | | | | This renames the dcdofs config option in the imx-image tool to ivtofs. dcdofs is a misnomer. The DCD (Device Configuration Data) is only one part of the data linked into the IVT (Image Vector Table), but the meaning of the option is really the latter, not the former. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arch/arm/boards: Replace license and copyright boilerplate by SPDX identfiersUwe Kleine-König2020-05-251-15/+3
| | | | | | | | | | | | | | | | This adapts all files that were identifed by licensecheck (https://salsa.debian.org/build-common-team/licensecheck.git) as licensed under the GPL. The advantage is that these specifiers are machine-parseable which helps license conformance, e.g. for packaging barebox in Debian. While touching these files also do some minor comment reformatting to get some uniform layout. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* 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: boards: kindle mx50: adapt MCI name to DTSAlexander Kurz2019-05-212-2/+2
| | | | | | | | The MCI instances got aliases in the DTS from linux upstream which changed the eMMC devicename e.g. from disk0 to mmc2. Adapt to this. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: boards: kindle mx50: Make locally used function staticSascha Hauer2018-10-231-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: explain new way to boot using ATAGsSascha Hauer2018-06-111-2/+2
| | | | | | | oftree -f is gone and now global.bootm.boot_atag must be set to true if boot using ATAGs is desired. Update the documentation accordingly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2018-04-062-6/+6
|\
| * i.MX/DCD compiler and interpreter: logic is differentJuergen Borleis2018-03-262-6/+6
| | | | | | | | | | | | | | | | | | | | | | Reading the manual more carefully discovers a different logic for the DCD 'check' command. They use the term "until". In order to get the manual and the software in sync, this change switches to the term "until" as well. Changing must happen at compiler and interpreter level to make it work. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> 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/+1
| | | | | | | | 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: i.MX50: Amazon Kindle: Model EY21 compatibility checkAlexander Kurz2017-05-161-1/+2
| | | | | | | Extend the compatibility check for i.MX50 based kindles also on model EY21. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX50: Amazon Kindle: Add missing compatibility checksSascha Hauer2017-05-111-0/+19
| | | | | | | | | Add the checks to prevent Kindle specific code on other machines. This also adds compatible strings for the Kindle machines as they currently lack them. Reported-by: Stefan Riedmüller <S.Riedmueller@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX50: Add support for i.MX50 based Amazon Kindle e-book readersAlexander Kurz2017-04-2411-0/+598
The Kindle Model No. D01100 (Kindle Wi-Fi), D01200 (Kindle Touch) and EY21 (Kindle Paperwhite) are refered as the Kindle 4th and 5th generation. Those models are based on an i.MX50 SoC and use LPDDR1 or LPDDR2 Memory. The devices boot in internal boot mode from a build-in eMMC, alternatively some devices may be set into USB-downloader mode by pressing a specific key at startup. Add support for the i.MX50 based Kindle device and make barebox a drop-in replacement for the factory shipped u-boot image. Notable features: - Support for eMMC, USB, UART, I2C, SPI and Keys (except keyboard). - LPDDR1 and LPDDR2 setup is done via DCD, the same imximage may be used for USB-startup and for installation. - Support for vendor specific ATAGs that are required for the Kindle-System. - usbserial barebox console access by pressing Select button at startup, alternatively full console support on connector J14. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>