m68k: mcf5445x: allow CS0 to be undefinedOn some boards, CONFIG_SYS_CS0_BASE can be undefined, sinceCS0 is not connected to any signal.Signed-off-by: Angelo Dureghello <angelo@sysam.it>
m68k: mcf5445x: move early ddr init as board-specificFor certain boot types and sbf, for V4 cpu's, an early ddr/sdram initis required. This patch moves this ddr/sdram early initalizationaway from
m68k: mcf5445x: move early ddr init as board-specificFor certain boot types and sbf, for V4 cpu's, an early ddr/sdram initis required. This patch moves this ddr/sdram early initalizationaway from start.S (to be board related).Signed-off-by: Angelo Dureghello <angelo@sysam.it>
show more ...
Kconfig: Move config IDENT_STRING to KconfigMove the config IDENT_STRING to Kconfig and migrate all boards[sivadur: Migrate zynq boards]Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.
Kconfig: Move config IDENT_STRING to KconfigMove the config IDENT_STRING to Kconfig and migrate all boards[sivadur: Migrate zynq boards]Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>[trini: Update configs, add some default to sunxi Kconfig]Signed-off-by: Tom Rini <trini@konsulko.com>
m68k: code reformatting for all start.S filesThis patch is style-related only, to reformat all the start.S code,actually not following a coherent style inside single files andbetween different cp
m68k: code reformatting for all start.S filesThis patch is style-related only, to reformat all the start.S code,actually not following a coherent style inside single files andbetween 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 <angelo@sysam.it>
m68k: add malloc memory for early mallocTo use serial uclass and DM, CONFIG_SYS_MALLOC_F must be used.So CONFIG_SYS_GENERIC_GLOBAL_DATA has been undefined andcall to board_init_f_mem() is added f
m68k: add malloc memory for early mallocTo use serial uclass and DM, CONFIG_SYS_MALLOC_F must be used.So CONFIG_SYS_GENERIC_GLOBAL_DATA has been undefined andcall to board_init_f_mem() is added for all cpu's.Signed-off-by: Angelo Dureghello <angelo@sysam.it>Acked-by: Simon Glass <sjg@chromium.org>
m68k: fix broken buildman m68kfix 19/48 broken board compilations, due to a now too smal 16-bitrelative jumpSigned-off-by: Angelo Dureghello <angelo@sysam.it>Acked-by: Marek Vasut <marex@denx.d
m68k: fix broken buildman m68kfix 19/48 broken board compilations, due to a now too smal 16-bitrelative jumpSigned-off-by: Angelo Dureghello <angelo@sysam.it>Acked-by: Marek Vasut <marex@denx.de>Acked-by: Heiko Schocher <hs@denx.de>
m68k: M54418TWR: drop board/freescale/m54418twr/config.mkThe board/freescale/m54418twr/config.mk defined TEXT_BASE, which hasthe same value as CONFIG_SYS_TEXT_BASE. The TEXT_BASE is referencedby
m68k: M54418TWR: drop board/freescale/m54418twr/config.mkThe board/freescale/m54418twr/config.mk defined TEXT_BASE, which hasthe same value as CONFIG_SYS_TEXT_BASE. The TEXT_BASE is referencedby two files: - arch/m68k/cpu/mcf5445x/start.S and include/ - include/configs/M54418TWR.hReplace the references with CONFIG_SYS_TEXT_BASE and deleteboard/freescale/m54418twr/config.mk.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Acked-by: Angelo Dureghello <angelo at sysam.it>
m68k: merge per-CPU config.mk into arch/m68k/MakefileCollect CPU specific flags into the single place.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Cc: Alison Wang <alison.wang@f
m68k: merge per-CPU config.mk into arch/m68k/MakefileCollect CPU specific flags into the single place.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Cc: Alison Wang <alison.wang@freescale.com>Cc: Angelo Dureghello <angelo@sysam.it>
m68k: mcf5445x: move CPU type to Kconfig and refactor config.mkThis commit intends to stop grepping CPU type inarch/m68k/cpu/mcf5445x/config.mk.Move the CPU type config options from include/conf
m68k: mcf5445x: move CPU type to Kconfig and refactor config.mkThis commit intends to stop grepping CPU type inarch/m68k/cpu/mcf5445x/config.mk.Move the CPU type config options from include/configs/*.hto arch/m68k/Kconfig and refactor the CPU flags select inarch/m68k/cpu/mcf5445x/config.mk.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Cc: Alison Wang <alison.wang@freescale.com>Cc: Angelo Dureghello <angelo@sysam.it>
kconfig: switch to KconfigThis 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
kconfig: switch to KconfigThis 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 isa 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 <board>_defconfig" to do the board configuration.It will create the .config file and additionally spl/.config, tpl/.configif SPL, TPL is enabled, respectively.You can use "make config", "make menuconfig" etc. to createa new .config or modify the existing one.Use "make spl/config", "make spl/menuconfig" etc. for spl/.configand do likewise for tpl/.config file.The generic syntax of configuration targets for SPL, TPL is: <target_image>/<config_command>Here, <target_image> is either 'spl' or 'tpl' <config_command> is 'config', 'menuconfig', 'xconfig', etc.When the configuration is done, run "make".(Or "make <board>_defconfig all" will do the configuration and buildin 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 generatedfor use in makefiles.It is still generated under include/, spl/include/, tpl/include/ directoryfor the Normal, SPL, TPL image, respectively.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>
m68k: Fix bug, "address of" operator was forgottenin_be16() shall be passed a pointer to register and not its value. Thisis clearly a typo resulting in a wrong memory access, so fix it.Cc: Aliso
m68k: Fix bug, "address of" operator was forgottenin_be16() shall be passed a pointer to register and not its value. Thisis clearly a typo resulting in a wrong memory access, so fix it.Cc: Alison Wang <b18965@freescale.com>, Jason Jin <Jason.jin@freescale.com>Signed-off-by: Vasili Galka <vvv444@gmail.com>
m68k: eliminate a warning in cpu_initSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kbuild: rename OBJTREE to objtreePrior to Kbuild, $(OBJTREE) was used for pointing to thetop of build directory with absolute path.In Kbuild style, $(objtree) is used instead.This commit rename
kbuild: rename OBJTREE to objtreePrior to Kbuild, $(OBJTREE) was used for pointing to thetop of build directory with absolute path.In Kbuild style, $(objtree) is used instead.This commit renames OBJTREE to objtree and delete thedefition of OBJTREE.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
kbuild: rename TOPDIR to stctreePrior to Kbuild, $(TOPDIR) or $(SRCTREE) was used forpointing to the top of source directory.(No difference between the two.)In Kbuild style, $(srctree) is used
kbuild: rename TOPDIR to stctreePrior to Kbuild, $(TOPDIR) or $(SRCTREE) was used forpointing 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 thedefition of TOPDIR.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
m68k: merge compile flags -ffixed-d7 -sep-dataAll arch/m68k/cpu/*/config.mk define the same flags PLAGFORM_REFLFLAGS += -ffixed-d7 -msep-dataMove it to arch/m68k/config.mkSigned-off-by: Masahi
m68k: merge compile flags -ffixed-d7 -sep-dataAll arch/m68k/cpu/*/config.mk define the same flags PLAGFORM_REFLFLAGS += -ffixed-d7 -msep-dataMove it to arch/m68k/config.mkSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Jason Jin <Jason.jin@freescale.com>
kbuild: use Linux Kernel build scriptsNow we are ready to switch over to real Kbuild.This commit disables temporary scripts: scripts/{Makefile.build.tmp, Makefile.host.tmp}and enables real Kbu
kbuild: use Linux Kernel build scriptsNow 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 arelocally 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).oare prepared for that purpose.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Tested-by: Gerhard Sittig <gsi@denx.de>
m68k: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Jason Jin <Jason.jin@freescale.com>
Coding Style cleanup: remove trailing white spaceSigned-off-by: Wolfgang Denk <wd@denx.de>
Merge branch 'master' of git://git.denx.de/u-boot-i2cThe sandburst-specific i2c drivers have been deleted, conflict was justover the SPDX conversion.Conflicts: board/sandburst/common/ppc440gx_i
Merge branch 'master' of git://git.denx.de/u-boot-i2cThe sandburst-specific i2c drivers have been deleted, conflict was justover the SPDX conversion.Conflicts: board/sandburst/common/ppc440gx_i2c.c board/sandburst/common/ppc440gx_i2c.hSigned-off-by: Tom Rini <trini@ti.com>
Add GPL-2.0+ SPDX-License-Identifier to source filesSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Fixup common/cmd_io.c]Signed-off-by: Tom Rini <trini@ti.com>
i2c, fsl_i2c: switch to new multibus/multiadapter support- added to fsl_i2c driver new multibus/multiadpater support- adapted all config files, which uses this driverSigned-off-by: Heiko Schoche
i2c, fsl_i2c: switch to new multibus/multiadapter support- added to fsl_i2c driver new multibus/multiadpater support- adapted all config files, which uses this driverSigned-off-by: Heiko Schocher <hs@denx.de>Cc: Simon Glass <sjg@chromium.org>Cc: Stephen Warren <swarren@wwwdotorg.org>
ColdFire: Update the arch_global_date changes for mcf5441xUpdate inp_clk, vco_clk and flb_clk for mcf5441x as thoseitems were moved to arch_global_data.Signed-off-by: Jason Jin <Jason.jin@freesc
ColdFire: Update the arch_global_date changes for mcf5441xUpdate inp_clk, vco_clk and flb_clk for mcf5441x as thoseitems were moved to arch_global_data.Signed-off-by: Jason Jin <Jason.jin@freescale.com>
m68k: Move CONFIG_EXTRA_CLOCK to arch_global_dataMove inp_clk, vco_clk and flb_clk into arch_global_data and tidy up.Signed-off-by: Simon Glass <sjg@chromium.org>
ppc: m68k: Move i2c1_clk, i2c2_clk to arch_global_dataMove these fields into arch_global_data and tidy up. This is needed forboth ppc and m68k since they share the i2c driver.Signed-off-by: Simo
ppc: m68k: Move i2c1_clk, i2c2_clk to arch_global_dataMove these fields into arch_global_data and tidy up. This is needed forboth ppc and m68k since they share the i2c driver.Signed-off-by: Simon Glass <sjg@chromium.org>
ColdFire: Add MCF5441x CPU supportAdd MCF5441x CPU support.The MCF5441x devices are a family of highly-integrated 32-bitmicroprocessors based on the Version 4m ColdFire microarchitecture,compri
ColdFire: Add MCF5441x CPU supportAdd MCF5441x CPU support.The MCF5441x devices are a family of highly-integrated 32-bitmicroprocessors based on the Version 4m ColdFire microarchitecture,comprising of the V4 integer core, memory management unit(MMU) andenchanced multiply-accumulate unit(EMAC).Signed-off-by: TsiChung Liew <tsicliew@gmail.com>Signed-off-by: Jason Jin <Jason.jin@freescale.com>Signed-off-by: Alison Wang <b18965@freescale.com>
12