summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/vscom-baltos
Commit message (Collapse)AuthorAgeFilesLines
* ARN: boards: Remove duplicate includesAlexander Shiyan2019-01-181-1/+0
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: boards: vscom-baltos: Run environment_initcall only on correct boardTeresa Remmet2018-12-201-0/+3
| | | | | | | Check for the correct hardware before reading the eeprom. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: return positive offset in get_runtime_offset()Sascha Hauer2018-03-211-1/+1
| | | | | | | | | | | 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>
* Revert "globalvar: make globalvar functions more consistent"Sascha Hauer2017-06-131-3/+4
| | | | This reverts commit 1b4a05c9263ae26083526acfabdea1ef96531a1d.
* globalvar: make globalvar functions more consistentSascha Hauer2017-04-111-4/+3
| | | | | | | | | Similar to the device parameter functions also make the globalvar functions more consistent. This also adds support for readonly globalvars and changes several existing globalvars which should really be readonly to readonly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: baltos: enable mPCIe slot and configure external GPIO controllerYegor Yefremov2017-03-301-0/+12
| | | | | | | | | | | | Baltos devices provide a mPCIe slot, whose power is turned off by default. This patch activates mPCIe slot in barebox, so that for example GSM modem can be already available in user space. Also configure external GPIO controller via setting its output pins to low. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: baltos: define baltos_sram_init() return type as voidYegor Yefremov2017-03-131-1/+1
| | | | | | | | As stated in the routine's description this routine is to return void, hence fix its declaration to remove compiler warning. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: baltos: prolong global resetYegor Yefremov2017-01-101-0/+6
| | | | | | | | Prolong global reset to the max. value of 0xff. Such a long reset is required for some peripherals found on Baltos devices. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: Baltos: don't invoke baltos_read_eeprom in MLOYegor Yefremov2016-10-211-0/+2
| | | | | | | | | EEPROM information is needed in barebox.bin in order to setup MACs and select appropriate DTB from kernel-fit.itb, so disable this initcall in MLO. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: Baltos: setup MPU PLL to run at 600MHzYegor Yefremov2016-10-191-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add support for Baltos systemsYegor Yefremov2016-10-073-0/+268
OnRISC Baltos devices are based on a am335x SoC and can be booted either from MMC or NAND. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>