04 Feb, 2014
3 commits
-
Add support for U-BOOT SPL. NOR and RAM mode are supported.
There are 3 images in NOR flash. u-boot.img, dtb and kernel.Signed-off-by: Michal Simek
-
Just list one more exception.
Signed-off-by: Michal Simek
-
It is nice to see u-boot version.
Signed-off-by: Michal Simek
18 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
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
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
Cc: Michal Simek
16 Oct, 2013
1 commit
-
The patch:
"blackfin: Move blackfin watchdog driver out of the blackfin arch folder."
(sha1: e9a389a18477c1c57a0b30e9ea8f4d38c6e26e63)
changed hw_watchdog_init() prototype which didn't match
with Microblaze one.
This patch fixes the driver and Microblaze initialization.Signed-off-by: Michal Simek
15 Oct, 2013
2 commits
-
Signed-off-by: Wolfgang Denk
-
Signed-off-by: Wolfgang Denk
08 Aug, 2013
1 commit
-
Initialization spi.
Signed-off-by: Michal Simek
Acked-by: Stephan Linz
Signed-off-by: Jagannadha Sutradharudu Teki
03 Aug, 2013
1 commit
-
Now that nothing uses CONFIG_ARCH_DEVICE_TREE, stop defining it.
Signed-off-by: Stephen Warren
Acked-by: Simon Glass
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
17 Jul, 2013
1 commit
-
MAKEALL is fine for ppc4xx and mpc85xx.
Run checks were done on our controlcenterd hardware.Signed-off-by: Dirk Eibach
Signed-off-by: Andy Fleming
02 Jul, 2013
1 commit
-
Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It
requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before
calling it again with flag set to BOOTM_STATE_OS_GO.
Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will
require a complete refactoring later on.Signed-off-by: Andreas Bießmann
[trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc]
Signed-off-by: Tom Rini
26 Jun, 2013
1 commit
-
At present the arguments to bootm are processed in a somewhat confusing
way. Sub-functions must know how many arguments their calling functions
have processed, and the OS boot function must also have this information.
Also it isn't obvious that 'bootm' and 'bootm start' provide arguments in
the same way.Adjust the code so that arguments are removed from the list before calling
a sub-function. This means that all functions can know that argv[0] is the
first argument of which they need to take notice.Signed-off-by: Simon Glass
09 May, 2013
3 commits
-
Microblaze uses gpio which is connected to the system reset.
Currently gpio subsystem wasn't used for it.Add gpio driver and change Microblaze reset logic to be done
via gpio subsystem.There are various configurations which Microblaze can have
that's why gpio_alloc/gpio_alloc_dual(for dual channel)
function has been introduced and gpio can be allocated
dynamically.Adding several gpios IP is also possible and supported.
For listing gpio configuration please use "gpio status" command
This patch also remove one compilation warning:
microblaze-generic.c: In function 'do_reset':
microblaze-generic.c:38:47: warning: operation on '*1073741824u'
may be undefined [-Wsequence-point]Signed-off-by: Michal Simek
-
fdt_initrd add additional information to DTB about initrd
addresses which are later used by kernel.Signed-off-by: Michal Simek
-
Prepare place for new patch.
Signed-off-by: Michal Simek
02 May, 2013
2 commits
-
Delete all occurrences of hang() and provide a generic function.
Signed-off-by: Andreas Bießmann
Acked-by: Albert ARIBAUD
[trini: Modify check around puts() in hang.c slightly]
Signed-off-by: Tom Rini -
Make microblaze's board.c checkpatch clean.
Signed-off-by: Andreas Bießmann
Reviewed-by: Michal Simek
30 Apr, 2013
1 commit
-
Watchdog can be used on Microblaze, PPC and Zynq hw designs.
Signed-off-by: Michal Simek
Reviewed-by: Tom Rini
19 Mar, 2013
1 commit
-
Albert's rework of the linker scripts conflicted with Simon's making
everyone use __bss_end. We also had a minor conflict over
README.scrapyard being added to in mainline and enhanced in
u-boot-arm/master with proper formatting.Conflicts:
arch/arm/cpu/ixp/u-boot.lds
arch/arm/cpu/u-boot.lds
arch/arm/lib/Makefile
board/actux1/u-boot.lds
board/actux2/u-boot.lds
board/actux3/u-boot.lds
board/dvlhost/u-boot.lds
board/freescale/mx31ads/u-boot.lds
doc/README.scrapyard
include/configs/tegra-common.hBuild tested for all of ARM and run-time tested on am335x_evm.
Signed-off-by: Tom Rini
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
13 Mar, 2013
1 commit
-
Refactor linker-generated array code so that symbols
which were previously linker-generated are now compiler-
generated. This causes relocation records of type
R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
code which uses LGA able to run before relocation as
well as after.Note: this affects more than ARM targets, as linker-
lists span possibly all target architectures, notably
PowerPC.Conflicts:
arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
board/ait/cam_enc_4xx/u-boot-spl.lds
board/davinci/da8xxevm/u-boot-spl-da850evm.lds
board/davinci/da8xxevm/u-boot-spl-hawk.lds
board/vpac270/u-boot-spl.ldsSigned-off-by: Albert ARIBAUD
04 Feb, 2013
3 commits
-
Move microblaze over to use generic global_data.
Signed-off-by: Simon Glass
Tested-by: Michal Simek -
Referenced arch/blackfin/lib/muldi3.c and the linux kernel.
Resolves issue seen when building u-boot for HW_MUL=0;PLATFORM_CPPFLAGS += -mxl-soft-mul
PLATFORM_CPPFLAGS += -mno-xl-multiply-highwhich resulted in error while linking to libgcc.a without mul hw (bs / m);
libgcc.a(_muldi3.o): In function `__muldi3':
.... src/gcc-4.6.2/libgcc/libgcc2.c:550: undefined reference to `_GLOBAL_OFFSET_TABLE_'This link failure would not occur if we used gcc instead of ld directly, as
gcc will correctly use the crt's to resolve this link.Signed-off-by: David Holsgrove
Signed-off-by: Michal Simek
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
14 Dec, 2012
1 commit
-
Move the getenv_yesno() to env_common.c and change most checks for
'y' or 'n' to use this helper.Signed-off-by: Joe Hershberger
08 Nov, 2012
5 commits
-
Microblaze platform can use CONFIG_OF_EMBED option
but also it is necessary to support boards
which don't want to use this option.
U-Boot doesn't compile dts/libdts.o for #undef CONFIG_OF_EMBED
case that's why it should be guarded by ifdef.Signed-off-by: Michal Simek
-
The patch
"include/linux/byteorder: import latest endian definitions from linux"
(sha1: eef1cf2d5cf1cae5fb76713e912263dedf110aeb)Introduced a lot of compilation failures with unknow types.
include/linux/byteorder/big_endian.h:45:1: error: unknown type name '__le64'
include/linux/byteorder/big_endian.h: In function '__cpu_to_le64p':
include/linux/byteorder/big_endian.h:47:18: error: '__le64' undeclared (first use in this function)
include/linux/byteorder/big_endian.h:47:18: note: each undeclared identifier is reported only once for each function it appears in
include/linux/byteorder/big_endian.h:47:25: error: expected ';' before '__swab64p'
include/linux/byteorder/big_endian.h: At top level:
include/linux/byteorder/big_endian.h:49:1: error: unknown type name '__le64'
include/linux/byteorder/big_endian.h:53:1: error: unknown type name '__le32'
include/linux/byteorder/big_endian.h: In function '__cpu_to_le32p':
include/linux/byteorder/big_endian.h:55:18: error: '__le32' undeclared (first use in this function)
include/linux/byteorder/big_endian.h:55:25: error: expected ';' before '__swab32p'
include/linux/byteorder/big_endian.h: At top level:
include/linux/byteorder/big_endian.h:57:1: error: unknown type name '__le32'
include/linux/byteorder/big_endian.h:61:1: error: unknown type name '__le16'
...Removing asm/bitops.h solved this problem.
Signed-off-by: Michal Simek
-
Flushing caches is necessary because of soft reset
which doesn't clear caches.Signed-off-by: Michal Simek
Reviewed-by: Marek Vasut -
Just remove ancient code.
Signed-off-by: Michal Simek
Acked-by: Stephan Linz
Reviewed-by: Marek Vasut -
ext2_find_next_zero_bit must be also static if __swab32 is also static.
Warning:
include/asm/bitops.h:369:22: warning: '__fswab32' is static but
used in inline function 'ext2_find_next_zero_bit'
which is not static [enabled by default]Signed-off-by: Michal Simek
Acked-by: Stephan Linz
22 Oct, 2012
2 commits
-
The command declaration now uses the new LG-array method to generate
list of commands. Thus the __u_boot_cmd section is now superseded and
redundant and therefore can be removed. Also, remove externed symbols
associated with this section from include/command.h .Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger -
Add section for the linker-generated lists into all possible linker
files, so that everyone can easily use these lists. This is mostly
a mechanical adjustment.Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger
20 Oct, 2012
1 commit
-
These don't need to be longs, so change them.
Signed-off-by: Simon Glass
Signed-off-by: Tom Rini
16 Oct, 2012
1 commit
-
Remove the parts depending either on disabled CONFIG_SERIAL_MULTI
or ifdefs around CONFIG_SERIAL_MULTI parts since CONFIG_SERIAL_MULTI
is now enabled by default.Signed-off-by: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini
Cc: Anatolij Gustschin
Cc: Stefan Roese
11 Sep, 2012
2 commits
-
Prepare for device-tree driven configuration.
Signed-off-by: Michal Simek
Acked-by: Stephan Linz -
Move board specific function to board_init function in board/ folder
Remove externs from generic board.c
Use board_init_f function in board.c file.Signed-off-by: Michal Simek
Acked-by: Stephan Linz