20 Feb, 2020
1 commit
-
To avoid "asm/dma-mapping.h: No such file or directory" error,
we need something.Signed-off-by: Masahiro Yamada
10 Jan, 2020
2 commits
-
All platforms currently use the "MCFTMR" DMA timer rather than the PIT
timer, so drop the MCFPIT code.Cc: Huan Wang
Cc: Angelo Dureghello
Cc: TsiChung Liew
Cc: Wolfgang Wegner
Signed-off-by: Tom Rini
Reviewed-by: Angelo Dureghello -
Add architecture-related code for dm fec support.
Signed-off-by: Angelo Durgehello
24 May, 2019
1 commit
-
Signed-off-by: Angelo Dureghello
Changes for v5:
- new patch
16 Sep, 2018
3 commits
-
This patch adds mcf5441x eSDHC support for the mcf5441x family.
Signed-off-by: Angelo Dureghello
-
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
-
Signed-off-by: Angelo Dureghello
11 Sep, 2018
1 commit
-
All architectures have the same definition for s8/16/32/64
and u8/16/32/64.Factor out the duplicated code into .
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
19 Jun, 2018
1 commit
-
Whatever code this was guarding has been removed so remove the guards
too.Signed-off-by: Chris Packham
07 May, 2018
1 commit
-
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
31 Jan, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_SYS_BOOT_GET_CMDLINE
CONFIG_SYS_BOOT_GET_KBDSigned-off-by: Derald D. Woods
03 Oct, 2017
1 commit
-
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
Cc: Huan Wang
Cc: Angelo Dureghello
Acked-by: Angelo Dureghello
Tested-by: Angelo Dureghello
19 Oct, 2016
1 commit
-
This is required for x86 and is also correct for ARM (since it is empty).
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Signed-off-by: Alexander Graf
24 Sep, 2016
1 commit
-
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 . 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 are gone.
Deprecate .Signed-off-by: Masahiro Yamada
Acked-by: Alexey Brodkin
16 Aug, 2016
1 commit
-
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
For the 4xx related files:
Acked-by: Stefan Roese
Reviewed-by: Bin Meng
28 May, 2016
1 commit
-
Since generic board init is enabled, this is not used. Drop it.
Signed-off-by: Simon Glass
Acked-by: Angelo Dureghello
18 May, 2016
1 commit
17 May, 2016
2 commits
-
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 -
Signed-off-by: Mario Six
19 Jan, 2016
1 commit
-
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
10 Nov, 2015
1 commit
-
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
05 Nov, 2015
1 commit
-
The generic bitops headers are required when calling logarithmic
functions, such as ilog2().Signed-off-by: Fabio Estevam
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher
Reviewed-by: Jagan Teki
28 Mar, 2015
1 commit
-
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
Reviewed-by: Simon Glass
Reviewed-by: Alexey Brodkin
06 Mar, 2015
2 commits
-
Add generic-board support for the m68k architecture.
Signed-off-by: Angelo Dureghello
-
Add Freescale MCF5307 cpu support.
Signed-off-by: Angelo Dureghello
22 Jul, 2014
1 commit
-
Commit ddc94378d 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.xzor
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
Cc: Simon Glass
Cc: Jason Jin
19 Jun, 2014
1 commit
-
M68k is big endian cpu ,so use be_out and be_in in big endian.
Signed-off-by: Chao Fu
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 May, 2014
1 commit
-
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
Cc: Tom Rini
Cc: Simon Glass
Cc: Wolfgang Denk
Cc: Heiko Schocher
Acked-by: Michal Simek (For microblaze)
09 Nov, 2013
1 commit
-
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
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
-
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
16 Mar, 2013
1 commit
-
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 (version 5)
Signed-off-by: Simon Glass
04 Feb, 2013
3 commits
-
Move m68k over to use generic global_data.
Signed-off-by: Simon Glass
-
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
02 Feb, 2013
1 commit
-
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