22 Jan, 2017

1 commit


17 Jan, 2017

1 commit


15 Jan, 2017

1 commit

  • Add support for signing with the pkcs11 engine. This allows FIT images
    to be signed with keys securely stored on a smartcard, hardware security
    module, etc without exposing the keys.

    Support for other engines can be added in the future by modifying
    rsa_engine_get_pub_key() and rsa_engine_get_priv_key() to construct
    correct key_id strings.

    Signed-off-by: George McCollister

    George McCollister
     

14 Jan, 2017

1 commit


12 Jan, 2017

1 commit


11 Jan, 2017

3 commits

  • Move (and rename) the following CONFIG options to Kconfig:

    CONFIG_EXYNOS_DWMMC (renamed to CONFIG_MMC_DW_EXYNOS)
    CONFIG_HIKEY_DWMMC (renamed to CONFIG_MMC_DW_K3)
    CONFIG_SOCFPGA_DWMMC (renamed to CONFIG_MMC_DW_SOCFPGA)

    The "HIKEY" is a board name, so it is not suitable for the MMC
    controller name. I am following the name used in Linux.

    This commit was generated as follows:

    [1] Rename the config options with the following command:
    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e '
    s/CONFIG_EXYNOS_DWMMC/CONFIG_MMC_DW_EXYNOS/g
    s/CONFIG_HIKEY_DWMMC/CONFIG_MMC_DW_K3/g
    s/CONFIG_SOCFPGA_DWMMC/CONFIG_MMC_DW_SOCFPGA/g
    '

    [2] Commit the changes

    [3] Create the entries in drivers/mmc/Kconfig
    (with default y for EXYNOS and SOCFPGA)

    [4] Run the following:
    tools/moveconfig.py -y -r HEAD MMC_DW_EXYNOS MMC_DW_K3 MMC_DW_SOCFPGA

    [5] Sort and align drivers/mmc/Makefile for readability

    [6] Clean-up doc/README.socfpga by hand

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Marek Vasut

    Masahiro Yamada
     
  • This commit was created as follows:

    [1] Rename the option with the following command:
    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e 's/CONFIG_DWMMC/CONFIG_MMC_DW/g'

    [2] create the entry for MMC_DW in drivers/mmc/Kconfig
    (the prompt and help were copied from Linux)

    [3] run "tools/moveconfig.py -y MMC_DW"

    [4] add "depends on MMC_DW" to the MMC_DW_ROCKCHIP entry

    [5] Clean-up doc/README.socfpga by hand

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Marek Vasut

    Masahiro Yamada
     
  • CONFIG_SOCFPGA_DWMMC_FIFO_DEPTH is defined in the socfpga_common.h,
    but not referenced at all. Remove.

    Also, clean-up the README.socfpga. CONFIG_MMC should not be defined
    in the header since it was moved to Kconfig by commit c27269953b94
    ("mmc: complete unfinished move of CONFIG_MMC"). I see no grep hit
    for the others.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Marek Vasut

    Masahiro Yamada
     

03 Jan, 2017

4 commits


28 Dec, 2016

1 commit


27 Dec, 2016

1 commit


21 Dec, 2016

1 commit

  • Fix the MMU mapping for A8K device family:
    - Separate A7K and A8K memory mappings
    - Fix memory regions by including IO mapping for all
    3 PCIe interfaces existing on each connected CP110 controller
    Add A8K memory mapping documentation with all regions
    configured by Marvell ATF.

    Change-Id: I9c930569b1853900f5fba2d5db319b092cc7a2a6
    Signed-off-by: Konstantin Porotchkin
    Signed-off-by: Stefan Roese
    Cc: Stefan Roese
    Cc: Nadav Haklai
    Cc: Neta Zur Hershkovits
    Cc: Omri Itach
    Cc: Igal Liberman
    Cc: Haim Boot
    Cc: Hanna Hawa

    Konstantin Porotchkin
     

12 Dec, 2016

