summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/clep7212
Commit message (Collapse)AuthorAgeFilesLines
* arch/arm/boards: Replace license and copyright boilerplate by SPDX identfiersUwe Kleine-König2020-05-252-16/+4
| | | | | | | | | | | | | | | | 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: boards: Harmonize barebox_arm_reset_vector() prototypeSascha Hauer2019-03-181-1/+1
| | | | | | | | | | | | barebox_arm_reset_vector() is a global function but we never provided a prototype anywhere. The prototypes differ for the different boards, so to provide a common prototype we must harmonize them. void barebox_arm_reset_vector(uint32_t r0, uint32_t r1, uint32_t r2) Should be suitable for all boards. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: clps711x: Increase boot spaceAlexander Shiyan2018-12-172-2/+2
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv-2: remove unused *-menu-add-entry callsSascha Hauer2016-08-261-5/+0
| | | | | | | The *-menu-add-entry functions no longer exist in defaultenv-2, so remove the calls to these functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: clps711x: clep7212: Register board env during runtimeAlexander Shiyan2016-07-1810-11/+8
| | | | | | | | Register the board specific environment during runtime using defaultenv_append_directory(). Also this patch updates default config. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: clps711x: clep7212: Increase the wait state for chip select 3Alexander Shiyan2016-07-181-1/+1
| | | | | | | | | CS3 is used for a variety of external bus devices. Increase the wait state for this chip select for the possibility of more widespread use. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* boards: Use nv.linux.bootargs.console for setting the console= commandline ↵Sascha Hauer2015-02-231-0/+0
| | | | | | | | | | | | parameter Using a dedicated variable makes it easier to change the console= parameter without affecting other values. Also the linux.bootargs.console variable is already used by common/console.c. Using the same variable in the environment avoids giving duplicate console= twice to the kernel Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Suggested-by: Teresa Gámez <t.gamez@phytec.de>
* sizes.h: move include/sizes.h to include/linux/sizes.hMasahiro Yamada2015-01-081-1/+1
| | | | | | | | | | | | | | 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>
* defaultenv-2: Make use of nonvolatile variablesSascha Hauer2014-11-064-12/+11
| | | | | | | | | | | | | | This moves the variable assignments previously done in /env/config-board to non volatile variables in /env/nv/. This makes the settings adjustable by the user without editing a file. Most of the changes are simple conversions which for many boards makes /env/config-board unnecessary. Some boards had some logic to assign global.boot.default based on the current bootsource. This has been moved to /env/init/bootsource. An additional check is added to not overwrite a nv.boot.default should it exist. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2014-07-041-5/+0
|\ | | | | | | | | | | | | | | Conflicts: arch/arm/boards/chumby_falconwing/falconwing.c arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c arch/x86/mach-x86.dox scripts/setupmbr/setupmbr.c
| * remove unused boot-menu-add-entrySascha Hauer2014-06-231-5/+0
| | | | | | | | | | | | | | The boot-menu-add-entry script no longer exists. Remove it from boot scripts. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: clep7212: Make partition names more genericAlexander Shiyan2014-06-061-1/+1
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: clps711x: Prepare common init function to DT supportAlexander Shiyan2014-06-061-1/+1
|/ | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* 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>
* Set model and hostname at boardlevelSascha Hauer2013-08-162-2/+3
| | | | | | | | | | | | With multiboard support the compiletime generated BOARDINFO string gets more and more meaningless. This removes it from Kconfig and replaces it with a variable that can be set at boardlevel. Also many boards have a standard setting for the hostname in the environment. This patch also moves the standard to C code by calling barebox_set_hostname(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Remove unused config.hAlexander Shiyan2013-04-091-4/+0
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: clps711x: Replace numeric PLL option with boolean for raise CPU frequencyAlexander Shiyan2013-03-111-3/+5
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: clep7212: Migrate to config-boardAlexander Shiyan2013-03-112-20/+14
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2013-03-041-2/+2
|\
| * switch boards to lwl-yJean-Christophe PLAGNIOL-VILLARD2013-02-211-2/+2
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: clep7212: Update default environmentAlexander Shiyan2013-02-138-56/+32
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: clps711x: Move memory initialization in common CLPS711X locationAlexander Shiyan2013-02-131-10/+0
| | | | | | | | | | | | | | | | One memory initialization will be used on any CLPS711X-target, so move it in the common location. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: clep7212: Fix NULL pointer exception if MMU is enabledAlexander Shiyan2013-02-131-1/+5
| | | | | | | | | | | | | | | | NOR-flash is placed at address 0x0, so if MMU is turned on, initialization will fails. This patch fix this problem. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: clps711x: Adds config option for CPU PLL multiplierAlexander Shiyan2013-02-131-1/+5
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: clps711x: Move basic lowlevel initialization in common CLPS711X locationAlexander Shiyan2013-02-131-47/+1
| | | | | | | | | | | | | | | | One lowlevel initialization will be used on any CLPS711X-target, so move it in the common location. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: clps711x: Rework lowlevel initialization codeAlexander Shiyan2013-02-131-21/+32
|/ | | | | | | | | | | | | This is a rework of CLPS711X low level initialization code which includes: - Prepare for changing CPU PLL multiplier from board lowlevel code. - Decrease initial memory size to 8MB. It is minimal known size. - Fix SDRAM initialization comment about size. - Turn off all peripherals on startup. - Skip PLL initialization if CPU is running from external 13 MHz clock. - Use correct CPU speed for older CPUs without PLL. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: rename reset and common_reset to barebox_arm_reset_vector and ↵Jean-Christophe PLAGNIOL-VILLARD2013-02-081-2/+2
| | | | | | | | | arm_cpu_lowlevel_init reset is confusing with the cpu reset and impossible to grep Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM clep7212: switch to barebox_arm_entrySascha Hauer2013-02-041-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: clps711x: Add generic board support (CLEP7212)Alexander Shiyan2012-11-0210-0/+190
This patch adds generic board support (CLEP7212, Linux ARM ID=91) for CLPS711X-target. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>