cmd: mtdparts: accept spi-nand devicesLet spi-nand devices be recognized by mtdparts. This is superfluousbut a full mtdparts rework would be very time-consuming.Signed-off-by: Miquel Raynal <miq
cmd: mtdparts: accept spi-nand devicesLet spi-nand devices be recognized by mtdparts. This is superfluousbut a full mtdparts rework would be very time-consuming.Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>Acked-by: Jagan Teki <jagan@openedev.com>Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>Reviewed-by: Stefan Roese <sr@denx.de>
show more ...
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
cmd_mtdparts: use 64 bits for flash size, partition size & offsetThis matches the 64 bit size in struct mtd_info and allows the mtdpartscommand to function correctly with a flash >= 4GiB. Format s
cmd_mtdparts: use 64 bits for flash size, partition size & offsetThis matches the 64 bit size in struct mtd_info and allows the mtdpartscommand to function correctly with a flash >= 4GiB. Format specifiersfor size & offset are given the ll length, matching its use indrivers/mtd in absence of something like inttypes.h/PRIx64.Signed-off-by: Paul Burton <paul.burton@imgtec.com>Acked-by: Stefan Roese <sr@denx.de>
Add GPL-2.0+ SPDX-License-Identifier to source filesSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Fixup common/cmd_io.c]Signed-off-by: Tom Rini <trini@ti.com>
fdt_support: add partitions fixup in mtd nodeAllow overwriting defined partitions in the device tree blobusing partition info defined in the 'mtdparts' environmentvariable.Signed-off-by: Anatol
fdt_support: add partitions fixup in mtd nodeAllow overwriting defined partitions in the device tree blobusing partition info defined in the 'mtdparts' environmentvariable.Signed-off-by: Anatolij Gustschin <agust@denx.de>Cc: Gerald Van Baren <vanbaren@cideas.com>
JFFS2: drop support for LZARI compression modeSupport for LZARI compression mode was added based on a MTD CVSsnapshot of March 13, 2005. However, fs/jffs2/compr_lzari.c containscontradictory lice
JFFS2: drop support for LZARI compression modeSupport for LZARI compression mode was added based on a MTD CVSsnapshot of March 13, 2005. However, fs/jffs2/compr_lzari.c containscontradictory licensing terms: the original copyright clause says "Allrights reserved. Permission granted for non-commercial use.", butlater reference to the file 'LICENCE' in the jffs2 directory was addedwhich says GPL v2 or later.As no boards ever used LZARI compression, and this file is also notpresent in recent MTD code, we resolve this conflict by removing theconflicting file and references to it.Also copy the referenced but missing file 'LICENCE' from the currentMTD source tree.Signed-off-by: Wolfgang Denk <wd@denx.de>
jffs2: summary supportThis patch adds support for reading fs information from summarynode instead of scanning full eraseblock.Signed-off-by: Ilya Yanok <yanok@emcraft.com>
jffs2: add sector_size field to part_info structureThis patch adds sector_size field to part_info structure (usedby new JFFS2 code).Signed-off-by: Ilya Yanok <yanok@emcraft.com>
UBI: Add basic UBI support to U-Boot (Part 6/8)This patch adds basic UBI (Unsorted Block Image) support to U-Boot.It's based on the Linux UBI version and basically has a "OS"translation wrapper t
UBI: Add basic UBI support to U-Boot (Part 6/8)This patch adds basic UBI (Unsorted Block Image) support to U-Boot.It's based on the Linux UBI version and basically has a "OS"translation wrapper that defines most Linux specific calls(spin_lock() etc.) into no-ops. Some source code parts have beenuncommented by "#ifdef UBI_LINUX". This makes it easier to comparethis version with the Linux version and simplifies future UBIports/bug-fixes from the Linux version.Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>Signed-off-by: Stefan Roese <sr@denx.de>
Add JFFS2 command support on OneNANDSigned-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Add common (with Linux) MTD partition scheme and "mtdparts" commandOld, obsolete and duplicated code was cleaned up and replace by thenew partitioning method. There are two possible approaches now:
Add common (with Linux) MTD partition scheme and "mtdparts" commandOld, obsolete and duplicated code was cleaned up and replace by thenew partitioning method. There are two possible approaches now:* define a single, static partition* use mtdparts command line option and dynamic partitioningDefault is static partitioning.
* Fix debug code in omap5912osk flash driver* Add support for MPC8247 based "IDS8247" board.
It's better to handle LZO and LZARI compression mdoes for JFFS2 witha single #define.
Major upate of JFFS2 code; now in sync with snapshot of MTD CVS ofMarch 13, 2005); new configuration options CONFIG_JFFS2_LZO andCONFIG_JFFS2_LZARI are added. Both are undefined by default.
* Fix problems caused by Robert Schwebel's cramfs patch* Patch by Scott McNutt, 02 Jan 2004: Add support for the Nios Active Serial Memory Interface (ASMI) on Cyclone devices* Patch by Andrea
* Fix problems caused by Robert Schwebel's cramfs patch* Patch by Scott McNutt, 02 Jan 2004: Add support for the Nios Active Serial Memory Interface (ASMI) on Cyclone devices* Patch by Andrea Marson, 16 Dec 2003: Add support for the PPChameleon ME and HI modules* Patch by Yuli Barcohen, 22 Dec 2003: Add support for Motorola DUET ADS board (MPC87x/88x)
* Patches by Denis Peter, 9 Sep 2003: add FAT support for IDE, SCSI and USB* Patches by Gleb Natapov, 2 Sep 2003: - cleanup of POST code for unsupported architectures - MPC824x locks way0 of
* Patches by Denis Peter, 9 Sep 2003: add FAT support for IDE, SCSI and USB* Patches by Gleb Natapov, 2 Sep 2003: - cleanup of POST code for unsupported architectures - MPC824x locks way0 of data cache for use as initial RAM; this patch unlocks it after relocation to RAM and invalidates the locked entries.* Patch by Gleb Natapov, 30 Aug 2003: new I2C driver for mpc107 bridge. Now works from flash.* Patch by Dave Ellis, 11 Aug 2003: - JFFS2: fix typo in common/cmd_jffs2.c - JFFS2: fix CFG_JFFS2_SORT_FRAGMENTS option - JFFS2: remove node version 0 warning - JFFS2: accept JFFS2 PADDING nodes - SXNI855T: add AM29LV800 support - SXNI855T: move environment from EEPROM to flash - SXNI855T: boot from JFFS2 in NOR or NAND flash* Patch by Bill Hargen, 11 Aug 2003: fixes for I2C on MPC8240 - fix i2c_write routine - fix iprobe command - eliminates use of global variables, plus dead code, cleanup.
* Code cleanup: - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)* Patches by Kenneth Johansson, 25 Jun 2003: -
* Code cleanup: - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)* Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Initial revision