summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release v2011.04.0v2011.04.0Sascha Hauer2011-04-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9263ek: update defconfigJean-Christophe PLAGNIOL-VILLARD2011-04-041-0/+4
| | | | | | | | | enable nand and ubi support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv: fix empty CONFIG_DEFAULT_ENVIRONMENT_PATHJon Ringle2011-03-231-1/+3
| | | | | | | | | | | | if CONFIG_DEFAULT_ENVIRONMENT_PATH="" then $(DEFAULT_ENVIRONMENT_PATH) expands to 'defaultenv "" ' The "" would cause every single file found in $(srctree) to be included in $(ENV_FILES). This would then cause scripts/mod/sumversions.c to get recompiled using $(CC) and fail compilation if $(CC) points to a newlib cross compiler Signed-off-by: Jon Ringle <jon@ringle.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd/nand_imx: fix read past buffer endBaruch Siach2011-03-181-2/+2
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9261ek: fix env location and sizeJean-Christophe PLAGNIOL-VILLARD2011-03-142-3/+3
| | | | | | | | | | | 256k(barebox)ro,128k(bareboxenv),1536k(kernel),-(root) so we will match the erase block size Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91: fix missing nand_device in board config in board that nandJean-Christophe PLAGNIOL-VILLARD2011-03-144-0/+4
| | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* trigger command: fix printf formatSascha Hauer2011-03-101-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* module: CONFIG_COMMAND does not exist anymore, remove ifdefsSascha Hauer2011-03-101-2/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd/mc13892: Add missing semicolonsSascha Hauer2011-03-101-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91sam9261: set sdram_dev id to -1Jean-Christophe PLAGNIOL-VILLARD2011-03-101-1/+1
| | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* x86 Generic platform: Fix prompt nameJuergen Beisert2011-03-101-1/+1
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86 Generic platform: Fix disk drive nameJuergen Beisert2011-03-101-1/+1
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86 Generic platform: Fix some typosJuergen Beisert2011-03-101-2/+2
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86 ATA: Don't touch the size entry for the BIOS disk based deviceJuergen Beisert2011-03-101-1/+0
| | | | | | | Only the platform sets this entry to setup the correct size or signals the driver to guess the size of the attached disk. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86: Use the generic linker script initializingJuergen Beisert2011-03-105-17/+9
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* x86: Remove not used expressions from the makefileJuergen Beisert2011-03-101-5/+0
| | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* ARM: use memalign to allocate page tableSascha Hauer2011-03-081-2/+1
| | | | | | We have the proper function for getting aligned memory, so use it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM v7: Fix typos in cache-armv7.SSascha Hauer2011-03-081-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM v7: Fix broken mmu initializationSascha Hauer2011-03-081-1/+0
| | | | | | | | | The armv7 specific __mmu_cache_on function accidently sets the page table pointer with the unitialized value of r3. It seems that often enough r3 still held the correct value from a previous call to mmu_init allowing this bug to remain uncovered for longer. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM tx28: add a bigger delay in display enableSascha Hauer2011-03-031-2/+2
| | | | | | | | To prevent turning on the display before the signals are stable. Also, put the LCD_CS pin in the same mode as the kernel does to prevent flickering. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add eukrea_cpuimx51 boardEric Bénard2011-03-0311-0/+640
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* iomux-mx51: add more pins definitionsEric Bénard2011-03-031-0/+20
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* eukrea_cpuimx35: update defconfigEric Bénard2011-03-031-4/+4
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* eukrea_cpuimx35: use OTG workaround only when gadget is selectedEric Bénard2011-03-031-1/+2
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* eukrea_cpuimx35: switch to default envEric Bénard2011-03-038-166/+57
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: cleanup boot modesSascha Hauer2011-03-036-329/+376
| | | | | | | | | | | | | | | | | The i.MX Processors support two different boot modes, the internal boot mode and the external boot mode. Traditionally the external NAND boot mode is handled in drivers/mtd/nand and the internal boot mode is handled in arch/arm/mach-imx. This patch consolidates the handling of both boot modes in arch/arm/mach-imx so that the user does not have to look in the mtd kconfig section for booting from NAND. Also, selecting between internal and external boot mode now is a clear choice. The external NAND boot mode has been independent of the mtd nand driver, but as the code was contained in the NAND driver it was not possible to support booting from NAND without a mtd nand driver. This is changed with this patch. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: use dev_* for printing network related stuffSascha Hauer2011-03-031-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dm9000: read the mac address from the register if none are specifiedJean-Christophe PLAGNIOL-VILLARD2011-03-031-6/+12
| | | | | | | | as barebox can be run as a second stage the first stage may have init it before so re-used it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX35 3stack: Switch to default envSascha Hauer2011-03-038-184/+45
| | | | | | Also, enable nand driver and external NAND boot support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix end of expression char (some lines forgotten in v1)Juergen Beisert2011-03-031-2/+2
| | | | | | | Its not a bug fix, just a clean up. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM tx25: Add defconfigSascha Hauer2011-03-031-0/+49
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* initial karo tx25 board supportSascha Hauer2011-03-038-0/+610
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX esdctl: Add some missing bitfieldsSascha Hauer2011-03-031-0/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix end of expression charJuergen Beisert2011-03-031-5/+5
| | | | | | | Its not a bug fix, just a clean up. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Use generic environmentJuergen Beisert2011-03-037-354/+7
| | | | | Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Remove some A9M2440 platform leftoversJuergen Beisert2011-03-031-19/+52
| | | | | | | Also adapt the config file to the default environment. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Add booting from NAND supportJuergen Beisert2011-03-033-1/+44
| | | | | | | | | With this patch barebox can now be booted from RAM, NOR and NAND on the mini2440 platform. 'CONFIG_S3C24XX_NAND_BOOT' must still be 'y' to be able to boot from NAND. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Use a flash based BBT as the kernel also doesJuergen Beisert2011-03-031-1/+2
| | | | | | | | | | | | The default configuration of the mini2440 in the current 2.6.37 kernel uses a flash based BBT. So, the barebox for the mini2440 must also use one, to be in sync with the kernel about bad blocks in the flash. Due to the used OOB layout, the generic BBT description coming with the framework can be used. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Make it able to save a runtime environmentJuergen Beisert2011-03-031-2/+2
| | | | | | | | | | | Without this modification saving a modified environment ends with: mini2440:/ saveenv saving environment could not open /dev/env0: Read-only file system Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Add MCI supportJuergen Beisert2011-03-031-0/+16
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Add GPIO settingsJuergen Beisert2011-03-031-0/+137
| | | | | | | | This is required in order to enable booting from NAND, when there is no other first level bootlader. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Add SDRAM size autodetectionJuergen Beisert2011-03-031-1/+2
| | | | | | | | If the SDRAM type will change in the future, only the 'config.h' must be adapted to the new settings. The real size will be read back from this setting. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Configure debug UART pins very earlyJuergen Beisert2011-03-031-0/+9
| | | | | | | | This is required in order to enable booting from NAND and to avoid any visible garbage on the screen until the pins are really set. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Add SDRAM config settingsJuergen Beisert2011-03-031-0/+58
| | | | | | | | | | | | This is required in order to enable booting from NAND and using the generic S3C2440 setup routines. Two types of SDRAM devices are known to be shipped by FriendlyARM. This config should work on both of them. But it is really tested only for the HY57V561620 type. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Add PLL settingsJuergen Beisert2011-03-031-0/+22
| | | | | | | | This is required in order to enable booting from NAND and using the generic S3C2440 setup routines. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Add some useful documentationJuergen Beisert2011-03-031-0/+157
| | | | | Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Fix a runtime warning when '.id=0' is usedJuergen Beisert2011-03-031-0/+1
| | | | | Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mini2440: Be a little be pedantic with the include file orderJuergen Beisert2011-03-031-2/+2
| | | | | Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH-S3C2440: Speed up NAND controller for this CPUJuergen Beisert2011-03-031-0/+55
| | | | | | | | | | The S3C2440 provides 32 bit access to the NAND's data. Add specific read routines to speed up data reading and writing. These routines are stolen from the Linux kernel. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* MACH-S3C2440: Fix NAND controller for this CPUJuergen Beisert2011-03-031-3/+15
| | | | | | | | There are a few but important differences in S3C2410 and S3C2440. This patch fixes them for the S3C2440 CPU. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>