summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | ARM: i.MX: Make NAND related Kconfig options depend on MTDAndrey Smirnov2014-11-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ARCH_IMX_EXTERNAL_BOOT_NAND, BAREBOX_UPDATE_IMX_EXTERNAL_NAND and BAREBOX_UPDATE_IMX6_NAND all enable features that make use of API provided by MTD subsystem, so to prevent those features breaking the build when MTD is disabled make them dependent on it. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX6 GuF Santaro: Fix SD cd/wp gpiosSascha Hauer2014-11-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gpios are plain wrong, use the correct ones. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: imx5: add imx5_cpu_lowlevel_init and use in all boardsLucas Stach2014-11-0713-13/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is similar to what we do on imx6 and makes sure we apply the errata workarounds early. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: implement recommended WAR for errata 709718Lucas Stach2014-11-071-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ARM Cortex A8 errata 709718: "Load and store operations to shared device memory regions may not complete in program order" We implement the recommended workaround in the bootloader as it must be applied before enabling the MMU for the first time. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX6 GuF Santaro: Make edt touchscreen compatible more specificSascha Hauer2014-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compatible string officially merged in the kernel is edt,edt-ft5206, not edt,edt-ft5x06. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX6 GuF Santaro: Add simple-panel supportSascha Hauer2014-11-071-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't know the name and vendor of the panel and since the Kernel simple panel driver does not allow videomodes it's just "unknown,the-display-on-the-garz-fricke-santaro". Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX6 GuF Santaro: Fix phy clockSascha Hauer2014-11-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use external phy clock so that the kernel configures GPR1 bit 21 correctly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX6: GuF Santaro: Use emmc boot1 for storing the environmentSascha Hauer2014-11-061-1/+1
| | |/ / | |/| | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/am335x'Sascha Hauer2014-12-086-14/+57
|\ \ \ \ | |_|_|/ |/| | |
| * | | ARM: dts: phyCORE-AM335x: Remove unused pin in nandflash pinmuxingWadim Egorov2014-11-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | ARM: omap: Add bootsource serial to xloadJan Weitzel2014-11-193-3/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If booted from serial via xmodem, also get barebox.bin per xmodem For first stage you need the .pblx file instead of MLO. Add serial boot to am335x_mlo_defconfig introduce some cleanups by savedefconfig Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: defconfig: Enable Micrel PHY driver in am335x_defconfigWadim Egorov2014-11-191-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | am335x:phyflex: Remove phy fixup from board fileChristian Hemp2014-11-191-10/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | The ethernet timings are set by the devicetree. They are no longer required in the board file. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | arm: imx: iim/ocotp: fix link error when !CONFIG_NETLucas Stach2014-11-272-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | blspec: depend on, not select flexible bootargsLucas Stach2014-11-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | arm: imx: pca100: only try to enable USB if USB_ULPI is configuredLucas Stach2014-11-261-2/+5
| | | | | | | | | | | | | | | | | | | | | 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>
* | | arm: fill BUILTIN_DTB_NAME for boards that still use this optionLucas Stach2014-11-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | arm: don't allow to select BUILTIN_DTB when building multiimageLucas Stach2014-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | arm: imx: nand update handler depends on MTD layerLucas Stach2014-11-241-0/+4
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | arm: imx: select I2C for all boards that need it in their board initLucas Stach2014-11-241-0/+6
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | arm: imx: select MFD_MC13XXX for all boards that need itLucas Stach2014-11-241-0/+12
|/ / | | | | | | | | | | | | | | | | | | | | 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>
* | sandbox: avoid symbol conflict for fstatJan Luebbe2014-11-071-1/+1
| | | | | | | | | | | | | | | | | | Recently, a fstat function was added to barebox. Redefine it as usual to avoid problems for the sandbox. This fixes loading files into the sandbox. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: mach-imx: fix Eukrea CPUIMX51 Kconfig stringLucas Stach2014-11-071-1/+1
| | | | | | | | | | | | | | | | Was accidently preplaced by the Karo-TX 51 string, restore the previous state. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: imx53-qsrb: fix initcalls on START-R boardLucas Stach2014-11-071-2/+4
|/ | | | | | | | | The compatible changed when we switched to the upstream DTs, so the initcalls would not be executed on the START-R board. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/tegra'Sascha Hauer2014-11-0521-2840/+435
|\
| * tegra: remove custom UART setupLucas Stach2014-11-043-119/+0
| | | | | | | | | | | | | | | | | | | | The config option doesn't make any sense anymore when building a multiimage barebox. With a proper DT built into the image we don't need the ODMdata mechanism to find the debug UART anymore. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: jetson-tk1: add stdout-pathLucas Stach2014-11-041-0/+3
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: tegra124: add serial alias nodesLucas Stach2014-11-041-1/+8
| | | | | | | | | | | | | | | | They are missing in the upstream DT. Add them locally for now. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: colibri-t20: add stdout-pathLucas Stach2014-11-041-0/+4
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: beaver: add stdout-pathLucas Stach2014-11-041-0/+2
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: beaver: switch to upstream Tegra30 dtsiLucas Stach2014-11-042-893/+1
| | | | | | | | | | | | | | | | It's the same as our version, so no need to carry it around any longer. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: colibri-t20: set hostname in board initLucas Stach2014-11-042-0/+30
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * arm: dts: jetson-tk1: switch to upstream DTLucas Stach2014-11-041-1822/+1
| | | | | | | | | | | | | | | | Almost everything is upstream now, so no need to keep our private copy of the DT. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: defconfig: enable barebox OF driversLucas Stach2014-11-041-0/+1
| | | | | | | | | | | | | | | | We use them to configure the environment location so it's a good idea to have them available by default. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: pmc: add support for reset src detectionLucas Stach2014-11-043-0/+42
| | | | | | | | | | | | | | Also activate in defconfig. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tegra124: add environment path to Jetson-TK1 DTLucas Stach2014-11-041-1/+8
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tegra30: add environment path to Beaver DTLucas Stach2014-11-041-1/+8
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: jetson-tk1: set hostname in board initLucas Stach2014-11-041-2/+13
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: beaver: set hostname in board initLucas Stach2014-11-041-2/+13
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: jetson-tk1: enable 1.05V_RUNLucas Stach2014-11-043-1/+53
| | | | | | | | | | | | | | Needed for the PCIe PLL amongst other things. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: pmc: work around power domain failureLucas Stach2014-11-031-0/+2
| | | | | | | | | | | | | | | | | | Sometimes a power domain didn't properly power up, reading back the command register seems to fix this by flushing the write. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tegra: enable network related options in defconfigLucas Stach2014-10-081-0/+7
| | | | | | | | | | | | | | | | Now that we have working network support on the Beaver board it makes sense to enable some network options. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tegra: advertise PCI supportLucas Stach2014-10-082-0/+2
| | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * tegra: pmc: add powerdomain handlingLucas Stach2014-10-082-3/+229
| | | | | | | | | | | | | | | | | | In order to use some devices we first have to power up their power domain. Add support to do this in a generic way. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: tegra: beaver: enable PEX voltage railLucas Stach2014-10-081-1/+10
| | | | | | | | | | | | | | Supply for the PCIe PLL. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i2c: tegra: move to fs initcallLucas Stach2014-10-081-1/+1
| | | | | | | | | | | | | | | | i2c is needed to enable voltage rails that are later needed by other drivers. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * clk: tegra30: add PCIe clocksLucas Stach2014-10-081-0/+2
| | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * clk: tegra: add PLLE setup functionsLucas Stach2014-10-081-0/+2
| | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * MIPS: malta: fix pci IO resource assignmentLucas Stach2014-10-081-2/+2
| | | | | | | | | | | | | | Does the same thing as the Linux kernel now. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/nitrogen6x'Sascha Hauer2014-11-0510-17/+213
|\ \