- Oct 18, 2009
-
-
Mike Frysinger authored
The env code is protected by the ENV_IS_EMBEDDED define, so attempting to compile the code when this isn't defined is pointless. Now that the env headers have unified around CONFIG_ENV_IS_EMBEDDED, convert the build system to only build the env objects when this is enabled. And now that the env code is conditionally compiled, we can drop the source code checks. For people who want to extract the environment manually, add a new option CONFIG_BUILD_ENVCRC that only enables the envcrc utility. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Daniel Mack authored
Only read partitions which have 0x00 or 0x80 set in their status field. All others are invalid. Signed-off-by:
Daniel Mack <daniel@caiaq.de>
-
Eric Millbrandt authored
Correct the chip select configuration for the nand flash chip select. Signed-off-by:
Eric Millbrandt <emillbrandt@dekaresearch.com>
-
Niklaus Giger authored
Signed-off-by:
Niklaus Giger <niklaus.giger@netstal.com>
-
- Oct 16, 2009
-
-
Anton Vorontsov authored
commit 0e870980 ("8xxx: Removed CONFIG_NUM_CPUS from 85xx/86xx") breaks U-Boot on various boards, namely the ones that call get_sys_info() from board_early_init_f(). get_sys_info() calls cpu_numcores(), which depends on probecpu() being called before. But probecpu() is called after board_early_init_f(), and so cpu_numcores() returns random values, which in turn crashes get_sys_info(). To fix the issue we place probecpu() before board_early_init_f() in an initialization sequence. Booting on the following boards should be revived now: mpc8540ads mpc8541cds mpc8548cds mpc8555cds mpc8560ads mpc8568mds mpc8569mds and maybe more. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Paul Gortmaker authored
This is an orphaned legacy leftover that is just polluting the config file namespace. Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Dipen Dudhat authored
On Chip BootROM support for P1 and P2 series RDB platforms. This patch is derived from latest On Chip BootROM support on MPC8536DS Signed-off-by:
Dipen Dudhat <dipen.dudhat@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Dipen Dudhat authored
NAND Boot support for P1 and P2 series RDB platforms. This patch is derived from NAND Boot support on MPC8536DS. Signed-off-by:
Dipen Dudhat <dipen.dudhat@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Paul Gortmaker authored
When setting up the LAWs for the DDR, if there was an error, you got the not-so-helpful error text "ERROR" and nothing else. Not only is it non-informative, but it is also pretty frustrating trying to grep for "ERROR" in the source. Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Paul Gortmaker authored
All versions between now and since this commit: commit bd76729b MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default will fail to allow the SBC8641D to get past DDR init, because the LAW config was overlapping. Eventually this board will do SPD EEPROM config, but for now this gets the board working again. Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Oct 15, 2009
-
- Oct 14, 2009
-
-
Mike Frysinger authored
The default Blackfin boot would display the MAC address for the first NIC, but this relies on the environment. The current net multi stack no longer writes the default hardware settings to the environment, so most of the time the display shows all zeros. This can be pretty confusing and really doesn't add anything useful, so just drop it. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
All arches apparently should reset the watchdog in their udelay loop as noted on the mailing list recently: > A comment in flash_status_check() suggests that udelay() is > expected to reset the watchdog, but I can't find any architecture > where it does. If this is missing in other architectures, it should be fixed at the root cause, i. e. in udelay() or in the respective support routines. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Blackfin pieces like commit 0630535e. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Oct 13, 2009
-
-
Daniel Gorsulowski authored
This patch implements several updates: -disable CONFIG_ENV_OVERWRITE -add new hardware style variants and set the arch numbers appropriate -pass the serial# and hardware revision to the kernel -removed unused macros from include/configs/meesc.h -fixed multiline comment style Signed-off-by:
Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
-
Simon Kagstrom authored
FLAG_PARSE_SEMICOLON is not defined without hush.h, so include that. Signed-off-by:
Simon Kagstrom <simon.kagstrom@netinsight.net> Signed-off-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Olof Johansson authored
Add setup for ethernet on Tobi, allowing kernel/ramdisk to be loaded over tftp. This also refactors the smc911x driver to allow for detecting when the chip is missing. I.e. the detect_chip() function is called earlier and will abort gracefully when the Chip ID read returns all 1's. Signed-off-by:
Olof Johansson <olof@lixom.net> Acked-by:
Dirk Behme <dirk.behme@googlemail.com> Acked-by:
Ben Warren <biggerbadderben@gmail.com>
-
Olof Johansson authored
Refactor the smc911x driver to allow for detecting when the chip is missing. I.e. the detect_chip() function is called earlier and will abort gracefully when the Chip ID read returns all 1's. Signed-off-by:
Olof Johansson <olof@lixom.net> Acked-by:
Dirk Behme <dirk.behme@googlemail.com> Acked-by:
Ben Warren <biggerbadderben@gmail.com>
-
Tom Rix authored
This changes fixes an early i2c error. It appears that I2C is working because once a read or write error is detected, the omap24xx_i2c driver calls i2c_init inside its error handling check. While it is ok to attempt error handling this way, the boards must not depend on this side effect to initialize it's i2c. Instead of explicitly calling i2c_init for every board, use the generic arm initialization in lib_arm/board.c. By defining the config variable CONFIG_HARD_I2C, the omap3 i2c initialization is included in the init_sequence table. Run tested on Beagle. Compile tested on the omap3's Signed-off-by:
Tom Rix <Tom.Rix@windriver.com> Acked-by:
Dirk Behme <dirk.behme@googlemail.com>
-
Sandeep Paulraj authored
This patch enables EMAC on the DM365 EVM. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com> Acked-by:
Tom Rix <Tom.Rix@windriver.com>
-
Sandeep Paulraj authored
Some DaVinci SOC's use GPIOs to enable EMAC and DM9000. This patch adds some definitions for GPIO registers and also adds structures for GPIO. A separate header file is being added so that in future we can have a DaVinci GPIO driver similer to OMAP. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com> Acked-by:
Tom Rix <Tom.Rix@windriver.com>
-
Sandeep Paulraj authored
In the DaVinci specific code, we use both CONFIG_SOC_DM646X and CONFIG_SOC_DM646x to represent DM646x specific code. This patch changes occurrences of CONFIG_SOC_DM646x to CONFIG_SOC_DM646X. This is because for DM644x series of SOCs we use the flag CONFIG_SOC_DM644X. We want some uniformity. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com> Acked-by:
Tom Rix <Tom.Rix@windriver.com>
-
Olof Johansson authored
Switch from space-based indentation to tab-based in mux configs, as pointed out by WD at: http://lists.denx.de/pipermail/u-boot/2009-September/061241.html Nothing but whitespace changes in this patch (diff -w gives no output). Signed-off-by:
Olof Johansson <olof@lixom.net>
-
Dirk Behme authored
Fix warning Dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by:
Dirk Behme <dirk.behme@googlemail.com> CC: Steve Sakoman <sakoman@gmail.com> Acked-by:
Tom Rix <Tom.Rix@windriver.com>
-
Simon Kagstrom authored
The implementation is borrowed from the sheevaplug board and the Marvell 1.1.4 code. Unsupported (or untested) is the SD card, PCIe and SATA. Signed-off-by:
Simon Kagstrom <simon.kagstrom@netinsight.net>
-
Prafulla Wadaskar authored
This patch adds kwbimage configuration file (used by mkimage utility) to support u-boot.kwb target on mv88f6281gtw_ge board. To create Kirkwood boot image to be flashed on SPI Flash, additional parameter u-boot.kwb need to be passed during make. Signed-off-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Prafulla Wadaskar authored
This patch adds kwbimage configuration file (used by mkimage utility) to support u-boot.kwb target on rd6281a platform. To create Kirkwood boot image to be flashed on NAND, additional parameter u-boot.kwb need to be passed during make. Signed-off-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Tom Rix authored
these boards are built around Atmel's AT91SAM9260/9G20 and have up to 64MB of NOR flash, up to 128MB of SDRAM, up to 2GB of NAND and include a 10/100 Ethernet PHY in RMII mode. Signed-off-by:
Eric Benard <eric@eukrea.com> Signed-off-by:
Tom Rix <Tom.Rix@windriver.com>
-
Tom Rix authored
CPUAT91 is built around Atmel's AT91RM9200 and has up to 16MB of NOR flash, up to 128MB of SDRAM, and includes a Micrel KS8721 PHY in RMII mode. Signed-off-by:
Eric Benard <eric@eukrea.com> Signed-off-by:
Tom Rix <Tom.Rix@windriver.com>
-
Sandeep Paulraj authored
The DM365 config was using the 'CONFIG_CMD_SAVEENV' flag. This is already included when we include the config_cmd_default.h header file. So this flag is removed. Also another flag to enable NAND functions was being enabled incorrectly. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
The DaVinci DM365 EVM board specific code was including a header file which does not exist. So removing this header file. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
This patch does the following 1) Enables the NAND driver which is now available. 2) Enables the 'CONFIG_MTD_DEVICE' as without this the compilation will fail 3) We now have a safe place to store environment and defines an offset where this can be stored. This offset value is such that it is after the location where U-Boot is flashed using TI flash utilities. 4) Enables Bootdelay 5) Increases malloc() arena size. Manufacturers are coming out with NAND with large blocks sizes of upto 1 MiB. It has been noticed that as the block size of the NAND used is increased, if this particular value is not increased, the NAND driver will output out of memory errors. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
DM646x is an SOC from TI which has both an ARM and a DSP. There are multiple variants of the SOC mainly dealing with different core speeds. This patch adds the initial framework for the DM646x SOC. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
The Default mode that is built for the Davinci DVEVM happens to be the NOR mode. When we want to build for the NAND mode, we get a compilation error. This is overcome by defining the CONFIG_MTD_DEVICE flag in the NAND mode. The image built for NAND mode was successfully tested on the DaVinci DM6446 EVM. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Tom Rix authored
v7_flush_dcache_all, because it depends on omap ROM code is not generic. Rename the function to 'invalidate_dcache' and move it to the omap cpu directory. Collect the other omap cache routines l2_cache_enable and l2_cache_disable with invalide_dcache into cache.S. This means removing the old cache.c file that contained l2_cache_enable and l2_cache_disable. The conversion from cache.c to cache.S was done most through disassembling the uboot binary. The only significant change was to change the comparision for the return of get_cpu_rev from cmp r0, #0 beq earlier_than_label Which was lost information to cmp r0, #CPU_3XX_ES20 blt earlier_than_label The paths through the enable routine were verified by adding an infinite loop and seeing the hang. Then removing the infinite loop and seeing it continue. The disable routine is similar enough that it was not tested with this method. Run tested by cold booting from nand on beagle and zoom1. Compile tested on MAKEALL arm. Signed-off-by:
Tom Rix <Tom.Rix@windriver.com>
-
Sandeep Paulraj authored
This patch removes the asm/sizes.h header file from being included in the DaVinci SOC configs. References to SZ_xx have been replaced by appropriate bit shifted values. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com> Acked-by:
Wolfgang Denk <wd@denx.de>
-
- Oct 12, 2009
-
-
Wolfgang Denk authored
-
Ed Swarthout authored
Forcing the tables into got2 caused extra relocation when using -mrelocatable. This patch requires any board defining CONFIG_BIOSEMU to use -mrelocatable. Signed-off-by:
Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by:
Jin Zhengxiong <Jason.Jin@freescale.com>
-
- Oct 11, 2009
-
-
Luigi 'Comio' Mantellini authored
Signed-off-by:
Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Luigi 'Comio' Mantellini authored
Signed-off-by:
Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-