summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release v2012.03.0v2012.03.0Sascha Hauer2012-03-061-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Typo fix in pm9261 init fileAsen Chavdarov Dimov2012-02-271-1/+1
| | | | | | | Fixing this typo lets the barebox for pm9261 to be build. Signed-off-by: Asen Chavdarov Dimov <dimov@ronetix.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* uimage: Fix error messageSascha Hauer2012-02-131-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Fix oftree bootingSascha Hauer2012-02-131-0/+1
| | | | | | | We forgot to initialize params to the oftree to actually boot a kernel with devicetree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add comment explaining what cortex_a9_rev() is doing.Robert P. J. Day2012-02-101-0/+1
| | | | | Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM omap343xdsp: remove nonexistent includeSascha Hauer2012-02-091-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Correct Kconfig comment for MCI_OMAP_HSMMC to include OMAP3.Robert P. J. Day2012-02-091-2/+2
| | | | | Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* omap3evm: Setup ATAGs for Linux bootSanjeev Premi2012-02-081-0/+4
| | | | | Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* omap3evm: Remove inclusion of non-existent headerSanjeev Premi2012-02-081-1/+0
| | | | | | | File 'mach/board.h' doesn't exist any more. Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Remove apparently superfluous Kconfig variable HAS_OMAP_NANDRobert P. J. Day2012-02-072-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | Remove what is an apparently valueless Kconfig variable HAS_OMAP_NAND. A search of the entire source tree shows: $ grep -r HAS_OMAP_NAND * arch/arm/mach-omap/Kconfig: select HAS_OMAP_NAND arch/arm/mach-omap/Kconfig: select HAS_OMAP_NAND arch/arm/mach-omap/Kconfig: select HAS_OMAP_NAND arch/arm/mach-omap/Kconfig: select HAS_OMAP_NAND arch/arm/mach-omap/Kconfig:config HAS_OMAP_NAND arch/arm/configs/phycard_a_l1_defconfig:CONFIG_HAS_OMAP_NAND=y $ where the definition of that variable is simply: config HAS_OMAP_NAND bool so it seems pretty clear it can be removed as nothing is using it. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add CONFIG_MCI_STARTUP=y to BeagleBoard defconfig.Robert P. J. Day2012-02-071-0/+1
| | | | | Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Select CMD_LOADENV with DEFAULT_ENVIRONMENTSanjeev Premi2012-02-071-0/+1
| | | | | | | | | | The environment isn't loaded until this command is is selected - even if compiled in. This patch makes the dependency explicit. Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2012-02-07145-1910/+7438
|\
| * ARM omap pandaboard: update defconfigSascha Hauer2012-01-271-7/+11
| | | | | | | | | | | | | | | | | | - enable bootm command - enable iomem command - enable magicvar command - disable nand support, the panda does not have nand Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: Add missing ifdef around dump_stack()Sascha Hauer2012-01-271-0/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge branch 'pu/debug' into nextSascha Hauer2012-01-2718-133/+141
| |\
| | * Add dump_stack functionSascha Hauer2012-01-264-36/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least ARM allows us to dump the stack, but we currently have no prototype for this. Add a dump_stack prototype and provide a static inline function for architectures without stack dump support. Also, call dump_stack() in panic() to provide more information in the case of a panic. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * startup: use regular debug statements in initcall debuggingSascha Hauer2012-01-261-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | Now that we don't need malloc for the console anymore it's safe to call printf anytime, so switch the initcall debugging to regular debug() statements.. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * initcalls: do not hang if an initcall failsSascha Hauer2012-01-261-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we just hang when an initcall fails. This resulted in most initcalls just returning 0 unconditionally. Instead of hanging which usually leaves the user without a clue what happened just continue and hope for the best. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * ARM: panic on div 0Sascha Hauer2012-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | hang() only outputs 'reset the board' whereas panic can be passed a string which we can use to output some more information what is happening. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * console: make it work without mallocSascha Hauer2012-01-261-17/+32
| | | | | | | | | | | | | | | | | | | | | | | | This changes the dynamically allocated kfifos to statically initialized ones. This makes the console work without malloc and thus safe to be called before malloc is initialized. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * kfifo: change kfifo_init to work with a preallocated fifoSascha Hauer2012-01-262-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | kfifo currently only works with dynamically allocated fifos. Change the currently unused kfifo_init to take a preallocated fifo. This allows for statically initialized fifos. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * console: remove unused function prototypesSascha Hauer2012-01-261-13/+0
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mx3/mx35_3ds: increase kernel partition size to 4 MiBMarc Kleine-Budde2012-01-251-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mx3/mx35_3ds: add missing nand deviceMarc Kleine-Budde2012-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | Otherwise the kernel would not register the nand partitions. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | defaultenv: update: add nfs supportMarc Kleine-Budde2012-01-253-13/+10
| | | | | | | | | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | show_progress: fix progress bar for files > 32 MiBMarc Kleine-Budde2012-01-251-2/+6
| | | | | | | | | | | | | | | | | | | | | The next limit with the current code will probably 2GiB. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net/nfs: increase timeout to 15 secondsMarc Kleine-Budde2012-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On my laptop with avahi enabled (linux mdns implementation), the unmount take quite long, because the avahi daemon tries to resolve the client's host name. This leads to a delay of about 8 seconds of the unmount reply messages, so that barebox runs into a timeout. This patch increases the NFS timeout to 15 to work around the problem. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: fec_imx: configure FEC for 10Mbit when necessaryWolfram Sang2012-01-251-0/+11
| | | | | | | | | | | | | | | Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: miidev: factor out miidev_get_status()Wolfram Sang2012-01-252-23/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we can only print the phy_status. Factor out the routine to get the status, so we can query it from fec drivers and configure accordingly. Needed because mx28 needs a special bit set for 10Mbit. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: fec_imx: enable payload length check and pause framesWolfram Sang2012-01-251-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | Q: "the linux driver add these bits, why not we?" A: Because nobody activated the bits? Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: fec_imx: refactor R_CNTRL setupWolfram Sang2012-01-251-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | Introduce a variable which gets updated when needed and only written once. Will make further additions easier. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: fec_imx: small cleanupsWolfram Sang2012-01-252-18/+4
| | | | | | | | | | | | | | | | | | | | | | | | remove double include, remove unused (and double in case of RCNTRL) defines, sort the includes at least somewhat. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM i.MX freescale-mx35-3-stack: support 256 MiB RAMRoman Fietze2012-01-243-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend DCD table and low level init routines. Add barebox SDRAM device. Also, fix the memory size for bank 0 to 128MB. It was accidently changed to 124MB here: commit f928efa818adfe56a08350569a9b0f3c2fb791d2 Author: Sascha Hauer <s.hauer@pengutronix.de> Date: Tue Jul 19 09:58:32 2011 +0200 add a add_mem_device function Add a helper function for boards to register their memory devices. This makes the board code smaller and also helps getting rid of map_base and struct memory_platform_data. And switch all of the memory to it Signed-off-by: Roman Fietze <roman.fietze@telemotive.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | at91: specify the bare_init max size for each socJean-Christophe PLAGNIOL-VILLARD2012-01-231-0/+10
| | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | introduce barebox_bare_init_size to known the bare_init size and check itJean-Christophe PLAGNIOL-VILLARD2012-01-237-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this allow to check we do not exceed the size of the SRAM as example introduce BAREBOX_MAX_BARE_INIT_SIZE the maximum size of bare_init this will allow your bare_init will fit in SRAM as example ARCH can overwrite it via ARCH_BAREBOX_MAX_BARE_INIT_SIZE Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM pcm043: Add overlay supportTeresa Gámez2012-01-232-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Adding overlay support for phyCORE-i.MX35. Also move the TEXT_BASE to leave enough space for the overlay image at the end of the RAM. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | imx-ipu-fb: Add overlay supportTeresa Gámez2012-01-233-14/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding overlay support for i.MX3 sdc. Foreground channel only works when background is also enabled. The foreground video mode is always the same as the background. Also added alpha command to set the alpha value of the foreground. Tested on a phyCORE-i.MX35. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | imx-ipu-fb: Fix offset for IPU Clock.Teresa Gámez2012-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The offset for the IPU Clock in the CGR1 register is 18 not 22. See MCIMX35RM table 14-17. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | video imx-ipu-fb: add num_modes to imx3 boardsTeresa Gámez2012-01-235-47/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added num_modes to all imx_ipu_fb_platform_data structs. Removed defines for pcm043 to choose display. We may switch this during runtime now. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | imx-ipu-fb: Add support for multiple video modesTeresa Gámez2012-01-232-1/+10
| | | | | | | | | | | | | | | | | | | | | Make support of multiple video modes possible for i.MX3 boards. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM pca-a-l1: should depend on ARCH_OMAP3Juergen Kilb2012-01-231-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Juergen Kilb <J.Kilb@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM pca-a-l1: fix board_initJuergen Kilb2012-01-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | board_init was moved to pure_initcall. broken since: commit 0adce7ec683b4b325f51de4ac8892b32925d7ef8 Author: Sascha Hauer <s.hauer@pengutronix.de> Date: Sun Jan 15 21:11:17 2012 +0100 ARM omap3: move board_init to pure_initcall board_init initializes the mux and sdram. For both there is no need to configure this so early. Move the code to a pure_initcall and remove the surrounding unneeded code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Juergen Kilb <J.Kilb@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM pca-a-l1: delete platform.SJuergen Kilb2012-01-231-65/+0
| | | | | | | | | | | | | | | | | | | | | | | | since commit 494a12f703c33f80fe96e2a728545c490347eceb platform lowlevel init was moved to mach-omap. Signed-off-by: Juergen Kilb <J.Kilb@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM pca-a-l1: call omap3_core_init from board codeJuergen Kilb2012-01-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | since commit ae2ac15105cbf198ebd2b7ac0428641423b83c08 a_init was renamed to omap3_core_init and called from board code. Signed-off-by: Juergen Kilb <J.Kilb@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ns16550: fix ier selectionAntony Pavlov2012-01-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The document "PC16550D Universal Asynchronous Receiver Transmitter with FIFOs" (vers. June 1995, http://www.national.com/ds/PC/PC16550D.pdf) states that IER (Interrupt Enable Register) is accessible if the bit DLAB = 0 (DLAB is bit 7 in LCR; in barebox DLAB known as LCR_BKSE). So before IER access we need set DLAB to 0. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ns16550: write zero to ier only onceAntony Pavlov2012-01-191-1/+0
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ns16550: make ns16550_serial_init_port() shorterAntony Pavlov2012-01-191-17/+3
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ns16550: support for UART with broken FIFOAntony Pavlov2012-01-192-2/+18
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Revert "mtd omap nand: fix driver without CONFIG_PARAMETER"Jean-Christophe PLAGNIOL-VILLARD2012-01-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7762f9627a3ec971e4122abf0b3d831b619dcad7. already applied by d002818ae37545481a8de55ed8c56eb2735b5a72 fix gpmc_nand_probe without param support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>