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
7 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 -
Fix CONFIG_SYS_HZ usage in board config.
Do not use hardcoded value. Use CONFIG_SYS_HZ instead.
Separate static configuration to single block.Signed-off-by: Michal Simek
-
Just coding style cleanup.
Remove unneeded externs.Signed-off-by: Michal Simek
Acked-by: Simon Glass
Acked-by: Stephan Linz -
Return value to find out if un/registration was succesful.
Signed-off-by: Michal Simek
-
Variable is used when CONFIG_SYS_FLASH_CHECKSUM is used.
Warning log:
board.c: In function 'board_init':
board.c:101: warning: unused variable 's'Signed-off-by: Michal Simek
Acked-by: Stephan Linz -
This is minimum code required to be able to use device-tree
for u-boot initialization.
Currently only for device driver initialization.Linker script change ensures DTB to be aligned
for both options CONFIG_OF_EMBED and CONFIG_OF_SEPARATE.Signed-off-by: Michal Simek
Acked-by: Stephan Linz
CC: Simon Glass
10 Aug, 2012
1 commit
-
All the global flag defines are the same across all arches. So unify them
in one place, and add a simple way for arches to extend for their needs.Signed-off-by: Mike Frysinger
10 Jul, 2012
4 commits
-
Clear and prepare for device-tree driven configuration.
Remove CONFIG_SYS_INTC_0 definition
Use dynamic allocation instead of static.Signed-off-by: Michal Simek
Acked-by: Simon Glass -
Signed-off-by: Michal Simek
Acked-by: Simon Glass -
Move __udelay to the timer code because of unification.
And clean coding style because of checkpatch.pl.Signed-off-by: Michal Simek
Acked-by: Simon Glass -
eth_init() is defined at include/net.h.
Signed-off-by: Michal Simek
Acked-by: Simon Glass
09 Jul, 2012
2 commits
-
Unification for all microblaze boards.
Signed-off-by: Michal Simek
-
Gpio support is not implemented yet. Adding it because of fdtdec.
Signed-off-by: Michal Simek
16 May, 2012
2 commits
-
All arches init this the same way, so move the logic into the core
net code to avoid duplicating it everywhere else.Signed-off-by: Mike Frysinger
Reviewed-by: Joe Hershberger -
This field gets read in one place (by "bdinfo"), and we can replace
that with getenv("ipaddr"). After all, the bi_ip_addr field is kept
up-to-date implicitly with the value of the ipaddr env var.Signed-off-by: Mike Frysinger
Reviewed-by: Joe Hershberger
19 Mar, 2012
2 commits
-
These calls should not be made directly any more, since bootstage
will call the show_boot_...() functions as needed.Signed-off-by: Simon Glass
-
This changes the number 15 as used in boot_stage_progress() to use the
new name provided for it. This is a separate patch because it touches
so many files.Signed-off-by: Simon Glass
Acked-by: Mike Frysinger
23 Feb, 2012
2 commits
-
The interrupt acknowledge action have to run after the
registered interrupt handler. So we have a chance to
bear out the corresponding interrupt request in the
corresponding controller hardware.With this reordering, we optain a proper interrupt
handling for level triggered interrupt sources -- for
example the new axi_timer v1.02.a introduced in ISE 13.2.Signed-off-by: Stephan Linz
Acked-by: Michal Simek -
after commit "common: add possibility for readline_into_buffer
timeout" (sha1:9c34831) was applied. The Microblaze generic build
fails with error below:common/libcommon.o: In function `cread_line':
/devel/u-boot/common/main.c:717: undefined reference to `get_ticks'
/devel/u-boot/common/main.c:717: undefined reference to `get_tbclk'
/devel/u-boot/common/main.c:720: undefined reference to `get_ticks'Signed-off-by: Stephan Linz
Acked-by: Michal Simek
24 Oct, 2011
3 commits
-
readl should work with unsigned int instead of unsigned long.
Signed-off-by: Michal Simek
-
This changes the board code to use the new getenv_ulong() function.
Signed-off-by: Simon Glass
-
Signed-off-by: Anton Staaf
Cc: Mike Frysinger
Cc: Lukasz Majewski
Cc: Michal Simek
10 Oct, 2011
5 commits
-
Setup bootfile.
Signed-off-by: Michal Simek
-
Also support little endian MB.
Signed-off-by: Michal Simek
Acked-by: Mike Frysinger -
This changes were done to get support for netconsole.
Signed-off-by: Michal Simek
-
Signed-off-by: Michal Simek
-
Calling console_init_f enables CTRL+C usage.
Signed-off-by: Michal Simek
06 Oct, 2011
2 commits
-
This pushes the ugly duplicated arch ifdef lists we maintain in various
image related files out to the arch headers themselves.Acked-by: Nobuhiro Iwamatsu
Tested-by: Thomas Chou
Signed-off-by: Mike Frysinger -
Allow redirection of console output prior to console initialisation to a
temporary buffer.To enable this functionality, the board (or arch) must define:
- CONFIG_PRE_CONSOLE_BUFFER - Enable pre-console buffer
- CONFIG_PRE_CON_BUF_ADDR - Base address of pre-console buffer
- CONFIG_PRE_CON_BUF_SZ - Size of pre-console buffer (in bytes)The pre-console buffer will buffer the last CONFIG_PRE_CON_BUF_SZ bytes
Any earlier characters are silently dropped.