24 Jul, 2018

1 commit

  • The Linux kernel moved to sphinx-based documentation and got rid of the
    DocBook based documentation quite a while ago. Hence, the DocBook
    documentation for U-Boot should be converted as well.

    To achieve this, import the necessary files from Linux v4.17, and
    convert the current DocBook documentation (three files altogether) to
    sphinx/reStructuredText.

    For now, all old DocBook documentation was merged into a single
    handbook, tentatively named "U-Boot Hacker Manual".

    For some source files, the documentation style was changed to comply
    with kernel-doc; no functional changes were applied.

    Signed-off-by: Mario Six

    Mario Six
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

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