24 Jan, 2018

1 commit


18 Aug, 2017

2 commits


16 Jan, 2017

1 commit


20 Sep, 2016

1 commit


31 Jul, 2016

1 commit

  • This patch is style-related only, to reformat all the start.S code,
    actually not following a coherent style inside single files and
    between different cpu start.S files.

    Linux format has been respected, as
    - max line width at 80 columns
    - one 8 cols tab between asm instructions and operands
    - inline comments, where any, fixed at col 41

    Signed-off-by: Angelo Dureghello

    Angelo Dureghello
     

17 May, 2016

1 commit


19 Apr, 2016

1 commit


20 Jan, 2016

1 commit

  • The board/freescale/m54418twr/config.mk defined TEXT_BASE, which has
    the same value as CONFIG_SYS_TEXT_BASE. The TEXT_BASE is referenced
    by two files:
    - arch/m68k/cpu/mcf5445x/start.S and include/
    - include/configs/M54418TWR.h

    Replace the references with CONFIG_SYS_TEXT_BASE and delete
    board/freescale/m54418twr/config.mk.

    Signed-off-by: Masahiro Yamada
    Acked-by: Angelo Dureghello

    Masahiro Yamada
     

24 Apr, 2015

1 commit


28 Mar, 2015

8 commits


06 Mar, 2015

1 commit


30 Jul, 2014

1 commit

  • This commit enables Kconfig.
    Going forward, we use Kconfig for the board configuration.
    mkconfig will never be used. Nor will include/config.mk be generated.

    Kconfig must be adjusted for U-Boot because our situation is
    a little more complicated than Linux Kernel.
    We have to generate multiple boot images (Normal, SPL, TPL)
    from one source tree.
    Each image needs its own configuration input.

    Usage:

    Run "make _defconfig" to do the board configuration.

    It will create the .config file and additionally spl/.config, tpl/.config
    if SPL, TPL is enabled, respectively.

    You can use "make config", "make menuconfig" etc. to create
    a new .config or modify the existing one.

    Use "make spl/config", "make spl/menuconfig" etc. for spl/.config
    and do likewise for tpl/.config file.

    The generic syntax of configuration targets for SPL, TPL is:

    /

    Here, is either 'spl' or 'tpl'
    is 'config', 'menuconfig', 'xconfig', etc.

    When the configuration is done, run "make".
    (Or "make _defconfig all" will do the configuration and build
    in one time.)

    For futher information of how Kconfig works in U-Boot,
    please read the comment block of scripts/multiconfig.py.

    By the way, there is another item worth remarking here:
    coexistence of Kconfig and board herder files.

    Prior to Kconfig, we used C headers to define a set of configs.

    We expect a very long term to migrate from C headers to Kconfig.
    Two different infractructure must coexist in the interim.

    In our former configuration scheme, include/autoconf.mk was generated
    for use in makefiles.
    It is still generated under include/, spl/include/, tpl/include/ directory
    for the Normal, SPL, TPL image, respectively.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     

08 Jul, 2014

2 commits

  • The csarX and cscrX registers in the fbcs_t struct are 16-bit for
    CONFIG_M5235 and 32-bit wide otherwise. The code in cpu_init.c
    accessed them always as 32-bit, effectively creating a wrong memory
    access on M5235. Fixed that by choosing out_be16/out_be32 depending
    on whether CONFIG_M5235 is defined or not.

    Cc: Jason Jin
    Signed-off-by: Vasili Galka

    Vasili Galka
     
  • in_be16() shall be passed a pointer to register and not its value. This
    is clearly a typo resulting in a wrong memory access, so fix it.

    Cc: Alison Wang , Jason Jin
    Signed-off-by: Vasili Galka

    Vasili Galka
     

19 Jun, 2014

1 commit


12 Jun, 2014

1 commit

  • Most of the warnings seem to be related to using 'int' for size_t. Change
    this and fix up the remaining warnings and problems. For bootm, the warning
    was masked by others, and there is an actual bug in the code.

    Signed-off-by: Simon Glass

    Simon Glass
     

13 Mar, 2014

2 commits

  • Prior to Kbuild, $(OBJTREE) was used for pointing to the
    top of build directory with absolute path.

    In Kbuild style, $(objtree) is used instead.
    This commit renames OBJTREE to objtree and delete the
    defition of OBJTREE.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Prior to Kbuild, $(TOPDIR) or $(SRCTREE) was used for
    pointing to the top of source directory.
    (No difference between the two.)

    In Kbuild style, $(srctree) is used instead.
    This commit renames TOPDIR to srctree and delete the
    defition of TOPDIR.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

04 Mar, 2014

1 commit


20 Feb, 2014

1 commit

  • Now we are ready to switch over to real Kbuild.

    This commit disables temporary scripts:
    scripts/{Makefile.build.tmp, Makefile.host.tmp}
    and enables real Kbuild scripts:
    scripts/{Makefile.build,Makefile.host,Makefile.lib}.

    This switch is triggered by the line in scripts/Kbuild.include
    -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
    +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj

    We need to adjust some build scripts for U-Boot.
    But smaller amount of modification is preferable.

    Additionally, we need to fix compiler flags which are
    locally added or removed.

    In Kbuild, it is not allowed to change CFLAGS locally.
    Instead, ccflags-y, asflags-y, cppflags-y,
    CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
    are prepared for that purpose.

    Signed-off-by: Masahiro Yamada
    Tested-by: Gerhard Sittig

    Masahiro Yamada
     

01 Nov, 2013

1 commit


15 Oct, 2013

1 commit


24 Jul, 2013

2 commits


23 Jul, 2013

1 commit


27 Jun, 2013

1 commit


04 Feb, 2013

2 commits


24 Oct, 2012

2 commits

  • Add MCF5441x CPU support.

    The MCF5441x devices are a family of highly-integrated 32-bit
    microprocessors based on the Version 4m ColdFire microarchitecture,
    comprising of the V4 integer core, memory management unit(MMU) and
    enchanced multiply-accumulate unit(EMAC).

    Signed-off-by: TsiChung Liew
    Signed-off-by: Jason Jin
    Signed-off-by: Alison Wang

    Alison Wang
     
  • Fix the following build warnings in cpu_init.c:

    cpu_init.c: In function 'cpu_init_f':
    cpu_init.c:47:9: warning: unused variable 'pll'
    cpu_init.c:46:10: warning: unused variable 'fbcs'
    cpu_init.c:44:10: warning: unused variable 'scm1'

    Signed-off-by: Alison Wang

    Alison Wang
     

19 Oct, 2012

2 commits

  • The following warning was produced, fix it:

    speed.c: In function 'get_clocks':
    speed.c:94:15: warning: variable 'bPci' set but not used [-Wunused-but-set-variable]

    Signed-off-by: Marek Vasut
    Cc: "Jin Zhengxiong-R64188"
    Cc: Jason Jin

    Marek Vasut
     
  • The fbcs variable was unused, producing the following warning:

    cpu_init.c: In function 'cpu_init_f':
    cpu_init.c:52:10: warning: unused variable 'fbcs' [-Wunused-variable]

    Signed-off-by: Marek Vasut
    Cc: "Jin Zhengxiong-R64188"
    Cc: Jason Jin

    Marek Vasut