summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | 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>
| * | | eukrea_cpuimx25: fix PHY addressEric Bénard2012-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | iim: fix compilation when NET is not selectedEric Bénard2012-05-181-1/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | eukrea_cpuimx25&35: use switch action to launch usbserial or dfuEric Bénard2012-05-184-2/+57
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | eukrea_cpuimx25/35/51: update defconfigEric Bénard2012-05-183-12/+43
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | eukrea_cpuimx51: updated envEric Bénard2012-05-181-7/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | eukrea_cpuimx35: add display choice in environmentEric Bénard2012-05-181-1/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | eukrea_cpuimx25: add display choice in environmentEric Bénard2012-05-181-1/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | eukrea_cpuimx25: workaround ENGcm09152Eric Bénard2012-05-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | else USB device doesn't work as the hardware fix is present on the boards Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | lseek: return -1 instead of -errnoSascha Hauer2012-05-183-5/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch making errno a positive value has another bug: lseek was switched to return -errno instead of -1. This does not work since we can lseek we can address the whole 4G address space, have of which has a negative offset when interpreted as a signed integer. Let lseek return -1 on failure again instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: add defconfig for Ritmix RZX-50 boardAntony Pavlov2012-05-171-0/+29
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: XBurst: add Ritmix RZX-50 board supportAntony Pavlov2012-05-1710-1/+158
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: XBurst: add JZ4755 CPU supportAntony Pavlov2012-05-176-0/+220
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | MIPS: add XBurst processor family supportAntony Pavlov2012-05-176-0/+55
| | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i.MX51: Added helper for SDHC3 registration.Alexander Shiyan2012-05-171-0/+5
| | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i.MX51: Changed naming registers and procedures for SPIAlexander Shiyan2012-05-172-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | This patch reflects real naming of SPI by Freescale. We have two ECSPI channels and one CSPI. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Merge branch 'master' into nextSascha Hauer2012-05-1622-102/+68
| |\ \
| * | | arch/arm: mioa701 improve barebox_update scriptRobert Jarzmik2012-05-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a check to verify if /barebox.BIP0 exists, and if so, unlock the protection area, flash barebox, and reprotect the area. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arch/arm: mioa701 use maximum CPU frequencyRobert Jarzmik2012-05-161-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To speed-up linux kernel loading, switch the PXA cpu to the maximum allowed frequency (520 MHz). This improves the load time from several seconds to less than a second from the MTD. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arch/arm: mioa701 add IPL and DPS1 updaterRobert Jarzmik2012-05-163-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order for barebox to be functional, the docg3 DPS1 has to protect barebox from writes, and have its embedded IPL coded to load barebox (as barebox is the SPL). Add a raw DPS1, which : - protects the area from block 6 to block 123 This is DPS1 + barebox + barebox-logo - encodes the 2048 bytes IPL Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arch/arm: mioa701 make autoboot of Linux workRobert Jarzmik2012-05-161-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the autoboot work : - if no USB cuable is plugged, continue directly to autoboot - if an USB cable is plugged, wait for 3 seconds for any input on the USB serial gadget, and if none happens, continue to autoboot linux kernel - else interrupt autoboot and interact on barebox console Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arm/board: mioa701 align kernel options with kernel mtdRobert Jarzmik2012-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent evolutions of linux kernel's drivers for docg3 chip, ie. it's renaming for mtdparts option, is handled by this patch. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>