16 Aug, 2017

2 commits

  • We are now using an env_ prefix for environment functions. Rename these
    two functions for consistency. Also add function comments in common.h.

    Quite a few places use getenv() in a condition context, provoking a
    warning from checkpatch. These are fixed up in this patch also.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     
  • We are now using an env_ prefix for environment functions. Rename setenv()
    for consistency. Also add function comments in common.h.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     

11 Oct, 2016

1 commit


15 Sep, 2016

1 commit


21 Oct, 2015

1 commit

  • common/dlmalloc.c is quite big, both in .text and .data usage, therefor
    on some boards the SPL is build to use only malloc_simple.c and not the
    dlmalloc.c code. This is done in various include/configs/foo.h with the
    following construct:

    #ifdef CONFIG_SPL_BUILD
    #define CONFIG_SYS_MALLOC_SIMPLE
    #endif

    This commit introduces a SPL_MALLOC_SIMPLE Kconfig bool which allows
    selecting this functionality through Kconfig instead.

    Signed-off-by: Hans de Goede
    Acked-by: Simon Glass

    Hans de Goede
     

21 Jul, 2015

1 commit


05 Mar, 2015

1 commit


30 Jan, 2015

1 commit

  • this is an atempt to make the export of functions typesafe.
    I replaced the jumptable void ** by a struct (jt_funcs) with function pointers.
    The EXPORT_FUNC macro now has 3 fixed parameters and one
    variadic parameter
    The first is the name of the exported function,
    the rest of the parameters are used to format a functionpointer
    in the jumptable,

    the EXPORT_FUNC macros are expanded three times,
    1. to declare the members of the struct
    2. to initialize the structmember pointers
    3. to call the functions in stubs.c

    Signed-off-by: Martin Dorwig
    Acked-by: Simon Glass

    Signed-off-by: Simon Glass
    (resending to the list since my tweaks are not quite trivial)

    Martin Dorwig
     

13 May, 2011

1 commit

  • as checkpatch proposes to use strict_strtoul instead of
    simple_strtoul, introduce it.

    Ported this function from Linux 2.6.38 commit ID:
    521cb40b0c44418a4fd36dc633f575813d59a43d

    Signed-off-by: Heiko Schocher
    cc: Wolfgang Denk
    cc: Detlev Zundel
    cc: Valentin Longchamp
    cc: Holger Brunck
    Signed-off-by: Valentin Longchamp

    Heiko Schocher
     

20 Sep, 2010

1 commit

  • This (undocumented) concept was only in use for the MVSMR and
    davinci_schmoogie Sergey Kubushyn boards.
    Drop it for now. If really needed, it should be reimplemented
    later in the context of the new environment command set.

    Signed-off-by: Wolfgang Denk
    Cc: Andre Schwarz
    Cc: Sergey Kubushyn
    Acked-by: Sergey Kubushyn

    Wolfgang Denk
     

10 Aug, 2009

1 commit


11 Aug, 2007

1 commit

  • Add support for the following DaVinci boards:
    - DV_EVM
    - SCHMOOGIE
    - SONATA

    Changes:

    - Split into separate board directories
    - Removed changes to MTD_DEBUG (or whatever it's called)
    - New CONFIG_CMD party line followed
    - Some cosmetic fixes, cleanup etc.
    - Patches against the latest U-Boot tree as of now.
    - Fixed CONFIG_CMD_NET in net files.
    - Fixed CONFIG_CMD_EEPROM for schmoogie.
    - Made sure it compiles and works (forceenv() link problem) on SCHMOOGIE and
    DV_EVM. Can't check if it works on SONATA, don't have a board any more,
    but it at least compiles.

    Here is an excerpt from session log on SCHMOOGIE...

    U-Boot 1.2.0-g6c33c785-dirty (Aug 7 2007 - 13:07:17)

    DRAM: 128 MB
    NAND: 128 MiB
    In: serial
    Out: serial
    Err: serial
    ARM Clock : 297MHz
    DDR Clock : 162MHz
    ETH PHY : DP83848 @ 0x01
    U-Boot > iprobe
    Valid chip addresses: 1B 38 3A 3D 3F 50 5D 6F
    U-Boot > ping 192.168.253.10
    host 192.168.253.10 is alive
    U-Boot >

    Signed-off-by: Sergey Kubushyn
    Acked-by: Dirk Behme
    Acked-by: Zach Sadecki
    Acked-by: Stefan Roese

    Sergey Kubushyn
     

06 Aug, 2007

1 commit


10 Jul, 2007

2 commits


04 Jul, 2007

1 commit


01 Sep, 2006

1 commit


12 Sep, 2003

2 commits


25 Jul, 2003

1 commit