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>
show more ...
fs: Create a common fs_devread for ext4/reiserfs/zfsThe ext4, reiserfs and zfs filesystems all have their own implementationof the same function, *_devread. Generalize this function into fs_devrea
fs: Create a common fs_devread for ext4/reiserfs/zfsThe ext4, reiserfs and zfs filesystems all have their own implementationof the same function, *_devread. Generalize this function into fs_devreadand put the code into fs/fs_internal.c.Signed-off-by: Marek Behun <marek.behun@nic.cz>[trini: Move fs/fs_internal.o hunk to the end of fs/Makefile as allcases need it]Signed-off-by: Tom Rini <trini@konsulko.com>
dm: Drop the block_dev_desc_t typedefUse 'struct' instead of a typdef. Also since 'struct block_dev_desc' is longand causes 80-column violations, rename it to struct blk_desc.Signed-off-by: Simo
dm: Drop the block_dev_desc_t typedefUse 'struct' instead of a typdef. Also since 'struct block_dev_desc' is longand causes 80-column violations, rename it to struct blk_desc.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>Tested-by: Stephen Warren <swarren@nvidia.com>
block: pass block dev not num to read/write/erase()This will allow the implementation to make use of data in the block_devstructure beyond the base device number. This will be useful so that eMMC
block: pass block dev not num to read/write/erase()This will allow the implementation to make use of data in the block_devstructure beyond the base device number. This will be useful so that eMMCblock devices can encompass the HW partition ID rather than treating thisout-of-band. Equally, the existence of the priv field is crying out forthis patch to exist.Signed-off-by: Stephen Warren <swarren@nvidia.com>Reviewed-by: Tom Rini <trini@konsulko.com>
kconfig: add blank Kconfig filesThis would be useful to start moving various config options.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>Tes
kconfig: add blank Kconfig filesThis would be useful to start moving various config options.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>Tested-by: Simon Glass <sjg@chromium.org>
fs: descend into sub directories when it is necessarySigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
fs: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
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>
cmd_reiser: use common get_device_and_partition functionConvert reiserload and reiserls to use common device and partition parsingfunction. With the common function "dev:part" can come from theen
cmd_reiser: use common get_device_and_partition functionConvert reiserload and reiserls to use common device and partition parsingfunction. With the common function "dev:part" can come from theenvironment and a '-' can be used in that case.Signed-off-by: Rob Herring <rob.herring@calxeda.com>
fs/reiserfs/reiserfs.c: Fix compiler warningFix:reiserfs.c: In function 'reiserfs_mount':reiserfs.c:360:22: warning: dereferencing type-punned pointerwill break strict-aliasing rules [-Wstrict-a
fs/reiserfs/reiserfs.c: Fix compiler warningFix:reiserfs.c: In function 'reiserfs_mount':reiserfs.c:360:22: warning: dereferencing type-punned pointerwill break strict-aliasing rules [-Wstrict-aliasing]Signed-off-by: Anatolij Gustschin <agust@denx.de>
Switch from archive libraries to partial linkingBefore this commit, weak symbols were not overridden by non-weak symbolsfound in archive libraries when linking with recent versions ofbinutils. A
Switch from archive libraries to partial linkingBefore this commit, weak symbols were not overridden by non-weak symbolsfound in archive libraries when linking with recent versions ofbinutils. As stated in the System V ABI, "the link editor does notextract archive members to resolve undefined weak symbols".This commit changes all Makefiles to use partial linking (ld -r) insteadof creating library archives, which forces all symbols to participate inlinking, allowing non-weak symbols to override weak symbols as intended.This approach is also used by Linux, from which the gmake functioncmd_link_o_target (defined in config.mk and used in all Makefiles) isinspired.The name of each former library archive is preserved except forextensions which change from ".a" to ".o". This commit updatesreferences accordingly where needed, in particular in some linkerscripts.This commit reveals board configurations that exclude some features butinclude source files that depend these disabled features in the build,resulting in undefined symbols. Known such cases include:- disabling CMD_NET but not CMD_NFS;- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.Signed-off-by: Sebastien Carlier <sebastien.carlier@gmail.com>
fs: Move conditional compilation to MakefileSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print st
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print statements).Also remove all embedded "vim:" and "vi:" statements which hideindentation problems.Signed-off-by: Wolfgang Denk <wd@denx.de>
fs/: Remove lingering references to CFG_CMD_* symbols.Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.Those always evaluated TRUE, and thus were always compiledeven when IDE really wasn't
fs/: Remove lingering references to CFG_CMD_* symbols.Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.Those always evaluated TRUE, and thus were always compiledeven when IDE really wasn't defined/wanted.Signed-off-by: Jon Loeliger <jdl@freescale.com>
fs/: Remove obsolete references to CONFIG_COMMANDSSigned-off-by: Jon Loeliger <jdl@freescale.com>
fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).This is a compatibility step that allows both the older formand the new form to co-exist for a while until the older canbe removed en
fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).This is a compatibility step that allows both the older formand the new form to co-exist for a while until the older canbe removed entirely.All transformations are of the form:Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)Signed-off-by: Jon Loeliger <jdl@freescale.com>
Move "ar" flags to config.mk to allow for silent "make -s"Based on patch by Mike Frysinger, 20 Jun 2006
Add support for a saving build objects in a separate directory.Modifications are based on the linux kernel approach andsupport two use cases: 1) Add O= to the make command line 'make O=/tmp/bu
Add support for a saving build objects in a separate directory.Modifications are based on the linux kernel approach andsupport two use cases: 1) Add O= to the make command line 'make O=/tmp/build all' 2) Set environement variable BUILD_DIR to point to the desired location 'export BUILD_DIR=/tmp/build' 'make'The second approach can also be used with a MAKEALL script'export BUILD_DIR=/tmp/build''./MAKEALL'Command line 'O=' setting overrides BUILD_DIR environent variable.When none of the above methods is used the local build is performed andthe object files are placed in the source directory.
* Patches by Pantelis Antoniou, 30 Mar 2004: - add auto-complete support to the U-Boot CLI - add support for NETTA and NETPHONE boards; fix NETVIA board* Patch by Yuli Barcohen, 28 Mar 2004:
* Patches by Pantelis Antoniou, 30 Mar 2004: - add auto-complete support to the U-Boot CLI - add support for NETTA and NETPHONE boards; fix NETVIA board* Patch by Yuli Barcohen, 28 Mar 2004: - Add support for MPC8272 family including MPC8247/8248/8271/8272 - Add support for MPC8272ADS evaluation board (another flavour of MPC8260ADS) - Change configuration method for MPC8260ADS family
Code cleanup
* Patch by Pavel Bartusek, 21 Mar 2004 Add Reiserfs support* Patch by Hinko Kocevar, 20 Mar 2004 - Add auto-release for SMSC LAN91c111 driver - Add save/restore of PTR and PNR regs as suggest
* Patch by Pavel Bartusek, 21 Mar 2004 Add Reiserfs support* Patch by Hinko Kocevar, 20 Mar 2004 - Add auto-release for SMSC LAN91c111 driver - Add save/restore of PTR and PNR regs as suggested in datasheet