The default configuration of u-boot works great for developers. However, when u-boot is "ready" for the platform, much of these features are "extra/redundant" from product perspective.
Without changing default behavior and function of u-boot, this patch consolidates the CONFIG options that most likely fall into the "extra" bucket under CONFIG_FAST_BOOT. With a view that boot device is usually fixed in the products, this patch allows selection of devices (and related features). Currently, selection is (exclusive) between MMC/SD and NAND under CONFIG_FAST_BOOT. If there is a need to support both, it can be added later. Though changes are done for OMAP3EVM, most of them should be applicable to other platforms as well. I have tried to group the CONFIG options logically. Here is the summary of reduction[1]: text data bss dec hex filename Before: 227772 10900 257216 495888 79110 u-boot After: 104593 4040 197952 306585 4ad99 u-boot [1] Calculation of "before" includes these patches: a) omap3evm: Wrap function under CONFIG_USB_OMAP3 b) omap3evm: Move function to identify board revision c) omap3evm: Wrap function under CONFIG_CMD_NET Sanjeev Premi (1): omap3evm: Support for fast boot include/configs/omap3_evm.h | 138 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 138 insertions(+), 0 deletions(-) -- 1.7.2.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot