Antony Pavlov
0b3f983b11
MIPS: loongson-ls1b: add documentation
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 10:43:56 +01:00
Antony Pavlov
2605de8f40
MIPS: loongson-ls1b: add NMON support
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 10:43:56 +01:00
Antony Pavlov
10ba0919d7
MIPS: loongson-ls1b: add PBL support
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 10:43:55 +01:00
Antony Pavlov
b496743c61
MIPS: loongson-ls1b: add ns16550-based console
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 10:43:55 +01:00
Antony Pavlov
b7f18a40e9
MIPS: loongson-ls1b: add DEBUG_LL support
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 10:43:55 +01:00
Antony Pavlov
e418f1a4ce
MIPS: mach-loongson: add DEBUG_LL support
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 10:43:55 +01:00
Antony Pavlov
0208fdb15b
MIPS: mach-loongson: add loongson-ls1b board
...
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 10:43:55 +01:00
Antony Pavlov
0b2b371a55
MIPS: add initial Loongson-1X SoC stuff
...
This code is based on linux-3.6 code.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 10:43:55 +01:00
Renaud Barbier
78f3ac7619
DA923RC: enable UBI/UBIFS configuration
...
The UBI/UBIFS support is enabled and a script is added to attach
the UBI device and mount the UBIFS partition. This allows the loading
of firmware images from the NOR flash.
Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 08:42:54 +01:00
Renaud Barbier
4a6c8b1e04
UBIFS: implement readlink entry point
...
Implement the readlink entry point for future use by the DA923RC.
Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 08:42:53 +01:00
Renaud Barbier
b99e853aff
ppc: remove bit operation headers file conflict
...
Removed the ppc bit operation functions and definitions in the ppc
file asm/bitops.h since these are already defined in the asm-generic header
files. Moved ffs64 definition to the mpc85xx header files because
the function requires the inclusion of linux/log2.h which also includes
asm/bitops.h.
The conflict was noted when UBIFS was enabled in barebox.
Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-30 08:42:53 +01:00
Alexander Shiyan
9ef62b72ef
scripts: imx-usb-loader: Fix memory leak
...
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 21:38:10 +01:00
Alexander Shiyan
303c3d1e24
gadget: at91: Fix uninitialized variable
...
Variable udc is used unitialized for DBG(xxx).
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 21:38:10 +01:00
Alexander Shiyan
7c1a6a3c91
ppc 8xxx: Fix logic
...
Expression (pdimm->data_width >= 32) || (pdimm->data_width <= 40)
always evaluates to true, so probably we need to use "&&" here.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 21:38:10 +01:00
Alexander Shiyan
717b8bbcfd
MIPS: mach-ar231x: Fix uninitialized variable
...
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 21:38:09 +01:00
Sascha Hauer
706cef7e5b
reset_source: add reset_source_get
...
To get reset_source from C code, not only from shell.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 12:12:23 +01:00
Sascha Hauer
0099a887c0
reset_source: rename set_reset_source to reset_source_set
...
To get all reset source related functions into the same function
namespace.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 12:12:17 +01:00
Sascha Hauer
2af8bdd369
ARM: i.MX53: tqma53: Switch to devicetree and multiboard support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:51:23 +01:00
Sascha Hauer
e0316b4dd7
ARM: dts: i.MX53: tqma53: Add barebox specifics
...
- add chosen node with
- environment
- linux,stdout-path
- add dsr value to eMMC
- add provide-mac-address property to iim node
- set memory size in memory node to 0 since we have two different
memory sizes which have to be handled.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:51:23 +01:00
Sascha Hauer
92cfd4dc8e
ARM: dts: Add TQ tqma53/mba53 dts files
...
Directly taken from Linux-3.13.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:51:23 +01:00
Sascha Hauer
4da8bcc25b
ARM: imx_v7_defconfig: Enable new boards
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:51:23 +01:00
Sascha Hauer
747b71b1fc
ARM: phyCARD-i.MX27: Switch to devicetree probe support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:51:19 +01:00
Sascha Hauer
078a29da28
mci: imx: Add devicetree probe support
...
Only simple probing, no properties supported yet.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
dcb8a8b1a6
ARM: dts: phycard-i.MX27: Add sdhc2 pinctrl
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
ab0ee012a1
ARM: dts: phycard-i.MX27: Add environment and NAND partitioning
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
c812fd20fe
ARM: phycard-i.MX27: Add stdout-path property
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
f8ad3a8859
ARM: phycard-i.MX27: Add NAND support to dts
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
14bb8cc21b
ARM: i.MX clocksource: return successful for multiple instances
...
With multiple instances we returned -EBUSY which will provoke a
log message. Return successful instead since the i.MX27 has multiple
GPTs in the devicetree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
d25cba0090
pinctrl: Add pinctrl driver for i.MX1/21/27
...
This turns the legacy iomux-v1 support into a full pinctrl
driver.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
c5b7986089
ARM: i.MX: external NAND boot: pass boarddata
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
0895a9ad1c
ARM: dts: Add Phytec phyCARD-i.MX27 devicetree files
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
1f8618db7f
ARM: dts: Add i.MX27 devicetree files
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:31 +01:00
Sascha Hauer
35ae916ecf
ARM: i.MX: external NAND boot: do not depend on cpu_is_*
...
With multiboard support the cpu_is_* macros are no longer compile time
generated and do not work in early code, so pass a v1 variable around.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:31:30 +01:00
Sascha Hauer
f77e5b9385
ARM: i.MX: external NAND boot: make it work with relocatable PBL
...
We used to copy the initial binary portion from NFC SRAM to TEXT_BASE
and jumped there. With relocatable PBL TEXT_BASE becomes 0, so this
doesn't work. This is changed to copy the initial binary portion
to the beginning of SDRAM instead.
Tested on Phytec phyCARD-i.MX27 and Karo TX25 with and without
relocatable pbl.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 11:25:05 +01:00
Sascha Hauer
f9b266ec40
images: remove unused command
...
cmd_selfextract is unused. Remove it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:32:39 +01:00
Sascha Hauer
b35e927f7f
ARM: mode cpu_architecture() to common.c
...
It might be needed in pbl code, so move it to a file which is
compiled in pbl mode.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:31:02 +01:00
Sascha Hauer
8aba2cbd93
ARM: Do not use BUG() in pbl code
...
BUG() uses printf which is not available in pbl, so do not use it here.
This becomes necessary when multiple CPU architectures are compiled in.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:30:56 +01:00
Sascha Hauer
932d0cc9a3
ARM: Pass armv7-a AFLAGS to cache-v7
...
The cache-v7 code uses assembler instructions which do not
exist on before v7, so explicitely pass armv7-a to this file
to make the compiler happy.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:30:51 +01:00
Sascha Hauer
fd2f50212e
ARM: Make thumb2 compilation only visible on CPUs that support it
...
Thumb2 can't be used if one of CPU_32v4T, CPU_32v5 or CPU_32v6 is
selected.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:30:46 +01:00
Sascha Hauer
ae39ba29c6
misc: Add devicetree SRAM driver
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:29:47 +01:00
Sascha Hauer
27da1665d3
misc Kconfig: always ask for misc devices
...
The "Misc devices" menu does not enable anything by itself, so make it a
regular menu rather than a menuconfig.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:29:43 +01:00
Lucas Stach
7a2fe46680
ARM: dts: pull in complete DTs from Linux 3.13
...
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:28:50 +01:00
Lucas Stach
fb7163f715
dt-bindings: add Tegra CAR
...
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:28:50 +01:00
Lucas Stach
24763f8ff7
dt-bindings: add Tegra GPIO
...
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:28:50 +01:00
Lucas Stach
7f58591b3a
dt-bindings: add ARM GIC
...
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:28:50 +01:00
Alexander Shiyan
f986b95735
ARM: i.MX: esdctl-v4: Use __iomem specifier for memory pointer
...
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:18:42 +01:00
Alexander Shiyan
1a1c929ee9
ARM: i.MX: esdctl: Use __iomem specifier for memory pointer
...
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:18:42 +01:00
Alexander Shiyan
fb2b6d0d0b
ARM: i.MX: external_nand_boot: Use __iomem specifier for memory pointer
...
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:18:42 +01:00
Alexander Shiyan
44cd317378
ARM: at91: irq_fixup: Use __iomem specifier for memory pointer
...
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:18:42 +01:00
Alexander Shiyan
e5d31a7efd
ARM: animeo_ip: Use __iomem specifier for memory pointer
...
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-29 10:18:42 +01:00