9
0
Fork 0
Commit Graph

3727 Commits

Author SHA1 Message Date
Sascha Hauer 7413dc4258 treewide: Fix typo collumn -> column
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-11 08:07:47 +01:00
Teresa Gámez d15dceb2d0 ARM: AM335x: Fix typo in Phytec boards
Has to be bootsource not boosource.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-11 08:05:27 +01:00
Teresa Gámez 5844f3c3c7 ARM: dts: Add missing gpmc setting for phyFLEX-AM335x
cycle2cycle-diffcsen needs to be enabled.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-09 10:31:28 +01:00
Teresa Gámez 6720c3ef6e ARM: dts: Add missing gpmc setting for phyCORE-AM335x
cycle2cycle-diffcsen needs to be enabled.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-09 10:31:28 +01:00
Teresa Gámez 7de8e80d9f ARM: phytec: am335x: Update enviroment comment
We do not have a root partition in spi flash any more.
Adapt comment.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-09 10:13:48 +01:00
Sascha Hauer 38c6f5d351 Merge branch 'for-next/socfpga' 2014-12-08 14:54:12 +01:00
Sascha Hauer b01bc4c810 Merge branch 'for-next/randconfig-1' 2014-12-08 14:54:11 +01:00
Sascha Hauer 9b1d12fff0 Merge branch 'for-next/randconfig' 2014-12-08 14:54:11 +01:00
Sascha Hauer 3eade89c75 Merge branch 'for-next/persistent-vars'
Conflicts:
	arch/arm/boards/efika-mx-smartbook/defaultenv-efikasb/config