3 commits

  • Add pin control nodes to APN806, CP-master, CP-slave and
    Armada-7040 and Armada-8040 boards DTS files

    Signed-off-by: Konstantin Porotchkin
    Cc: Stefan Roese
    Cc: Nadav Haklai
    Cc: Neta Zur Hershkovits
    Cc: Omri Itach
    Cc: Igal Liberman
    Cc: Haim Boot
    Cc: Hanna Hawa
    Signed-off-by: Stefan Roese

    Konstantin Porotchkin
     
  • Add a DM port of Marvell pin control driver.
    The A8K SoC family contains several silicone dies interconnected
    in a single package. Every die is normally equipped with its own
    pin controller unit.
    There are 2 pin controllers in A70x0 SoC and 3 in A80x0 SoC.

    Signed-off-by: Konstantin Porotchkin
    Reviewed-by: Simon Glass
    Cc: Simon Glass
    Cc: Stefan Roese
    Cc: Nadav Haklai
    Cc: Neta Zur Hershkovits
    Cc: Omri Itach
    Cc: Igal Liberman
    Cc: Haim Boot
    Cc: Hanna Hawa
    Signed-off-by: Stefan Roese

    Konstantin Porotchkin
     
  • Add support for mvebu bubt command for flash image
    load, check and burn on boot device.

    Signed-off-by: Konstantin Porotchkin
    Reviewed-by: Stefan Roese
    Cc: Stefan Roese
    Cc: Nadav Haklai
    Cc: Neta Zur Hershkovits
    Cc: Omri Itach
    Cc: Igal Liberman
    Cc: Haim Boot
    Cc: Hanna Hawa
    Signed-off-by: Stefan Roese

    Konstantin Porotchkin
     

06 Dec, 2016

1 commit


05 Dec, 2016

4 commits


04 Dec, 2016

1 commit

  • To help automate the loading of custom image types we add the ability
    to define custom handlers for the loadable section types. When we find
    a compatible type while loading a "loadable" image from a FIT image we
    run its associated handlers to perform any additional steps needed for
    loading this image.

    Signed-off-by: Andrew F. Davis
    Reviewed-by: Simon Glass

    Andrew F. Davis
     

03 Dec, 2016

1 commit


30 Nov, 2016

1 commit


29 Nov, 2016

3 commits


24 Nov, 2016

7 commits


22 Nov, 2016

1 commit


18 Nov, 2016

1 commit

  • Now the flash params table as renamed to spi_flash_ids structure,
    so rename the sf_params.c to spi_flash_ids.c and remove the legacy.

    Cc: Bin Meng
    Cc: York Sun
    Cc: Vignesh R
    Cc: Mugunthan V N
    Cc: Michal Simek
    Signed-off-by: Jagan Teki
    Reviewed-by: Jagan Teki
    Tested-by: Jagan Teki
    Reviewed-by: Siva Durga Prasad Paladugu

    Jagan Teki
     

15 Nov, 2016

2 commits

  • Enable this so that EFI applications (notably grub) can be run under U-Boot
    on x86 platforms.

    At present the 'hello world' EFI application is not supported for the
    qemu-x86_efi_payload64 board. That board builds a payload consisting of a
    64-bit header and a 32-bit U-Boot, which is incompatible with the way the
    EFI loader builds its EFI application. The following error is obtained:

    x86_64-linux-ld.bfd: i386 architecture of input file
    `lib/efi_loader/helloworld.o' is incompatible with i386:x86-64 output

    This could be corrected with additional Makefile rules. For now, this
    feature is disabled for that board.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    [agraf: drop hello kconfig bits]
    Signed-off-by: Alexander Graf

    Simon Glass
     
  • It is useful to have a basic sanity check for EFI loader support. Add a
    'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot.

    Signed-off-by: Simon Glass
    [agraf: Fix documentation, add unfulfilled kconfig dep]
    Signed-off-by: Alexander Graf

    Simon Glass