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
26 Aug, 2014
1 commit
-
The basic idea: Define size_t using the __SIZE_TYPE__ compiler-defined
type.For detailed explanation see similar patch for the nios2 arch:
http://patchwork.ozlabs.org/patch/379938/Signed-off-by: Vasili Galka
Cc: Alexey Brodkin
31 Jul, 2014
1 commit
-
CONFIG_${ARCH} is defined by Kconfig.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
30 Jul, 2014
1 commit
-
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
03 Jun, 2014
1 commit
-
This enables relocation of initrd to the end of available DDR before Linux
kernel start-up as it is done in other architectures.Signed-off-by: Alexey Brodkin
13 May, 2014
1 commit
-
Some platforms (tested on mpc85xx, mpc86xx) use global data before calling
function baord_inti_f(). The data should not be cleared later. Any arch
which uses global data in generic board board_init_f() should define
CONFIG_SYS_GENERIC_GLOBAL_DATA.Signed-off-by: York Sun
CC: Scott Wood
CC: Simon Glass
CC: Albert ARIBAUD
Acked-by: Simon Glass
13 Mar, 2014
1 commit
-
$(SRCTREE)/$(CPUDIR)/u-boot.lds is our default location
of arch-specific linker script.Remove redundant definitions in
arch/{arc,microblaze,openrisc}/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alexey Brodkin
Cc: Stefan Kristiansson
Acked-by: Michal Simek
05 Mar, 2014
1 commit
-
The syntax
CROSS_COMIPLE ?=
does not work because config.mk is parsed after
exporting CROSS_COMPILE.Like Linux Kernel's arch/$(ARCH)/Makefile,
we must write as follows:ifeq ($(CROSS_COMPILE),)
CROSS_COMPILE :=
endifSigned-off-by: Masahiro Yamada
21 Feb, 2014
1 commit
-
In case of little-endian ARC700 instructions (which may include target
address) are encoded as middle-endian. That's why it's required to swap
bytes after read and ten right before write back.But in case of big-endian ARC700 instructions are encoded as a plain
big-endian. Thus no need for byte swapping.Signed-off-by: Alexey Brodkin
Cc: Francois Bedard
Cc: Tom Rini
cc: Noam Camus
20 Feb, 2014
1 commit
-
This file was only required for compilation of designware_i2c driver.
Since explicit inclusion of "hardware.h" is now removed from the driver
we may safely remove this empty header as well.Signed-off-by: Alexey Brodkin
Cc: Tom Rini
Cc: Heiko Schocher
Cc: Stefan Roese
Cc: Vipin Kumar
Cc: Armando Visconti
07 Feb, 2014
3 commits
-
These are library functions used by ARC700 architecture.
Signed-off-by: Alexey Brodkin
Cc: Vineet Gupta
Cc: Francois Bedard
Cc: Wolfgang Denk
Cc: Heiko Schocher -
Signed-off-by: Alexey Brodkin
Cc: Vineet Gupta
Cc: Francois Bedard
Cc: Wolfgang Denk
Cc: Heiko Schocher -
These are header files used by ARC700 architecture.
Also note that "arch-arc700/hardware.h" is only required for compilation of
"designware_i2c" driver which refers to "asm/arch/hardware.h".
It would be good to fix mentioned driver sometime soon but it will cause
changes in ARM board configs that use "designware_i2c".Signed-off-by: Alexey Brodkin
Cc: Vineet Gupta
Cc: Francois Bedard
Cc: Wolfgang Denk
Cc: Heiko Schocher