summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/afi-gf
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/misc'Sascha Hauer2018-04-061-12/+6
|\
| * ARM: AM335x: Fix invalid register accessSascha Hauer2018-03-191-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several DDR3 phy registers are written with the pattern x<<30 | x<<20 | x<<10 | x. The x<<30 doesn't fit into 32bit which causes a compiler warning. Looking at the reference manual only the lower 10bit of the registers have any meaning, so drop the other bogus values. This affects the registers: AM33XX_DATA0_RD_DQS_SLAVE_RATIO_0 AM33XX_DATA0_WR_DQS_SLAVE_RATIO_0 AM33XX_DATA0_WR_DQS_SLAVE_RATIO_1 AM33XX_DATA0_WRLVL_INIT_RATIO_0 AM33XX_DATA0_GATELVL_INIT_RATIO_0 AM33XX_DATA0_GATELVL_INIT_RATIO_1 AM33XX_DATA0_FIFO_WE_SLAVE_RATIO_0 AM33XX_DATA0_WR_DATA_SLAVE_RATIO_0 (AM33XX_DATA0_WR_DQS_SLAVE_RATIO_1 and AM33XX_DATA0_GATELVL_INIT_RATIO_1 do not even exist according to the reference manual, but that's another story.) 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>
* net: environment: update automountsSascha Hauer2017-12-151-10/+0
| | | | | | | | | | | Instead of using "ifup ethx" use "ifup -a" which works with all network interfaces. Also replace "$ethx.serverip" with "$global.net.server". This makes the automount independent of the actual network interface. Remove all board specific /env/init/automount files which were only there to use eth1 instead of the previously hardcoded eth0. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: environment: remove ethx setup filesSascha Hauer2017-12-141-18/+0
| | | | | | | Network configuration is now done with nvvars, so /env/network/eth* files are no longer needed. Remove them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv-2: remove unused *-menu-add-entry callsSascha Hauer2016-08-262-10/+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: AM335x: Make use of ARM_USE_COMPRESSED_DTBTeresa Remmet2016-02-171-3/+3
| | | | | | | | | | Use ARM_USE_COMPRESSED_DTB for all AM335x based board, to reduce the image size even more. Saves about 9kB in MLO image and 20kB in barebox image. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: am33xx: Master Osc clock speed handlingDaniel Schultz2016-01-261-1/+1
| | | | | | | | | Setup the plls with Master Osc. clock speed from the SYSBOOT Configuration Pin. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Teresa Remmet <t.remmet@phytec.de> 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: AM33xx: Add AFI GF board supportSascha Hauer2014-09-267-0/+385
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>