07 Sep, 2017

1 commit


29 Jul, 2015

1 commit


19 Apr, 2015

1 commit

  • Once declared, you cannot access a linker_list entry since you do not have
    a symbol name for it. Add llsym() macro to provide this. This avoids
    searching for the symbol at run-time based on name.

    An example usage is to declare a driver with U_BOOT_DRIVER(), then obtain
    a pointer to that driver later.

    Signed-off-by: Simon Glass
    Reviewed-by: Marek Vasut

    Simon Glass
     

30 Jan, 2015

1 commit


23 Oct, 2014

2 commits


25 Sep, 2014

1 commit


05 May, 2014

1 commit


20 Feb, 2014

1 commit

  • - Delete fs.xml from DOCBOOKS to fix an error.
    Commit e3ff797c added fs.xml to DOCBOOKS
    but missed to add doc/DocBook/fs.tmpl.
    - Fix the location of include guard in include/linker_lists.h.

    Signed-off-by: Masahiro Yamada
    Reported-by: Abraham Varricatt
    Acked-by: Simon Glass

    Masahiro Yamada
     

24 Jul, 2013

1 commit


13 Mar, 2013

1 commit

  • Refactor linker-generated array code so that symbols
    which were previously linker-generated are now compiler-
    generated. This causes relocation records of type
    R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
    code which uses LGA able to run before relocation as
    well as after.

    Note: this affects more than ARM targets, as linker-
    lists span possibly all target architectures, notably
    PowerPC.

    Conflicts:
    arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
    arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
    arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
    board/ait/cam_enc_4xx/u-boot-spl.lds
    board/davinci/da8xxevm/u-boot-spl-da850evm.lds
    board/davinci/da8xxevm/u-boot-spl-hawk.lds
    board/vpac270/u-boot-spl.lds

    Signed-off-by: Albert ARIBAUD

    Albert ARIBAUD
     

22 Oct, 2012

1 commit

  • This patch adds support for linker-generated array. These arrays
    are a generalization of the U-Boot command declaration approach.

    Basically, the idea is to generate an array, where elements of the
    array are statically initialized at compile time and each element
    is declared separatelly at different place. Such array is assembled
    together into continuous piece of memory by linker and a pointer to
    it's first entry can then be retrieved via accessor.

    The actual implementation relies on placing any variable that is to
    represent an element of LG-array into particular subsection of the
    .u_boot_list linker section . The subsection is determined by user
    options. Once compiled, it is possible to dump all symbols placed
    in .u_boot_list section and the subsections in which they should be
    and generate appropriate bounds for each requested subsection of the
    .u_boot_list section. Each such subsection thus contains __start and
    __end entries at the begining and end respecitively.

    This allows for simple run-time traversing of the array, since the
    symbols are properly defined.

    Signed-off-by: Marek Vasut
    Cc: Joe Hershberger
    Cc: Mike Frysinger

    Marek Vasut