summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* block: propagate error code from block_getSascha Hauer2012-05-301-13/+13
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* toshiba_ac100: add defconfigAntony Pavlov2012-05-291-0/+39
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* toshiba_ac100: add USB host supportAntony Pavlov2012-05-291-0/+15
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: set MAXINTERFACES = 16Antony Pavlov2012-05-291-1/+1
| | | | | | | Tegra2 needs MAXINTERFACES > 8, so increase the macro's value. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Tegra: add Toshiba AC100 supportAntony Pavlov2012-05-299-0/+144
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: initial Tegra supportAntony Pavlov2012-05-298-0/+454
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX51: Raise frequency for SDHC by switch to PLL2 sourceAlexander Shiyan2012-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Currently, both SDHC clock source is PLL3. We can raise clock for SDHC driver by change source from PLL3 to PLL2. Below, is debug ouputs with old and new settings. Detection (PLL3): set clock: wanted: 400000 got: 375000 Operation (PLL3): set clock: wanted: 25000000 got: 18000000 Operation SD4.0 (PLL3): set clock: wanted: 52000000 got: 27000000 Detection (PLL2): set clock: wanted: 400000 got: 399639 Operation (PLL2): set clock: wanted: 25000000 got: 23750000 Operation SD4.0 (PLL2): set clock: wanted: 52000000 got: 41562500 Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM samsung: disable board selectionSascha Hauer2012-05-241-6/+6
| | | | | | | | | | fixes arch/arm/mach-samsung/Kconfig:95:warning: config symbol defined without type Until we actually have board support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ppc 85xx: Fix whitespacesSascha Hauer2012-05-241-3/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu/hush' into nextSascha Hauer2012-05-241-5/+11
|\
| * hush: do not convert to return code too earlySascha Hauer2012-05-231-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parse_stream_outer used to convert a exit value to a return code, but parse_stream_outer maybe inside a recursion. This means that the exit status is lost in this case. Test case: if [ 0 = 0 ]; then false exit $? fi echo "shouldn't be here" Without this patch "shouldn't be here" will be printed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'pu/cache' into nextSascha Hauer2012-05-245-10/+3
|\ \
| * | ARM startup: Do call __mmu_cache_flush during startupSascha Hauer2012-05-235-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Traditionally we call __mmu_cache_flush in early startup. There is a problem with armv7 and hierarchical caches though, on these systems __mmu_cache_flush uses the stack. Appearantly this was seldomly a problem, because most of these systems have a ROM bootloader which sets up some stack, but on a special i.MX6 system this failed badly. We should not have to flush caches here. Every sane system should pass control to the bootloader without stale entries in the caches *), so it should be a safe assumption that the cache flush can be removed. Since __mmu_cache_flush is not called from early code anymore we can also move it to the regular text section. Be brave and give it a try. *) omap3 seems to be a exception to this, but this has a cache flush in arch_init_lowlevel already Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM startup: invalidate I-cache before jumping to relocated binarySascha Hauer2012-04-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | barebox can startup with I-cache enabled, so to be on the safe side we should invalidate the I-cache before jumping to a binary we just copied in place. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | usb ehci: Use zalloc to allocate ehci structureSascha Hauer2012-05-231-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | usb storage: fix driver nameSascha Hauer2012-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We have to set the name in struct usb_driver, not the one in struct driver_d which gets overwritten with usb_driver->name during registration. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'pu/defenv-2' into nextSascha Hauer2012-05-236-57/+31
|\ \ \
| * | | defaultenv-2: automount script: run mount only when ifup succeedsSascha Hauer2012-05-231-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM Freescale i.MX51 babbage: switch to new default envSascha Hauer2012-05-215-53/+27
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | PCM970: Added support for CompactFlashAlexander Shiyan2012-05-232-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support for CompactFlash cards for PCM970 development board via PCMCIA window. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | MIPS: cpuinfo: import CPU message from Linux 3.4Antony Pavlov2012-05-231-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | MIPS: import CPU and cache detection code from Linux 3.4Antony Pavlov2012-05-238-1/+722
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | MIPS: introduce C architecture-specific low-level initAntony Pavlov2012-05-233-12/+46
| |_|/ |/| | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'pu/hush' into nextSascha Hauer2012-05-231-4/+6
|\ \ \
| * | | run_shell: run again on ctrl-cSascha Hauer2012-05-211-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can start a new interactive shell now using the 'sh' command on the command line. This shell exits on ctrl-c though. Add a loop around it to continue instead of exiting. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | README: change path to sandbox environmentAlan Ott2012-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The path to the sandbox environment is now arch/sandbox/board/env . Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | common: Make MENU depend on PROCESS_ESCAPE_SEQUENCEAlan Ott2012-05-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | print_menu_entry() in common/menu.c depeneds on process_escape_sequence(). Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | S5P lowlevel clock initAlexey Galakhov2012-05-213-0/+66
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | S5P boot header and image generatorAlexey Galakhov2012-05-215-1/+151
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Add support for Samsung S5P architecture (S5PV210)Alexey Galakhov2012-05-2111-0/+1161
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Split S3C generic and S3C24xx specific codeAlexey Galakhov2012-05-2110-180/+258
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Make S3C24xx config options available for all S3CsAlexey Galakhov2012-05-2118-41/+41
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexey Galakhov <agalakhov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | panda: update defconfig for i2c and led supportAnand Gadiyar2012-05-211-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable I2C and LED support in defconfig. Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | panda: add LED supportAnand Gadiyar2012-05-211-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Register GPIO7 as heartbeat LED, same as in the linux kernel. Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | panda: add i2c and twlcore to pandaAnand Gadiyar2012-05-211-0/+13
| |/ / |/| | | | | | | | | | | | | | | | | | | | Add i2c-omap and twlcore driver to panda board. (Based on similar patch for pcm049). Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'pu/defenv-2' into nextSascha Hauer2012-05-2143-76/+670
|\ \ \
| * | | ARM pcm038: Switch to new environmentSascha Hauer2012-05-188-59/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This switches the pcm038 board to the new environment template and does the necessary defaultconfig adjustments. Additionally it disables UBI support as the pcm038 image is getting bigger and bigger and UBI seems to be the most unused big (in size) feature. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Add next generation default environment templateSascha Hauer2012-05-1833-3/+561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new environment template which aims to be more flexible and configurable. Instead of having mainly two scripts (a config script and a boot script) this template uses initscripts which control the startup behaviour and configuration. Also we have boot scripts in /env/boot which configure a single boot configuration. Additional boot entries can be added by board specific entries or during runtime by copying and editing a template entry. Some more helpers handle for example network interfaces which can now be brought up with 'ifup'. We use the automount feature to configure mountpoints together with the commands to bring up the devices behind these mountpoints. Optionally menu support is available which hides many details behind a nice looking interface. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | bootm: Add default images variablesSascha Hauer2012-05-182-14/+53
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out useful to be able to configure bootm before its usage. This allows us to overwrite bootm settings on an individual base. This patch adds global variables to configure the kernel image, the initrd image and the devicetree image. These values will be used unless overwritten explicitely with command line switches. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'ppc' into nextSascha Hauer2012-05-2136-0/+3404
|\ \ \ | |/ / |/| |
| * | Minimal P2020RDB platform support and configuration fileRenaud Barbier2012-05-178-0/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is limited board support for the Freescale P2020RDB in single CPU mode. The DDR is configured for a memory bus running at 667Mhz. The system boots from NOR flash and provides the console at 115200 bauds, no other drivers are included. Finally, the PPC Kconfig and make file make the building of the P2020RDB platform firmware possible. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | 85xx core support build filesRenaud Barbier2012-05-172-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Kconfig and Makefile allow to include the 85xx cpu support in the compilation process. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Set _text_base to the firmware relocation addressRenaud Barbier2012-05-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _text_base assignment has been removed earlier from lib/board.c for the mpc5xxx. For the 85xx, _text_base is set to where the firmware relocates in memory as passed by the function input variable. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MPC85xx start-up support codeRenaud Barbier2012-05-175-0/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds initialization functions used by the e500v2 start-up code and board specific code (L2 cache initialization). Other functions help identify the CPU or return the programmed memory size. Finally, the Makefile and Kconfig file are added. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | 85xx clocking supportRenaud Barbier2012-05-172-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains functions that returns information on the CPU and buses frequency (LBC, DDR, system). It also includes the clock source driver. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | 85xx: LAW and LBC initializationRenaud Barbier2012-05-172-0/+177
| | | | | | | | | | | | | | | | | | | | | | | | This patch includes functions to initialize LAW registers and the chip select 0 of the CPU. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | e500v2 traps and TLB support codeRenaud Barbier2012-05-174-0/+512
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch defines functions to set interrupt vector registers and functions to handle hardware exceptions. It also defines support functions to set and search TLBs. Finally, the Makefile is added. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Initial e500v2 start up codeRenaud Barbier2012-05-173-0/+1089
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first part of the start-up code. The source code origin is U-boot and is slightly modified to have e500v2 CPU support in 32-bit mode only. It includes the power-up entry point, CPU initialization code and exports definition for D-cache flush and I-cache invalidate. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Initial Freescale 85xx Headers.Renaud Barbier2012-05-1710-0/+528
| | | | | | | | | | | | | | | | | | | | | | | | These header files are added to provide a minimal support to the Freescale 85xx cpu to boot on a P2020RDB platform. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | eukrea_cpuimx35: fix PHY address and clean codeEric Bénard2012-05-181-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | this patch also cleans the source by putting in device_init the code which is actually in console_init and has nothing to see with the console. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>