26 Aug, 2019

2 commits

  • The command "pci bar" and "pci region" display the address and size in
    16 characters including "0x", so the command can only display
    14 hexadecimal digits if the number of digits in the address and size is
    less than 14.

    ID Base Size Width Type
    ----------------------------------------------------------
    0 0x00000020000000 0x00000000100000 64 MEM Prefetchable
    1 0xffff000080000000 0x00000000100000 64 MEM Prefetchable

    The 64-bit address and size should be displayed in 18(= 16+2) digits,
    so this patch adjusts them.

    Cc: Yehuda Yitschak
    Cc: Simon Glass
    Signed-off-by: Kunihiko Hayashi
    Reviewed-by: Bin Meng

    Kunihiko Hayashi
     
  • The assigned value NULL is overwritten before being used. Remove the
    assignment.

    Signed-off-by: Heinrich Schuchardt
    Reviewed-by: Bin Meng

    Heinrich Schuchardt
     

24 Aug, 2019

2 commits


22 Aug, 2019

1 commit

  • The previous code only dump the clk list. This patch is
    to support clk tree dump, and also dump the enable_cnt.

    The code used in patch is similar to dm_dump_all, but
    the code here only filter out the UCLASS_CLK devices.

    On i.MX8MM, Partial output:
    u-boot=> clk dump
    Rate Usecnt Name
    ------------------------------------------
    24000000 0 |-- clock-osc-24m
    24000000 0 | |-- dram_pll_ref_sel
    750000000 0 | | `-- dram_pll
    750000000 0 | | `-- dram_pll_bypass
    750000000 0 | | `-- dram_pll_out
    24000000 0 | |-- arm_pll_ref_sel
    1200000000 0 | | `-- arm_pll
    1200000000 0 | | `-- arm_pll_bypass
    1200000000 0 | | `-- arm_pll_out
    1200000000 0 | | `-- arm_a53_src
    1200000000 0 | | `-- arm_a53_cg
    1200000000 0 | | `-- arm_a53_div
    24000000 4 | |-- sys_pll1_ref_sel
    800000000 4 | | `-- sys_pll1
    800000000 4 | | `-- sys_pll1_bypass
    800000000 4 | | `-- sys_pll1_out
    40000000 0 | | |-- sys_pll1_40m

    Signed-off-by: Peng Fan

    Peng Fan
     

18 Aug, 2019

1 commit

  • Move the result variable into the struct also, so that it can be used when
    BSS is not available. Add a function to read it.

    Note that all functions sill use the BSS version of the data.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng

    Simon Glass
     

12 Aug, 2019

19 commits


11 Aug, 2019

1 commit


09 Aug, 2019

2 commits

  • FSP (CONFIG_HAVE_FSP) and Slim Bootloader (CONFIG_SYS_SLIMBOOTLOADER)
    consume HOB (CONFIG_USE_HOB) data from the each HOB list pointer.
    Add a common HOB library in lib/hob.c and include/asm/hob.h.

    Signed-off-by: Aiden Park
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng

    Park, Aiden
     
  • Use existing EFI_GUID and efi_guid_t instead of struct efi_guid.
    This is pre-work before making a common HOB library.
    - Change 'struct efi_guid' to efi_guit_t
    - Remove 'struct efi_guid'
    - Define GUIDs with EFI_GUID() macro
    - Use guidcmp() instead of compare_guid()
    - Remove compare_guid()

    Signed-off-by: Aiden Park
    Reviewed-by: Andy Shevchenko
    Reviewed-by: Bin Meng

    Tested on MinnowMax
    Tested-by: Bin Meng

    Park, Aiden
     

08 Aug, 2019

2 commits

  • Registration of USB download gadget might fail for various reasons, so
    add a check for g_dnl_register() funtion return value. Without this fix,
    thor_init() will try to access the registered gadget structures resulting
    in NULL pointer dereference issue.

    Signed-off-by: Marek Szyprowski

    Marek Szyprowski
     
  • When building U-Boot with AVB enabled, compiler shows next warnings:

    cmd/avb.c: In function 'do_avb_read_pvalue':
    cmd/avb.c:371:18: warning: format '%ld' expects argument of type
    'long int', but argument 2 has type 'size_t'
    {aka 'unsigned int'} [-Wformat=]
    printf("Read %ld bytes, value = %s\n", bytes_read,
    ~~^ ~~~~~~~~~~
    %d

    cmd/avb.c: In function 'do_avb_write_pvalue':
    cmd/avb.c:404:19: warning: format '%ld' expects argument of type
    'long int', but argument 2 has type '__kernel_size_t'
    {aka 'unsigned int'} [-Wformat=]
    printf("Wrote %ld bytes\n", strlen(value) + 1);
    ~~^ ~~~~~~~~~~~~~~~~~
    %d

    Fix those by using "%zu" specified.

    Signed-off-by: Sam Protsenko
    Reviewed-by: Igor Opaniuk

    Sam Protsenko
     

05 Aug, 2019

1 commit

  • Pull request for UEFI sub-system for v2019.10-rc2

    With this pull request a workaround for GRUB on 32bit ARM is re-enabled
    and made customizable. Without the patch booting on ARM 32bit with GRUB
    prior to version 2.04 or with a cache which is not managed via CP15
    fails.

    Further work will be needed to achieve a UEFI compliant cache handling.
    According to the UEFI spec all caches except those that cannot be
    managed via CP15 should be enabled.

    An implementation of the ConvertPointer() runtime service is provided.

    efi_crt0 is always rebuild to avoid having to call 'make mrproper' when
    switching architectures.

    Tom Rini
     

02 Aug, 2019

4 commits


31 Jul, 2019

2 commits


30 Jul, 2019

2 commits


29 Jul, 2019

1 commit