- Feb 20, 2020
-
-
Masahiro Yamada authored
To avoid "asm/dma-mapping.h: No such file or directory" error, we need something. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jan 10, 2020
-
-
Tom Rini authored
All platforms currently use the "MCFTMR" DMA timer rather than the PIT timer, so drop the MCFPIT code. Cc: Huan Wang <alison.wang@nxp.com> Cc: Angelo Dureghello <angelo@sysam.it> Cc: TsiChung Liew <Tsi-Chung.Liew@nxp.com> Cc: Wolfgang Wegner <w.wegner@astro-kom.de> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Angelo Dureghello <angelo@sysam.it>
-
Angelo Durgehello authored
Add architecture-related code for dm fec support. Signed-off-by:
Angelo Durgehello <angelo.dureghello@timesys.com>
-
- May 24, 2019
-
-
Angelo Dureghello authored
Signed-off-by:
Angelo Dureghello <angelo@sysam.it> Changes for v5: - new patch
-
- Sep 15, 2018
-
-
Angelo Dureghello authored
This patch adds mcf5441x eSDHC support for the mcf5441x family. Signed-off-by:
Angelo Dureghello <angelo@sysam.it>
-
Angelo Dureghello authored
On a u32 val = __sw32(*addr); multiple memory accesses are not welcome, since "addr" may be an IO peripheral register address. This patch changes __sw16/32 to perform a single memory access for the source value. Signed-off-by:
Angelo Dureghello <angelo@sysam.it>
-
Angelo Dureghello authored
Signed-off-by:
Angelo Dureghello <angelo@sysam.it>
-
- Sep 11, 2018
-
-
Masahiro Yamada authored
All architectures have the same definition for s8/16/32/64 and u8/16/32/64. Factor out the duplicated code into <asm-generic/int-ll64.h>. BTW, Linux unified the kernel space definition into int-ll64.h a few years ago as you see in Linux commit 0c79a8e29b5f ("asm/types.h: Remove include/asm-generic/int-l64.h"). Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jun 18, 2018
-
-
Chris Packham authored
Whatever code this was guarding has been removed so remove the guards too. Signed-off-by:
Chris Packham <judge.packham@gmail.com>
-
- May 07, 2018
-
-
Tom Rini authored
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jan 30, 2018
-
-
Derald D. Woods authored
This converts the following to Kconfig: CONFIG_SYS_BOOT_GET_CMDLINE CONFIG_SYS_BOOT_GET_KBD Signed-off-by:
Derald D. Woods <woods.technical@gmail.com>
-
- Oct 03, 2017
-
-
Paul Burton authored
Convert the m68k architecture to make use of the new asm-generic/io.h to provide address mapping functions. As the generic implementations are suitable for m68k this is primarily a matter of emoving code. Feedback from architecture maintainers is welcome. Signed-off-by:
Paul Burton <paul.burton@imgtec.com> Cc: Huan Wang <alison.wang@freescale.com> Cc: Angelo Dureghello <angelo@sysam.it> Acked-by:
Angelo Dureghello <angelo@sysam.it> Tested-by:
Angelo Dureghello <angelo@sysam.it>
-
- Oct 19, 2016
-
-
Simon Glass authored
This is required for x86 and is also correct for ARM (since it is empty). Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
- Sep 23, 2016
-
-
Masahiro Yamada authored
Unlike Linux, nothing about errno.h is arch-specific in U-Boot. As you see, all of arch/${ARCH}/include/asm/errno.h is just a wrapper of <asm-generic/errno.h>. Actually, U-Boot does not export headers to user-space, so we just have to care about the consistency in the U-Boot tree. Now all of include directives for <asm/errno.h> are gone. Deprecate <asm/errno.h>. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Alexey Brodkin <abrodkin@synopsys.com>
-
- Aug 15, 2016
-
-
Joe Hershberger authored
If the functions passed to the registration function are not in the same C file (extern) then spatch will not handle the dependent changes. Make those changes manually. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> For the 4xx related files: Acked-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- May 27, 2016
-
-
Simon Glass authored
Since generic board init is enabled, this is not used. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Angelo Dureghello <angelo@sysam.it>
-
- May 17, 2016
-
-
angelo@sysam.it authored
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 <angelo@sysam.it> Acked-by:
Simon Glass <sjg@chromium.org>
-
mario.six@gdsys.cc authored
Signed-off-by:
Mario Six <mario.six@gdsys.cc>
-
- Jan 19, 2016
-
-
Tom Rini authored
In a number of places we had wordings of the GPL (or LGPL in a few cases) license text that were split in such a way that it wasn't caught previously. Convert all of these to the correct SPDX-License-Identifier tag. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Nov 09, 2015
-
-
Måns Rullgård authored
A number of headers define functions as "extern inline" which is causing problems with gcc5. The reason is that starting with version 5.1, gcc defaults to the standard C99 semantics for the inline keyword. Under the traditional GNU inline semantics, an "extern inline" function would never create an external definition, the same as inline *without* extern in C99. In C99, and "extern inline" definition is simply an external definition with an inline hint. In short, the meanings of inline with and without extern are swapped between GNU and C99. The upshot is that all these definitions in header files create an external definition wherever those headers are included, resulting in multiple definition errors at link time. Changing all these functions to "static inline" fixes the problem since this works as desired in all gcc versions. Although the semantics are slightly different (a static inline definition may result in an actual function being emitted), it works as intended in practice. This patch also removes extern prototype declarations for the changed functions where they existed. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- Nov 05, 2015
-
-
Fabio Estevam authored
The generic bitops headers are required when calling logarithmic functions, such as ilog2(). Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Jagan Teki <jteki@openedev.com>
-
- Mar 28, 2015
-
-
Masahiro Yamada authored
We have done with the generic board conversion for all the boards of ARC, Blackfin, M68000, MicroBlaze, MIPS, NIOS2, Sandbox, X86. Let's select SYS_GENERIC_BOARD for those architectures, so we can tell which architecture has finished the conversion at a glance. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Alexey Brodkin <abrodkin@synopsys.com>
-
- Mar 06, 2015
-
-
angelo@sysam.it authored
Add generic-board support for the m68k architecture. Signed-off-by:
Angelo Dureghello <angelo@sysam.it>
-
angelo@sysam.it authored
Add Freescale MCF5307 cpu support. Signed-off-by:
Angelo Dureghello <angelo@sysam.it>
-
- Jul 22, 2014
-
-
Masahiro Yamada authored
Commit ddc94378 changed the definition of __kernel_size_t from unsigned int to unsigned long. It is true that it fixed warnings on some crosstools but it increased warnings on the others. The problem is that we cannot see consistency in terms of the typedef of __kernel_size_t on M68K architecture. However, I'd like to suggest to have __kernel_size_t to be unsigned int again. Rationale: [1] Linux Kernel defines __kernel_size_t on M68K as unsigned int. Let's stick to the Linux's way. [2] We want to build boards with popular pre-built toolchains, not the one locally-built by indivisuals. I think m68-linux-gcc which can be downloaded from www.kernel.org is the candidate for our _recommended_ toolchains. With this patch, all the m68k boards can be built without any warnings. Give it a try with the following crosstools: https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/ x86_64-gcc-4.6.3-nolibc_m68k-linux.tar.xz or https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/ x86_64-gcc-4.9.0-nolibc_m68k-linux.tar.xz (The latter is newer.) Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org> Cc: Jason Jin <Jason.jin@freescale.com>
-
- Jun 19, 2014
-
-
Chao Fu authored
M68k is big endian cpu ,so use be_out and be_in in big endian. Signed-off-by:
Chao Fu <b44548@freescale.com>
-
- Jun 11, 2014
-
-
Simon Glass authored
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 <sjg@chromium.org>
-
- May 12, 2014
-
-
Masahiro Yamada authored
gd->bd->bi_baudrate is a copy of gd->baudrate. Since baudrate is a common feature for all architectures, keep gd->baudrate only. It is true that bi_baudrate was passed to the kernel in that structure but it was a long time ago. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Tom Rini <trini@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de> Acked-by: Michal Simek <monstr@monstr.eu> (For microblaze)
-
- Nov 08, 2013
-
-
Masahiro Yamada authored
Linux Kernel abolished include/linux/config.h long time ago. (around version v2.6.18..v2.6.19) We don't need to provide Linux copatibility any more. This commit deletes include/linux/config.h and fixes source files not to include this. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Oct 14, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Jul 23, 2013
-
-
Heiko Schocher authored
- added to fsl_i2c driver new multibus/multiadpater support - adapted all config files, which uses this driver Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Stephen Warren <swarren@wwwdotorg.org>
-
- Jun 27, 2013
-
-
Steve deRosier authored
SDRAMC_DARCn_BA() macro worked fine when the BA is 0x00000000 even though the macro is incorrect. It causes the BA to be set incorrctly for other base addresses. This patch fixes the macro so that base addresses other than zero can be used with the MCF5235. Signed-off-by:
Steve deRosier <derosier@gmail.com>
-
- Mar 15, 2013
-
-
Simon Glass authored
We create a separate header file for link symbols defined by the link scripts. It is helpful to have these all in one place and try to make them common across architectures. Since Linux already has a similar file, we bring this in even though many of the symbols there are not relevant to us. Each architecture has its own asm/sections.h where symbols specifc to that architecture can be added. For now everything except AVR32 just includes the generic header. One change is needed in arch/avr32/lib/board.c to make this conversion work. Reviewed-by: Tom Rini <trini@ti.com> (version 5) Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Feb 04, 2013
-
-
Simon Glass authored
Move m68k over to use generic global_data. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Move inp_clk, vco_clk and flb_clk into arch_global_data and tidy up. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
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 <sjg@chromium.org>
-
- Feb 01, 2013
-
-
Simon Glass authored
We plan to move architecture-specific data into a separate structure so that we can make the rest of it common. As a first step, create struct arch_global_data to hold these fields. Initially it is empty. This patch applies to all archs at once. I can split it if this is really a pain. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Dec 11, 2012
-
-
Simon Glass authored
strncasecmp() is present as strnicmp() but disabled. Make it available and define strcasecmp() also. There is a only a small performance penalty to having strcasecmp() call strncasecmp(), so do this instead of a standalone function, to save code space. Update the prototype in arch-specific headers as needed to avoid warnings. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Oct 24, 2012
-
-
Alison Wang authored
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 <tsicliew@gmail.com> Signed-off-by:
Jason Jin <Jason.jin@freescale.com> Signed-off-by:
Alison Wang <b18965@freescale.com>
-