- 25 8月, 2008 3 次提交
-
-
由 David Gibson 提交于
libfdt is supposed to easy to embed in projects all and sundry. Often, it won't be practical to separate the embedded libfdt's namespace from that of the surrounding project. Which means there can be namespace conflicts between even libfdt's internal/static functions and functions or macros coming from the surrounding project's headers via libfdt_env.h. This patch, therefore, renames a bunch of libfdt internal functions and macros and makes a few other chances to reduce the chances of namespace collisions with embedding projects. Specifically: - Internal functions (even static ones) are now named _fdt_*() - The type and (static) global for the error table in fdt_strerror() gain an fdt_ prefix - The unused macro PALIGN is removed - The memeq and streq macros are removed and open-coded in the users (they were only used once each) - Other macros gain an FDT_ prefix - To save some of the bulk from the previous change, an FDT_TAGALIGN() macro is introduced, where FDT_TAGALIGN(x) == FDT_ALIGN(x, FDT_TAGSIZE) Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
-
由 David Gibson 提交于
Enabling -Wcast-qual warnings in dtc shows up a number of places where we are incorrectly discarding a const qualification. There are also some places where we are intentionally discarding the 'const', and we need an ugly cast through uintptr_t to suppress the warning. However, most of these are pretty well isolated with the *_w() functions. So in the interests of maximum safety with const qualifications, this patch enables the warnings and fixes the existing complaints. Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au> Acked-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 David Gibson 提交于
This patch turns on the -Wpointer-arith option in the dtc Makefile, and fixes the resulting warnings due to using (void *) in pointer arithmetic. While convenient, pointer arithmetic on void * is not portable, so it's better that we avoid it, particularly in libfdt. Also add necessary definition of uintptr_t needed by David Gibson's changeset "dtc: Enable and fix -Wpointer-arith warnings" (the definition comes from stdint.h, which u-boot doesn't have). -- gvb Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au> Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
- 23 8月, 2008 1 次提交
-
-
- 22 8月, 2008 4 次提交
-
-
由 Tirumala R Marri 提交于
During recent PCI-E tests it has been found that current driverl level and de-emphasis values are not set correctly. After sweeping throgh all de-ephasis values, it was found that 0x130 is a right value. Where 0x13 is driver level and 0 is de-emphasis. Signed-off-by: NTirumala R Marri <tmarri@amcc.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Remy Bohmer 提交于
Recently the YAFFS filesystem support has been added to U-boot. However, just enabling CONFIG_YAFFS2 is not enough to get it working. ymount will generate an exception (when dereferencing mtd->readoob()), because the genericDevice is a null pointer. Further, a lot of logging is produced while using YAFFS fs, so logging should also be disabled. Both issues are solved by this patch. With this patch and CONFIG_YAFFS2 enabled, I get a readable filesystem in U-boot, as well as in Linux. Tested on a Atmel AT91SAM9261EK board. Signed-off-by: NRemy Bohmer <linux@bohmer.net> Acked-by: NWilliam Juul <william.juul@tandberg.com> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Kyungmin Park 提交于
Also sync with kernel OneNAND codes Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Scott Wood 提交于
It was for debugging purposes, and shouldn't have been left in. Signed-off-by: NScott Wood <scottwood@freescale.com>
-
- 21 8月, 2008 19 次提交
-
-
由 Stefan Roese 提交于
This patch fixes some minor issues introduced with the patch: ppc4xx: Optimize PLB4 Arbiter... from Prodyut Hazarika: - Rework memory-queue and PLB arbiter optimization code, that the local variable is not needed anymore. This removes one #ifdef. - Use consistant spacing in ppc4xx.h header (XXX + 0x01 instead of XXX+ 0x01). This was not introduced by Prodyut, just a copy-paste problem. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Prodyut Hazarika 提交于
PPC405EX and PPC460EX/GT/SX - Read pipeline depth set to 4 for PPC440SP/SPE, PPC405EX, PPC460EX/GT/SX processors - Moved PLB4 Arbiter register definitions to ppc4xx.h since it is shared across processors (405 and 440/460) - Optimize Memory Queue settings for PPC440SP/SPE and PPC460EX/GT/SX processors - Add register bit definitions for Memory Queue Configuration registers Signed-off-by: NProdyut Hazarika <phazarika@amcc.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Kumar Gala 提交于
Move to using the environment variables 'ethaddr', 'eth1addr', etc.. instead of bd->bi_enetaddr, bi_enet1addr, etc. This makes the code a bit more flexible to the number of ethernet interfaces. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Stefan Roese 提交于
This patch changes the debug_printf() marco for U-Boot in hush.c and moves the definition of DEBUG_SHELL to a place that is actually compiled under U-Boot. Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Heiko Schocher 提交于
Commit 00b1883a missed a few boards: include/configs/M5253DEMO.h include/configs/ml507.h include/configs/redwood.h This patch fixes this. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
由 Haavard Skinnemoen 提交于
ARM, i386, m68k and ppc all have identical implementations of strmhz(). Other architectures don't provide this function at all. This patch moves strmhz() into lib_generic, reducing code duplication and providing a more unified API across architectures. Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
由 Andre Schwarz 提交于
fix build warnings @ mvBC-P board by using correct types, i.e. change out_be32 to out_be16 and out_8 accordingly. Signed-off-by: NAndre Schwarz <andre.schwarz@matrix-vision.de>
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Axel Beierlein 提交于
Tested with TQM5200S on STK52XX.200 Board Signed-off-by: NAxel Beierlein <belatronix@web.de>
-
由 Peter Tyser 提交于
The last used chip, address, and address length were not being stored for the imm and imn commands. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
由 Steven A. Falco 提交于
Correct a small spelling mistake. Signed-off-by: NSteven A. Falco <sfalco@harris.com>
-
由 Steven A. Falco 提交于
This patch adds a hook whereby a board-specific routine can be called to configure hardware for a PIO mode. The prototype for the board-specific routine is: int inline ide_set_piomode(int pio_mode) ide_set_piomode should be prepared to configure hardware for a pio_mode between 0 and 6, inclusive. It should return 0 on success or 1 on failure. Signed-off-by: NSteven A. Falco <sfalco@harris.com>
-
由 Steven A. Falco 提交于
This patch removes some enums from ata.h and replaces them with an include of libata.h. This way, we eliminate duplicated code, and prevent errors whereby the different versions could be out of sync. Signed-off-by: NSteven A. Falco <sfalco@harris.com>
-
rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Kumar Gala 提交于
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
-
-
- 20 8月, 2008 9 次提交
-
-
由 Nick Spence 提交于
This patch fixes a missing vendor code in the flash_real_protect() function. Signed-off-by: NNick Spence <nick.spence@freescale.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 TsiChung Liew 提交于
New implement sector lock and unlock or softlock commands do not exist in AMD legacy flash. Thus, causing issue when erasing AMD legacy flash (such as lv040) Signed-off-by: NTsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Haavard Skinnemoen 提交于
CFG_FLASH_CFI_DRIVER was recently renamed CONFIG_FLASH_CFI_DRIVER. Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
-
由 Haavard Skinnemoen 提交于
Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
由 Haavard Skinnemoen 提交于
Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
由 Haavard Skinnemoen 提交于
The rest of the MAINTAINERS file appears to be sorted almost-alphabetically, but entries for the newly added AVR32 boards were added somewhat randomly. This patch sorts the list alphabetically again. Also update my e-mail address. The old one still works, but it may not work forever. Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
-
由 Mark Jackson 提交于
The MIMC200 board is based on Atmel's NGW100 dev kit, but with an extra 8MByte FLASH and 128KByte FRAM. Signed-off-by: NMark Jackson <mpfj@mimc.co.uk> Signed-off-by: NHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- 19 8月, 2008 4 次提交
-
-
由 Yoshihiro Shimoda 提交于
This patch fixes a problem that RTL8110SCL started transfer with an incorrect memory address. Signed-off-by: NYoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 TsiChung Liew 提交于
The received status and len was in little endian format and caused the ethernet unable to proceed further. Add __le16_to_cpu() in dm9000_rx_status_8/16/32bit(). Signed-off-by: NTsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Kumar Gala 提交于
There is no point in disabling the icache on 7xx/74xx/86xx parts and not also flushing the icache. All callers of invalidate_l1_instruction_cache() call icache_disable() right after. Make it so icache_disable() calls invalidate_l1_instruction_cache() for us. Also, dcache_disable() already calls dcache_flush() so there is no point in the explicit calls of dcache_flush(). Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Kumar Gala 提交于
The ePAPR spec has some subtle differences from the current device tree based boot interface to the powerpc linux kernel. The powerpc linux kernel currently ignores the differences that ePAPR specifies. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-