24 Jan, 2018
1 commit
-
Change all coldfire arch files to use CONFIG_DISPLAY_CPUINFO.
Signed-off-by: Angelo Dureghello
Reviewed-by: Tom Rini
---
Changes for v2:
- update common/Kconfig to add M68K to the default y list
18 Aug, 2017
2 commits
-
On some boards, CONFIG_SYS_CS0_BASE can be undefined, since
CS0 is not connected to any signal.Signed-off-by: Angelo Dureghello
-
For certain boot types and sbf, for V4 cpu's, an early ddr/sdram init
is required. This patch moves this ddr/sdram early initalization
away from start.S (to be board related).Signed-off-by: Angelo Dureghello
16 Jan, 2017
1 commit
-
Dropped becuase
- driver not used any board.
- no dm conversion.Cc: Angelo Dureghello
Cc: Richard Retanubun
Signed-off-by: Jagan Teki
Acked-by: Angelo Dureghello
20 Sep, 2016
1 commit
-
Move the config IDENT_STRING to Kconfig and migrate all boards
[sivadur: Migrate zynq boards]
Signed-off-by: Siva Durga Prasad Paladugu
[trini: Update configs, add some default to sunxi Kconfig]
Signed-off-by: Tom Rini
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 41Signed-off-by: Angelo Dureghello
17 May, 2016
1 commit
-
To use serial uclass and DM, CONFIG_SYS_MALLOC_F must be used.
So CONFIG_SYS_GENERIC_GLOBAL_DATA has been undefined and
call to board_init_f_mem() is added for all cpu's.Signed-off-by: Angelo Dureghello
Acked-by: Simon Glass
19 Apr, 2016
1 commit
-
fix 19/48 broken board compilations, due to a now too smal 16-bit
relative jumpSigned-off-by: Angelo Dureghello
Acked-by: Marek Vasut
Acked-by: Heiko Schocher
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.hReplace the references with CONFIG_SYS_TEXT_BASE and delete
board/freescale/m54418twr/config.mk.Signed-off-by: Masahiro Yamada
Acked-by: Angelo Dureghello
24 Apr, 2015
1 commit
-
Add architecture-specific u-boot.lds and remove all board-specific
u-boot.lds.All the .text customization that was board-specific have been
moved inside the related include/configs, inside a
LDS_BOARD_TEXT define.Signed-off-by: Angelo Dureghello
28 Mar, 2015
8 commits
-
Collect CPU specific flags into the single place.
Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
Move the CPU type config options from include/configs/*.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf547x_8x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
Move the CPU type config options from include/configs/M5235EVB.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf523x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
Move the CPU type config options from include/configs/M52277EVB.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf5227x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
This commit intends to stop grepping CPU type in
arch/m68k/cpu/mcf5445x/config.mk.Move the CPU type config options from include/configs/*.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf5445x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
This commit intends to stop grepping CPU type in
arch/m68k/cpu/mcf532x/config.mk.Move the CPU type config options from include/configs/*.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf532x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
This commit intends to stop grepping CPU type in
arch/m68k/cpu/mcf530x/config.mk.Move the CPU type config options from include/configs/amcore.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf530x/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello -
This commit intends to stop grepping CPU type in
arch/m68k/cpu/mcf52x2/config.mk.Move the CPU type config options from include/configs/*.h
to arch/m68k/Kconfig and refactor the CPU flags select in
arch/m68k/cpu/mcf52x2/config.mk.Signed-off-by: Masahiro Yamada
Cc: Alison Wang
Cc: Angelo Dureghello
06 Mar, 2015
1 commit
-
Add Freescale MCF5307 cpu support.
Signed-off-by: Angelo Dureghello
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
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 -
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
19 Jun, 2014
1 commit
-
Signed-off-by: Masahiro Yamada
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
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
-
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
04 Mar, 2014
1 commit
-
All arch/m68k/cpu/*/config.mk define the same flags
PLAGFORM_REFLFLAGS += -ffixed-d7 -msep-data
Move it to arch/m68k/config.mkSigned-off-by: Masahiro Yamada
Cc: Jason Jin
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 objWe 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
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
Cc: Jason Jin
15 Oct, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
24 Jul, 2013
2 commits
-
The sandburst-specific i2c drivers have been deleted, conflict was just
over the SPDX conversion.Conflicts:
board/sandburst/common/ppc440gx_i2c.c
board/sandburst/common/ppc440gx_i2c.hSigned-off-by: Tom Rini
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
23 Jul, 2013
1 commit
-
- added to fsl_i2c driver new multibus/multiadpater support
- adapted all config files, which uses this driverSigned-off-by: Heiko Schocher
Cc: Simon Glass
Cc: Stephen Warren
27 Jun, 2013
1 commit
-
Update inp_clk, vco_clk and flb_clk for mcf5441x as those
items were moved to arch_global_data.Signed-off-by: Jason Jin
04 Feb, 2013
2 commits
-
Move inp_clk, vco_clk and flb_clk into arch_global_data and tidy up.
Signed-off-by: Simon Glass
-
Move these fields into arch_global_data and tidy up. This is needed for
both ppc and m68k since they share the i2c driver.Signed-off-by: Simon Glass
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 -
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
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 -
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