summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release v2013.08.1v2013.08.1stable/v2013.08Sascha Hauer2013-09-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ubi: ubi_volume_cdev_read: use pr_debug for debug infoJean-Christophe PLAGNIOL-VILLARD2013-08-191-1/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of: base.c: Use correct device-tree in of_add_initrd()David Jander2013-08-141-1/+1
| | | | | | | | Otherwise only the internal DT is modified, not necessarily the one passed to the kernel. Signed-off-by: David Jander <david@protonic.nl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Release v2013.08.0v2013.08.0Sascha Hauer2013-08-051-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: bootm: Print Kernel commandline unconditionallySascha Hauer2013-07-271-2/+1
| | | | | | | | The Kernel commandline is an important debugging aid when people ask why their Kernel won't start, so print it unconditionally. This is done in !dt mode anyway, so also do it with dt. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of: Use dts syntax when printing devicetreesSascha Hauer2013-07-271-3/+6
| | | | | | | | | | | | Our devicetree printing is close to correct dts syntax, so fix some remaining differences: - Use an equal sign instead of a colon to separate a poperty name and a value - Add a semicolon at the end of properties - Make sure we do not print a separator for empty properties Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of: net: Use correct devicetree in eth_of_fixupSascha Hauer2013-07-271-1/+1
| | | | | | | | eth_of_fixup() is passed a devicetree, so use this one instead of the internal devicetree. This makes sure it also works when the tree to fixup is not the internal one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of: Use correct devicetree in of_print_cmdlineSascha Hauer2013-07-271-1/+1
| | | | | | | | of_print_cmdline() is passed a devicetree, so use this one instead of the internal devicetree. This fixes the cmdline printout when bootm on ARM is used with an external devicetree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx_v7_defconfig: remove board specific part from environmentSascha Hauer2013-07-251-1/+0
| | | | | | This makes no sense for a generic defconfig. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include/printk: fix level of pr_err and pr_warningHubert Feurstein2013-07-221-2/+2
| | | | | | | The level of pr_err and pr_warning were interchanged. Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc ddr-8xxx: misplaced parenthesisRenaud Barbier2013-07-221-1/+1
| | | | | Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: spi: Fix spi read procedureAlexander Shiyan2013-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buffer for RX is set incorrectly. barebox@Phytec phyCORE-i.MX27:/ spi -r 128 -v device config bus_num = 0 max_speed_hz = 1000000 chip_select = 0 mode = 0x0 bits_per_word = 8 wrote 0 bytes 00000000: read 128 bytes 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ unable to handle paging request at address 0x4dffd3d0 pc : [<a7f05ec4>] lr : [<a7f05ebc>] sp : a7fff890 ip : a7fff860 fp : a7f68820 r10: a6ffe9bc r9 : 00000000 r8 : 00000001 r7 : a6ffe9ec r6 : a6f00000 r5 : a6ffe9ec r4 : a6ffe9e4 r3 : a6ffe9e4 r2 : a6ffe9e5 r1 : a6ffe9e4 r0 : 4dffd3cc Flags: nZCv IRQs off FIQs off Mode SVC_32 ... Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mxs: make ssp gates parents of ssp dividersSascha Hauer2013-07-151-13/+13
| | | | | | | | | | | | | | | | | | | | When changing the rates of the ssp clocks we have to poll the busy bit, but only when they are enabled. The current code can not check this properly since the gates are registered as children of the dividers. This has the effect that when the gate is disabled the busy bit will be set forever resulting in a freezed system. Fix this by making the gates parents of the dividers which allows clk_is_enabled to return the correct result. The Kernel has the same problem, but here the busy polling is limited to 10ms, so probably noone noticed this. The datasheet mentions that the ssp dividers shall only be changed when the clocks are enabled. The kernel and barebox currently ignore this. I don't know what effect violating this rule has. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: Fix i.MX27 debug uart Kconfig entriesSascha Hauer2013-07-151-2/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: generate imx dcd.S files as *.dcd.SSascha Hauer2013-07-105-7/+9
| | | | | | | | The compiled in dcd images generate an intermediate assembly file. Instead of generating them as *.S generate them as *.dcd.S to better identify them as generated files. These are then added to .gitignore. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nand_base: add missing newlineJan Luebbe2013-07-091-1/+1
| | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* friendlyarm-tiny210: do not restart barebox twiceAlexey Galakhov2013-07-091-8/+23
| | | | | | | | | | The old way to boot tiny210 was to restart barebox after loading stage2 image. This turned out to be unstable and stopped working after barebox refactoring. Now jump to the same position in the loaded code instead of starting it from the very beginning. Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Revert "ARM: i.MX27 pcm038: switch to multi image"Sascha Hauer2013-07-093-9/+1
| | | | | | | | | | | This reverts commit 08c0e206b3614eeecc1c3cee63665077360212e5. The external NAND boot code currently uses the _text linker variable to determine a place for the image. This doesn't work with multi image support which will link the binary at 0x0. Revert multi image support for the pcm038 for now until a solution is found. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: at91: animeo IP: fix partition tableJean-Christophe PLAGNIOL-VILLARD2013-07-091-2/+2
| | | | | | | | we now use a UBI Volume instead of user_block, kernel and root the bootloader size is 320KiB not 256KiB Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* OF: base: initalize from node in of_find_node_with_propertySebastian Hesselbarth2013-07-091-0/+3
| | | | | | | | This adds initialization of from device node with root_node if NULL is passed. This corresponds to the behavior of all other node iterators. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* OF: base: fix iterator in of_get_next_available_childSebastian Hesselbarth2013-07-051-1/+2
| | | | | | | | | | of_get_next_available_child does not iterate but always tries the same node over and over again. This first prepares the entry and then uses list_for_each_entry_continue, instead of for_each_child_of_node before. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* OF: base: fix inifinite looping in node iteratorsSascha Hauer2013-07-051-6/+15
| | | | | | | | | | | | | of_find_node_by_name suffers from infinite looping, because it does not check for root node of the tree iterated over. This fixes this by checking for node->parent to determine whether the last node has been reached. Since of_tree_for_each_node does not iterate over the whole tree, but only over the remaining nodes, rename it to of_tree_for_each_node_from. Reported-by: NISHIMOTO Hiroki <hiroki.nishimoto.if@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: Fix usbmisc label in devicetreePhilipp Zabel2013-07-041-1/+1
| | | | | Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm049: Add platformcode for omap4 framebufferChristoph Fritz2013-07-025-32/+262
| | | | | | | | | | | | For splashscreen support on pcm049, this patch adds omap4 framebuffer platform data and configures display pd050vl1, g104x1, pm070wl4, pd104slf, edt_etm0350G0dh6, edt_etm0430G0dh6, edt_etmv570G2dhu and edt_etm0700G0dh6 Also add extra muxing and defconfig Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com> Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tegra: add peripheral clocksLucas Stach2013-07-025-0/+303
| | | | | | | | Only UART clocks are included for now, but the code should cover other peripherals needs, too. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tegra: add new clock framework driverLucas Stach2013-07-0212-121/+1345
| | | | | | | | | | | This removes the existing Tegra CAR driver and replaces it with code ported from the Linux clock framework. In the current state only the relevant PLLs are supported, but this is no functional regression from the existing code. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tegra: deduplicate clk definesLucas Stach2013-07-022-63/+33
| | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: allow to instanciate clk mux without registering itLucas Stach2013-07-022-5/+28
| | | | | | | Allows to reuse clk mux code within other clocks. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: allow to instanciate clk gate without registering itLucas Stach2013-07-022-6/+29
| | | | | | | Allows to reuse the clk gate code within other clocks. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tegra: change clocksource driver to be more lowlevelLucas Stach2013-07-022-13/+26
| | | | | | | | | In order to properly bring up the system PLLs we need a reliable clocksource. To break the circular dependency between the clocksource and the CAR driver, get the OSC frequency with a lowlevel function. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: add clock lookup from devicetreeLucas Stach2013-07-024-0/+209
| | | | | | | Taken from the Linuxkernel with some small adjustments for barebox. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next-manual-rebase/multi-image'Sascha Hauer2013-07-0234-465/+557
|\
| * ARM: Add a imx_v7_defconfigSascha Hauer2013-07-021-0/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a nearly full-blown config for the v7 i.MX (i.MX51, i.MX53 and i.MX6). currently the following images are built: barebox-imx51-babbage.img barebox-imx53-loco.img barebox-imx6-realq7.img barebox-genesi-efikasb.img Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX51 efikasb: switch to multiboard supportSascha Hauer2013-07-0210-101/+100
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX6 realq7: switch to multiboardSascha Hauer2013-07-022-7/+7
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX6 realq7: prepare multiboard supportSascha Hauer2013-07-021-8/+11
| | | | | | | | | | | | Protect initcalls with the corrent of compatible. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX53 loco: Move over to multiboardSascha Hauer2013-07-022-8/+6
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX53 loco: prepare multiboard supportSascha Hauer2013-07-021-2/+8
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX53 loco: add board name to flash header fileSascha Hauer2013-07-024-6/+7
| | | | | | | | | | | | | | | | This is necessary because the C name for the flash header matches the filename. For multiple board support we have to make the name unique to prevent linker errors. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX51 babbage: Move over to multiboardSascha Hauer2013-07-022-8/+15
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX51 babbage: prepare for multiboard supportSascha Hauer2013-07-021-9/+5
| | | | | | | | | | | | Merge two initcalls to one and add a protector for the board type. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX51 babbage: add board name to flash header fileSascha Hauer2013-07-024-6/+7
| | | | | | | | | | | | | | | | This is necessary because the C name for the flash header matches the filename. For multiple board support we have to make the name unique to prevent linker errors. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: select SoC from boardSascha Hauer2013-07-029-101/+76
| | | | | | | | | | | | | | In principle we could build barebox for multiple i.MX SoCs, so select the correct SoC from the board selection. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: remove now unused ARCH_IMX_INTERNAL_BOOT_USE_IMXIMAGESascha Hauer2013-07-022-19/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: Turn most board directories into regular build directoriesSascha Hauer2013-07-022-69/+77
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: use device_detect_by_name where applicableSascha Hauer2013-07-022-8/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX51 babbage: switch to multi image supportSascha Hauer2013-07-025-6/+21
| | | | | | | | | | | | | | | | The image will be named: barebox-freescale-imx51-babbage.img Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: dmo realq7: switch to multi image supportSascha Hauer2013-07-025-6/+19
| | | | | | | | | | | | | | | | The image will be named after the official name of this board: barebox-datamodul-edm-qmx6.img Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX53 loco: Switch to multi image supportSascha Hauer2013-07-025-6/+23
| | | | | | | | | | | | | | | | | | This converts the Freescale i.MX53 loco aka qsb board to multi image. The image will be named: barebox-freescale-imx53-loco.img Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX53 loco: Switch to imximageSascha Hauer2013-07-026-113/+60
|/ | | | | | | Use the imximage tool to generate an imximage instead of the linker based process. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>