[U-Boot] [PATCH] api: Fix broken build on ARM.

2009-07-17 Thread Piotr Ziecik
This patch fixes broken build introduced by commit 84bf7ca522e94ec402a1264b01971b924b7e268f (api: remove un-needed ifdef CONFIG_API already handle by the Makefile). Signed-off-by: Piotr Ziecik --- api/api_platform-arm.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a

[U-Boot] [PATCH] eth_receive(): Do not assume that caller always wants full packet.

2009-07-14 Thread Piotr Ziecik
scenario is the loader doing ARP with a buffer of 66 bytes. The end result is that the ARP will fail and the loader panics. This patch fixes above problem by allowing partial packet read. Signed-off-by: Marcel Moolenaar Signed-off-by: Piotr Ziecik --- net/eth.c |5 + 1 files changed, 1

[U-Boot] [PATCH V2] flash: Export flash_sector_size() function.

2008-11-20 Thread Piotr Ziecik
Export flash_sector_size() function from drivers/mtd/cfi_flash.c, so that it can be used in the upcoming cfi-mtd driver. Signed-off-by: Piotr Ziecik <[EMAIL PROTECTED]> --- V2: Added patch rationale in the description. drivers/mtd/cfi_flash.c |2 -- include/flash.h |3

[U-Boot] [PATCH] flash: Add interface for flash verbosity control

2008-11-17 Thread Piotr Ziecik
Add interface for flash verbosity control. It allows to disable output from low-level flash API. It is useful when calling these low-level functions from context other than flash commands (for example the MTD/CFI interface implmentation). Signed-off-by: Piotr Ziecik <[EMAIL PROTEC

[U-Boot] [PATCH] flash: Export flash_sector_size() function.

2008-11-17 Thread Piotr Ziecik
Export flash_sector_size() function from drivers/mtd/cfi_flash.c. Signed-off-by: Piotr Ziecik <[EMAIL PROTECTED]> --- drivers/mtd/cfi_flash.c |2 -- include/flash.h |3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drive

[U-Boot] [PATCH 1/3] cfi-mtd: Add cfi-mtd driver.

2008-11-17 Thread Piotr Ziecik
Add cfi-mtd driver, which exports CFI flash to MTD layer. This allows CFI flash devices to be used from MTD layer. Building of the new driver is controlled by CONFIG_FLASH_CFI_MTD option. Initialization is done by calling cfi_mtd_init() from flash_init(). Signed-off-by: Piotr Ziecik <[EM

[U-Boot] [PATCH 3/3] ubi: Add proof-of-concept CFI flash support

2008-11-17 Thread Piotr Ziecik
With this patch UBI can be used on CFI flash chips. Signed-off-by: Piotr Ziecik <[EMAIL PROTECTED]> --- For example to create UBI volume on empty flash partition (partition 0 on NOR device 0) use following commands: => setenv mtdids nor0=nor => mtdparts add nor0 [EMAIL PROTECT

[U-Boot] [PATCH 2/3] mtd: Remove a printf() from add_mtd_device().

2008-11-17 Thread Piotr Ziecik
Remove a printf() from add_mtd_device(), which produces spurious output. Signed-off-by: Piotr Ziecik <[EMAIL PROTECTED]> --- drivers/mtd/mtdcore.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 64bd7d4..6eb52ed

[U-Boot] Export CFI Flash to the MTD and support it in UBI

2008-11-17 Thread Piotr Ziecik
Flash support to the UBI. The baseline of the following patches is the 'testing' branch in the 'u-boot-ubi' repo. Best regards, Piotr Ziecik ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot