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 -
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
11 Oct, 2016
1 commit
-
We don't have a way of adjusting these at present so it is best to refuse to
export these functions. This can be implemented later if the API is required.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
15 Sep, 2016
1 commit
-
The 'commit 95279315076c ("board/ls2085rdb: Export functions for
standalone AQ FW load apps")' mentioned memset was exported but
it was not, this patch exports the memset.Signed-off-by: Shaohui Xie
Signed-off-by: Gong Qianyu
Reviewed-by: York Sun
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
#endifThis 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
21 Jul, 2015
1 commit
-
Export functions required by Aquntia PHY firmware load application.
functions are memset, strcpy, mdelay, mdio_get_current_dev,
phy_find_by_mask, mdio_phydev_for_ethname and miiphy_set_current_devSigned-off-by: Prabhakar Kushwaha
Reviewed-by: York Sun
05 Mar, 2015
1 commit
-
When CONFIG_SYS_MALLOC_SIMPLE is defined, free() is a static inline. Make
sure that the export interface still builds in this case.Signed-off-by: Simon Glass
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.cSigned-off-by: Martin Dorwig
Acked-by: Simon GlassSigned-off-by: Simon Glass
(resending to the list since my tweaks are not quite trivial)
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:
521cb40b0c44418a4fd36dc633f575813d59a43dSigned-off-by: Heiko Schocher
cc: Wolfgang Denk
cc: Detlev Zundel
cc: Valentin Longchamp
cc: Holger Brunck
Signed-off-by: Valentin Longchamp
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
10 Aug, 2009
1 commit
-
While we're here, fix the broken #ifdef handling in _exports.h.
Signed-off-by: Mike Frysinger
11 Aug, 2007
1 commit
-
Add support for the following DaVinci boards:
- DV_EVM
- SCHMOOGIE
- SONATAChanges:
- 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
06 Aug, 2007
1 commit
-
Additionally export the following fuctions (to make trab_config build again):
- simple_strtol()
- strcmp()Also bump the ABI version to reflect this change
Signed-off-by: Martin Krause
10 Jul, 2007
2 commits
-
Signed-off-by: Jon Loeliger
-
Mostly removed from comments here.
Signed-off-by: Jon Loeliger
04 Jul, 2007
1 commit
-
This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.All transformations are of the form:
Before:
#if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
#if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)Signed-off-by: Jon Loeliger
01 Sep, 2006
1 commit
-
Also bumped up ABI version to reflect this change.
12 Sep, 2003
2 commits
-
add burn-in tests for TRAB board
* Enable instruction cache on MPC5200 board
25 Jul, 2003
1 commit
-
applications: instead of using (PPC-specific) system calls we now
use a jump table; please see doc/README.standalone for details* Patch by Dave Westwood, 24 Jul 2003:
added support for Unity OS (a proprietary OS)