2014-12-08 14:54:09 +01:00
Sascha Hauer c2b5a7015b Merge branch 'for-next/misc' 2014-12-08 14:53:59 +01:00
Sascha Hauer d3933bd350 Merge branch 'for-next/marvell' 2014-12-08 14:53:59 +01:00
Sascha Hauer 86916569a8 Merge branch 'for-next/imx' 2014-12-08 14:53:59 +01:00
Sascha Hauer 1e5b933b5d Merge branch 'for-next/am335x' 2014-12-08 14:53:58 +01:00
Steffen Trumtrar 1018c7f732 ARM: socfpga: socrates: update handoff files to 14.0
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-08 08:44:08 +01:00
Steffen Trumtrar e4fc177199 ARM: socfpga: sockit: update handoff files to 14.0
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-08 08:44:08 +01:00
Steffen Trumtrar 24532c33fc ARM: socfpga: update sdram calibration to 14.0
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-08 08:39:11 +01:00
Steffen Trumtrar bd40638ef0 ARM: socfpga: move iocsr from mach to board folder
The current iocsr-config-cyclone5.c is actually board specific, although the
file name suggests otherwise.
As the file was generated for the SoCkit, move it there and add a new one
for the socrates.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-08 08:39:11 +01:00
Christian Hemp d91a964251 ARM: imx_v7_defconfig: Enable ubiformat
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-04 08:24:48 +01:00
Andrey Smirnov 81f09526a2 i.MX6: phytec: Distil common code pattern into a macro
Distil common code pattern for Phytec entry functions into a macro and
use it instead. This way a new board derivateve that differs only in device
tree file can be added with just one line.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-04 08:23:00 +01:00
Andrey Smirnov 92e7d8e5c6 i.MX6: phytec: Distil different startup functions
Distil different startup functions into a generic one, different
behavioral aspects of which can be influenced by its parameters.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-12-04 08:21:47 +01:00
Sascha Hauer 20be4b187d ARM: AM335x: Select OFTREE
All AM335x boards are devicetree only, so select support for it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-28 15:21:27 +01:00
Sascha Hauer d51e7ace0d ARM: rockchip: select PINCTRL
The Rockchip support needs pinctrl support, so select it in Kconfig.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-28 15:21:27 +01:00
Sascha Hauer 14a4a52156 ARM: AT91: Always provide clk_set_rate stub
Some drivers need clk_set_rate. To be able to link with these
drivers enabled provide a clk_set_rate stub.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-28 15:21:26 +01:00
Sascha Hauer c559baa9e9 ARM: Let MMU depend on !CPU_ARM946E
CPU_ARM946E is selected by boards, so letting it depend on !MMU
leads to broken dependencies. Let MMU depend on !CPU_ARM946E instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-28 15:21:26 +01:00
Sascha Hauer af0c68eb96 ARM: ep93xx: let broken SoCs depend on BROKEN
Compilation with these SoCs fails with CONFIG_EP93XX_SDRAM_BANK3_SIZE
undefined.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-28 15:21:25 +01:00
Sascha Hauer 9837285c67 ARM: ep93xx: Fix typo
Initialize 4th RAM bank with CONFIG_EP93XX_SDRAM_BANK3_SIZE,
not CONFIG_EP93XX_SDRAM_BANK2_SIZE.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-28 15:21:25 +01:00
Sascha Hauer 51903e7425 ARM: friendlyarm-mini2440: fix compilation for some displays
struct fb_videomode does not have a flag member, so do not initialize
it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-28 15:21:25 +01:00
Sascha Hauer 2d5cb7e6da ARM: PBL: Add missing pieces for xz compressed PBL image
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 17:15:23 +01:00
Sascha Hauer 3f6c7eaf0d ARM: Don't allow Thumb2 on Tegra
Tegra builts its initial code for the v4 CPU which is not
Thumb2 capable.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 17:15:10 +01:00
Sascha Hauer daed803a92 ARM: Nomadik: Implement a clk_set_rate stub
Some drivers need it, so give it to them.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 17:14:45 +01:00
Sascha Hauer 21930e538f ARM: dts: only build internal dtb when the name is not empty
Normally this is a configuration error, but it helps building
randconfigs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 17:14:41 +01:00
Lucas Stach 802abe8434 arm: imx: iim/ocotp: fix link error when !CONFIG_NET
Don't try to attach mac to device if there is no net support selected.
Fixes:
undefined reference to `dev_add_param_mac' in both iim and ocotp drivers.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 17:12:40 +01:00
Sascha Hauer 1b6d26af3c ARM: i.MX: update imx_v7_defconfig
Enable support for the i.MX6sx sabresdb and the KaRo Tx6x.
The sabresdb needs regulator support, so enable this aswell.
Also enable usbserial support.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 15:15:45 +01:00
Sascha Hauer 8c3b230807 command: passwd: depend on CMD_LOGIN rather than selecting it
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 14:33:57 +01:00
Sascha Hauer 9196cac0bd ARM: i.MX: Add i.MX6sx sabresdb support
This adds support for the Freescale i.MX6sx sabresdb board.

Tested are:

- UART
- The three SD card slots
- USB host
- USB otg (host and device mode)
- FEC (both)

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 11:26:02 +01:00
Sascha Hauer 0c08fa3bd2 ARM: i.MX: Add i.MX6sx support
Add some cpu type defines and clock support. The clock support
is very different from other i.MX variants, so it's a separate
file, like done in the kernel.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 11:25:52 +01:00
Sascha Hauer 1abc1202d0 ARM: i.MX: ocotp: Add i.MX6sx compatible entry
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 11:25:37 +01:00
Sascha Hauer f154e9ca76 ARM: i.MX: ocotp: Fix MAC address provider for unaligned addresses
The current algorithm assumes the MAC address starts at a 4 byte
aligned address. Unfortunately this is not always the case. On the
i.MX6sx the MAC Address for the second FEC starts at offset 0x632.
The register space for the fuse map has holes, only the 16 byte
aligned words contain data. This means we have to skip the holes.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 11:25:33 +01:00
Wadim Egorov 4d6e582c7f ARM: dts: phyCORE-AM335x: Remove unused pin in nandflash pinmuxing
Pin 0x74 (gpmc_wpn.gpio0_30) is not used on the phyCORE SOM.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-27 11:22:41 +01:00
Lucas Stach 3127a942b7 blspec: depend on, not select flexible bootargs
Blspec is a consumer of the flexible bootargs mechanism, so it should
depend on it rather than select it.

Fixes:
warning: (BLSPEC && DEFAULT_ENVIRONMENT_GENERIC_NEW) selects FLEXIBLE_BOOTARGS
which has unmet direct dependencies (COMMAND_SUPPORT && CMD_GLOBAL)

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-26 19:21:09 +01:00
Lucas Stach 154c0b70f0 arm: imx: pca100: only try to enable USB if USB_ULPI is configured
Avoids a build failure if the config does not include ULPI support.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-26 19:21:09 +01:00
Dmitry Lavnikevich 54961378f0 imx6: clk: Gate off ENFC clock before setting clock rate
This fixes NAND initialization issue which appears occasionally on
some i.MX6 SoCs (particulary was observed on phyCARD-i.MX6 with
i.MX6Solo).

Signed-off-by: Dmitry Lavnikevich <d.lavnikevich@sam-solutions.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-26 16:43:12 +01:00
Lucas Stach 14b53a11c7 arm: fill BUILTIN_DTB_NAME for boards that still use this option
There are only a few users of BUILTIN_DTB left, but those should
alsways fill thr name properly. Avoids lots of failures in the
randconfig builds.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-24 14:04:10 +01:00
Lucas Stach 9f46d31f81 arm: don't allow to select BUILTIN_DTB when building multiimage
It doesn't make sense to allow building in a single DTB into a
multiimage barebox, so we can spare the user this option.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-24 14:04:10 +01:00
Lucas Stach 57b584d748 arm: imx: nand update handler depends on MTD layer
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-24 14:04:10 +01:00
Lucas Stach c617f53768 arm: imx: select I2C for all boards that need it in their board init
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-24 14:04:09 +01:00
Lucas Stach 4bd07a1039 arm: imx: select MFD_MC13XXX for all boards that need it
This was only done for some of the boards and while it is ok to build
those boards without regulator support it may potentially yield non-working
barebox binaries. This is clearly not what the user wanted.

Also select the appropriate bus support needed for the MC13xxx.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-24 14:04:08 +01:00
Dmitry Lavnikevich 36d08119e9 ARM i.MX: add 2-bit gate clock support
Based on kernel clk-gate2 and barebox clk-gate implementations.

Signed-off-by: Dmitry Lavnikevich <d.lavnikevich@sam-solutions.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-24 13:42:26 +01:00
Andrey Smirnov 074960339e i.MX6: esdctl: Fix a bug in memory probing code
Old version of imx6_mmdc_add_mem did not use 64-bit arithmetic and
thus was prone to overflow on systems with 4GB of memory. It also did
not take into account the fact that i.MX6 does not support more than
3.8GB of memory and would report incorrect memory size. This commit
fixes both issues.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-20 14:57:19 +01:00
Sascha Hauer a56dcaa9d4 ARM: i.MX51 efikasb: register init callback for PMIC init
So that the PMIC initialisation is called once it's available.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-11-20 14:57:18 +01:00