13 Nov, 2014
1 commit
-
Now each board selects one of CONFIG_CPU_SH2, CONFIG_CPU_SH3,
CONFIG_CPU_SH4, so let's move CONFIG_SYS_CPU definition to
arch/sh/Kconfig.Signed-off-by: Masahiro Yamada
Cc: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
14 Sep, 2014
1 commit
-
Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
are specified in arch/Kconfig.We can delete the ones in arch and board Kconfig files.
This commit can be easily reproduced by the following command:
find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
/config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
N
s/\n[[:space:]]*string//
}
'Signed-off-by: Masahiro Yamada
30 Jul, 2014
2 commits
-
We have switched to Kconfig and the boards.cfg file is going to
be removed. We have to retrieve the board status and maintainers
information from it.The MAINTAINERS format as in Linux Kernel would be nice
because we can crib the scripts/get_maintainer.pl script.After some discussion, we chose to put a MAINTAINERS file under each
board directory, not the top-level one because we want to collect
relevant information for a board into a single place.TODO:
Modify get_maintainer.pl to scan multiple MAINTAINERS files.Signed-off-by: Masahiro Yamada
Suggested-by: Tom Rini
Acked-by: Simon Glass -
This commit adds:
- arch/${ARCH}/Kconfig
provide a menu to select target boards
- board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
set CONFIG macros to the appropriate values for each board
- configs/${TARGET_BOARD}_defconfig
default setting of each board(This commit was automatically generated by a conversion script
based on boards.cfg)In Linux Kernel, defconfig files are located under
arch/${ARCH}/configs/ directory.
It works in Linux Kernel since ARCH is always given from the
command line for cross compile.But in U-Boot, ARCH is not given from the command line.
Which means we cannot know ARCH until the board configuration is done.
That is why all the "*_defconfig" files should be gathered into a
single directory ./configs/.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
Cc: Nobuhiro Iwamatsu
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
16 Oct, 2011
1 commit
-
The top level Makefile does not do any recursion into subdirs when
cleaning, so these clean/distclean targets in random arch/board dirs
never get used. Punt them all.MAKEALL didn't report any errors related to this that I could see.
Signed-off-by: Mike Frysinger
02 Feb, 2011
1 commit
-
Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the
unnecessary config.mk file.Signed-off-by: Nobuhiro Iwamatsu
21 Dec, 2010
1 commit
-
It can be optimised out by the compiler otherwise resulting
in obscure errors like a board not booting.This has been documented in README since 2006 when these were
first fixed up for GCC 4.x.Signed-off-by: John Rigby
Fix some additional places.
Signed-off-by: Wolfgang Denk
Acked-By: Albert ARIBAUD
18 Nov, 2010
1 commit
-
Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils. As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.The name of each former library archive is preserved except for
extensions which change from ".a" to ".o". This commit updates
references accordingly where needed, in particular in some linker
scripts.This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols. Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.Signed-off-by: Sebastien Carlier
19 Oct, 2010
1 commit
-
The change is currently needed to be able to remove the board
configuration scripting from the top level Makefile and replace it by
a simple, table driven script.Moving this configuration setting into the "CONFIG_*" name space is
also desirable because it is needed if we ever should move forward to
a Kconfig driven configuration system.Signed-off-by: Wolfgang Denk
30 Aug, 2010
1 commit
-
Fix data size.
Signed-off-by: Nobuhiro Iwamatsu
08 Jul, 2009
2 commits
-
all sh boards use the same cpu linker script so move it to cpu/$(CPU)
that could be overwrite in following order
SOC
BOARD
via the corresponding config.mktested on r2dplus
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Cc: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
currently we need to sync the linker script enty and TEXT_BASE manualy
and the reloc_dst is based on itinstead provide it now from the ldflags
tested on r2dplus
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Cc: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
21 Mar, 2009
1 commit
-
A recent gcc added a new unaligned rodata section called '.rodata.str1.1',
which needs to be added the the linker script. Instead of just adding this
one section, we use a wildcard ".rodata*" to get all rodata linker section
gcc has now and might add in the future.However, '*(.rodata*)' by itself will result in sub-optimal section
ordering. The sections will be sorted by object file, which causes extra
padding between the unaligned rodata.str.1.1 of one object file and the
aligned rodata of the next object file. This is easy to fix by using the
SORT_BY_ALIGNMENT command.This patch has not be tested one most of the boards modified. Some boards
have a linker script that looks something like this:*(.text)
. = ALIGN(16);
*(.rodata)
*(.rodata.str1.4)
*(.eh_frame)I change this to:
*(.text)
. = ALIGN(16);
*(.eh_frame)
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))This means the start of rodata will no longer be 16 bytes aligned.
However, the boundary between text and rodata/eh_frame is still aligned to
16 bytes, which is what I think the real purpose of the ALIGN call is.Signed-off-by: Trent Piepho
12 Mar, 2009
1 commit
-
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
19 Oct, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
11 Sep, 2008
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
08 Jul, 2008
1 commit
-
By Cleanup out-or-tree building for some boards (.depend)
(commit:c8a3b109f07f02342d097b30908965f7261d9f15)
because filse ware changed, some SH-boards have compile error.
I revised this problem.Signed-off-by: Nobuhiro Iwamatsu
07 Jul, 2008
1 commit
-
Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu
03 Jul, 2008
3 commits
-
Signed-off-by: Wolfgang Denk
-
Signed-off-by: Wolfgang Denk
-
Signed-off-by: Wolfgang Denk
15 Jan, 2008
2 commits
-
Signed-off-by: Nobuhiro Iwamatsu
-
Signed-off-by: Yoshihiro Shimoda
CC: Nobuhiro Iwamatsu
Acked-by: Nobuhiro Iwamatsu