22 Feb, 2014

1 commit


20 Feb, 2014

3 commits


20 Jan, 2014

2 commits

  • The spl directory is ignored by git as these objects are created
    during spl creation. The only file not created is the Makefile.

    This file can be modified and checked in via git.

    Due to the order of rule precedence having the whole directory
    ignored first then indicating not to ignore the Makefile is not correct
    the message to force adding the Makefile is still shown.

    So reorder the .gitignore for the Makefile and indicate that the Makefile
    does not need to be ignored first and then indicate everything else in spl
    should be ignored after wards.

    Signed-off-by: Dan Murphy

    Dan Murphy
     
  • Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

16 Dec, 2013

1 commit


13 Dec, 2013

1 commit


15 Oct, 2013

1 commit


19 Aug, 2013

1 commit


03 Aug, 2013

1 commit

  • The invocation of dtc is significantly more complex that it could be,
    in order to work around an issue on old versions of dtc, which print
    a message to stdout every time they run.

    Remove this workaround, on the assumption that people have or will
    upgrade to a newer version of dtc. This simplifies the build rule
    significantly.

    Related, split the invocation of cpp and dtc into separate commands
    rather than a pipeline, so that if either fail, it is detected. This has
    the nice benefit of saving off the result of the pre-processing step,
    allowing it to be easily inspected.

    Assuming a new enough dtc (which an earlier patch enforces), dtc will
    parse #line directives in its input file, and generate correct file and
    line numbers in error messages, even though cpp is unconditionally
    applied to its input file.

    Signed-off-by: Stephen Warren
    Acked-by: Simon Glass

    Stephen Warren
     

30 Jul, 2013

1 commit


30 May, 2013

1 commit


18 May, 2013

1 commit


06 May, 2013

1 commit

  • The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise
    they have issues with out-of-tree build where elftosb tool couldn't sometimes
    find the u-boot.bin and spl/u-boot-spl.bin .

    Preprocess these .bd files with sed and insert full path to u-boot.bin and
    spl/u-boot-spl.bin to prevent this issue. Moreover, to avoid adding more
    churn into main Makefile, move all this preprocessing and u-boot.sb generation
    into CPU directory instead.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Stefano Babic
    Acked-by: Otavio Salvador

    Marek Vasut
     

12 Apr, 2013

3 commits


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 Jan, 2013

1 commit

  • The '#' used as comments in the files cause the preprocessor
    trouble, so change to /* */.

    The mkimage command which uses this preprocessor output
    was moved to arch/arm/imx-common/Makefile

    .gitignore was updated to ignore .cfgtmp files.

    Signed-off-by: Troy Kisky

    Troy Kisky
     

07 Dec, 2012

1 commit


22 Oct, 2012

1 commit

  • This patch adds essential components for generation of the contents of
    the linker section that is used by the linker-generated array. All of
    the contents is held in a separate file, u-boot.lst, which is generated
    at runtime just before U-Boot is linked.

    The purpose of this code is to especially generate the appropriate
    boundary symbols around each subsection in the section carrying the
    linker-generated arrays. Obviously, the interim linker code for actual
    placement of the variables into the section is generated too. The
    generated file, u-boot.lst, is included into u-boot.lds via the linker
    INCLUDE directive in u-boot.lds .

    Adjustments are made in the Makefile and spl/Makefile so that the
    u-boot.lds and u-boot-spl.lds depend on their respective .lst files.

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

    Marek Vasut
     

19 Sep, 2012

1 commit


01 Sep, 2012

1 commit


10 Aug, 2012

1 commit


27 Mar, 2012

1 commit


24 Dec, 2011

1 commit


11 Nov, 2011

1 commit


27 Oct, 2011

1 commit


18 Oct, 2011

1 commit

  • The dependency rules are currently done in a shell 'for' loop. This does not
    permit Makefile variables to adjust preprocessor flags as is done with normal
    compile flags, using the CFLAGS_path/file.o syntax.

    This change moves the dependency generation into the Makefile itself, and
    permits a CPPFLAGS_path/file.o to adjust preprocessor flags on a file or
    directory basis.

    The CPPFLAGS_... variable is also folded into CFLAGS during the build.

    Signed-off-by: Simon Glass

    Simon Glass
     

07 Oct, 2011

1 commit


01 Oct, 2011

1 commit


22 Sep, 2011

1 commit

  • Recent commit a4814a69d3bca6ee05f4bfc4 cleaned up generation of
    asm-offsets.s for SoC dirs, but missed adding it to the ignore
    list which makes it show up in `git status`.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

28 Jul, 2011

1 commit


23 May, 2011

1 commit


18 Jan, 2011

1 commit


27 Oct, 2010

1 commit

  • A recurrent issue is that certain C level constructs like sizeof() or
    offsetof() cannot be used in assembler files, which is inconvenient
    when such constructs are used in the definition of macro names etc.

    To avoid duplication of such definitions (and thus another cause of
    problems), we adapt the Linux way to automatically generate the
    respective definitions from the respective C header files.

    In Linux, this is implemented in include/linux/kbuild.h, Kbuild, and
    arch/*/kernel/asm-offsets.c; we adapt the code from the Linux v2.6.36
    kernel tree.

    We also copy the concept of the include/generated/ directory which can
    be used to hold other automatically generated files as well.

    We start with an architecture-independent lib/asm-offsets.c which
    generates include/generated/generic-asm-offsets.h (included by
    include/asm-offsets.h, which is what will be referred to in the actual
    source code). Later this may be extended by architecture-specific
    arch/*/lib/asm-offsets.c files that will generate a
    include/generated/asm-offsets.h.

    Signed-off-by: Wolfgang Denk
    Acked-by: Kumar Gala

    Wolfgang Denk
     

24 Aug, 2009

1 commit


21 Jul, 2009

1 commit


06 Dec, 2008

1 commit