From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 01/10] common: do not compile common fastboot code when building the SPL
Date: Thu, 21 Dec 2017 09:46:23 -0500 [thread overview]
Message-ID: <20171221144623.GD7592@bill-the-cat> (raw)
In-Reply-To: <1513857247-15821-2-git-send-email-jjhiblot@ti.com>
On Thu, Dec 21, 2017 at 12:53:47PM +0100, Jean-Jacques Hiblot wrote:
> This is not required as fastboot can't be started from SPL.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
> ---
>
> common/Makefile | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/common/Makefile b/common/Makefile
> index 1416620..c7bde23 100644
> --- a/common/Makefile
> +++ b/common/Makefile
> @@ -109,6 +109,7 @@ obj-$(CONFIG_IO_TRACE) += iotrace.o
> obj-y += memsize.o
> obj-y += stdio.o
>
> +ifndef CONFIG_SPL_BUILD
> # This option is not just y/n - it can have a numeric value
> ifdef CONFIG_FASTBOOT_FLASH
> obj-y += image-sparse.o
> @@ -119,6 +120,7 @@ ifdef CONFIG_FASTBOOT_FLASH_NAND_DEV
> obj-y += fb_nand.o
> endif
> endif
> +endif
>
> ifdef CONFIG_CMD_EEPROM_LAYOUT
> obj-y += eeprom/eeprom_field.o eeprom/eeprom_layout.o
We don't need this as all of the code (and text) is discarded. Checked
with am335x_evm_usbspl as that does set FASTBOOT. Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171221/a7f9db5b/attachment.sig>
next prev parent reply other threads:[~2017-12-21 14:46 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-21 11:53 [U-Boot] [PATCH v1 00/10] reduce the size of the mmc core Jean-Jacques Hiblot
2017-12-21 11:53 ` [U-Boot] [PATCH v1 01/10] common: do not compile common fastboot code when building the SPL Jean-Jacques Hiblot
2017-12-21 14:46 ` Tom Rini [this message]
2017-12-21 15:28 ` Jean-Jacques Hiblot
2017-12-21 15:53 ` Tom Rini
2017-12-21 11:53 ` [U-Boot] [PATCH v1 02/10] mmc: atmel: when sending a data command, use the provided block size Jean-Jacques Hiblot
2017-12-26 10:14 ` Jaehoon Chung
2017-12-21 11:53 ` [U-Boot] [PATCH v1 03/10] mmc: remove unneeded verification in mmc_set_card_speed() Jean-Jacques Hiblot
2017-12-26 10:36 ` Jaehoon Chung
2018-01-03 14:28 ` Jean-Jacques Hiblot
2017-12-21 11:53 ` [U-Boot] [PATCH v1 04/10] mmc: compile out more code if support for UHS and HS200 is not enabled Jean-Jacques Hiblot
2017-12-21 11:53 ` [U-Boot] [PATCH v1 05/10] mmc: reworked version lookup in mmc_startup_v4 Jean-Jacques Hiblot
2017-12-21 11:53 ` [U-Boot] [PATCH v1 06/10] mmc: add a Kconfig option to enable the support for MMC write operations Jean-Jacques Hiblot
2017-12-21 14:46 ` Tom Rini
2017-12-21 14:52 ` Tom Rini
2017-12-21 15:33 ` Jean-Jacques Hiblot
2017-12-21 15:54 ` Tom Rini
2017-12-21 11:53 ` [U-Boot] [PATCH v1 07/10] mmc: read ssr only if MMC write support is enabled Jean-Jacques Hiblot
2017-12-21 11:53 ` [U-Boot] [PATCH v1 08/10] mmc: compile out erase and write mmc commands if write operations are not enabled Jean-Jacques Hiblot
2017-12-21 11:53 ` [U-Boot] [PATCH v1 09/10] mmc: don't read the size of eMMC enhanced user data area in SPL Jean-Jacques Hiblot
2017-12-21 11:53 ` [U-Boot] [PATCH v1 10/10] mmc: remove hc_wp_grp_size from struct mmc if not needed Jean-Jacques Hiblot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171221144623.GD7592@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox