17 Jan, 2021

1 commit

  • Refine the dependency of some configs to make it
    easier to add/modify android config files.

    Test: builds.

    Change-Id: Iccb044dadc7ce1e0b839bf83e2e9157e718f286c
    Signed-off-by: Ji Luo
    (cherry picked from commit 86f4f99a367bbc0ef99d4ab2a0b4078babfbfbd2)

    Ji Luo
     

06 May, 2020

4 commits


26 Jan, 2020

1 commit


04 Dec, 2019

1 commit


23 Nov, 2019

2 commits


08 Oct, 2018

1 commit


30 May, 2018

6 commits

  • Introduce 'oem format' which matches the USB implementation, guard this
    with CONFIG_FASTBOOT_CMD_OEM_FORMAT so that you can configure it out.

    Signed-off-by: Alex Kiernan
    Reviewed-by: Simon Glass

    Alex Kiernan
     
  • Merge UDP fastboot support from AOSP:

    https://android.googlesource.com/platform/external/u-boot/+/android-o-mr1-iot-preview-8

    Signed-off-by: Alex Kiernan
    Signed-off-by: Alex Deymo
    Signed-off-by: Jocelyn Bohr
    Reviewed-by: Simon Glass

    Alex Kiernan
     
  • Introduce CONFIG_IMAGE_SPARSE and CONFIG_CMD_MMC_SWRITE so the "mmc
    swrite" command is separated from the fastboot code.

    Move image-sparse from common to lib so it's clear it's library code.

    Rename CONFIG_FASTBOOT_FLASH_FILLBUF_SIZE to CONFIG_IMAGE_SPARSE_FILLBUF_SIZE
    and migrate it to Kconfig.

    Signed-off-by: Alex Kiernan
    Acked-by: Jassi Brar
    Reviewed-by: Simon Glass

    Alex Kiernan
     
  • Add FASTBOOT_FLASH_NAND_TRIMFFS to Kconfig; note there are no in-tree
    users of it.

    Signed-off-by: Alex Kiernan
    Reviewed-by: Simon Glass

    Alex Kiernan
     
  • Ensure that when selecting FASTBOOT_FLASH you end up with a buildable
    configuration. Prior to this you could select NAND without MTDPARTS
    and end up with an image which (surprisingly) excluded NAND.

    Also fix dependencies on FASTBOOT_GPT_NAME/FASTBOOT_MBR_NAME which require
    you have EFI_PARTITION/DOS_PARTITION enabled.

    Delete redundant FASTBOOT_FLASH_NAND_DEV from Kconfig - it was only ever
    used as a guard and the value was ignored in all cases, we're using
    FASTBOOT_FLASH_NAND as the guard now.

    Signed-off-by: Alex Kiernan
    Reviewed-by: Joe Hershberger

    Alex Kiernan
     
  • Separate CMD_FASTBOOT from FASTBOOT and move code and configuration to
    drivers/fastboot.

    Switch dependencies on FASTBOOT to USB_FUNCTION_FASTBOOT as anyone who wants
    FASTBOOT before this series wants USB_FUNCTION_FASTBOOT. Split
    USB_FUNCTION_FASTBOOT from FASTBOOT so they retain their existing
    behaviour.

    Signed-off-by: Alex Kiernan
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Alex Kiernan