09 Dec, 2014
5 commits
-
Signed-off-by: Tom Rini
08 Dec, 2014
35 commits
-
Some UniPhier boards are equipped with an expansion slot that
some optional SRAM/NOR-flash cards can be attached to. So, run-time
detection of the number of flash banks would be more user-friendly.Until this commit, UniPhier boards have achieved this by (ab)using
board_flash_wp_on() because the boot failed if flash_size got zero.
Fortunately, this problem was solved by commit 70879a92561a (flash:
do not fail even if flash_size is zero).Now it is possible to throw away such a tricky workaround. This
commit also enables CONFIG_SYS_MAX_FLASH_BANKS_DETECT for further
refactoring.Signed-off-by: Masahiro Yamada
-
0x20000000-0x2fffffff: assigned to ARM mpcore (sLD3 only)
0xf0000000-0xffffffff: assigned to Denali NAND controller (sLD3 only)Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
Add I2C controller and NAND controller devices. Fix indentation too.
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Tom Rini
-
Warning:
In file included from scripts/kconfig/zconf.tab.c:2537:0:
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jump->offset = strlen(r->s);Simplifies the test logic because (head && local) means (jump != 0)
and makes GCC happy when checking if the jump pointer was initialized.Signed-off-by: Peter Kümmel
Signed-off-by: Michal Marek
[ imported from Linux Kernel, commit 2d5603060967 ]
Signed-off-by: Masahiro Yamada -
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
The boot commands - bootz/bootm mandate a third argument which is the
address to the FDT blob. In cases where this argument is not specified,
boot fails with a message indicating a missing FDT.This causes non-FDT kernels to fail to boot. This patch allows both FDT
and non-FDT kernels to boot by making the third parameter to the bootm/bootz
optional.Signed-off-by: Suriyan Ramasami
Acked-by: Simon Glass
[trini: Update again for covering appended DTB case after last revert in
this area]
Signed-off-by: Tom Rini -
The macro __iomem is defined in include/linux/compiler.h.
Let's include it rather than double __iomem defines.Signed-off-by: Masahiro Yamada
Cc: Sonic Zhang -
__user and __iomem are defined in include/linux/compiler.h.
MAX_ERRNO is defined in include/linux/err.h.Signed-off-by: Masahiro Yamada
-
Including is enough for general use.
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Daniel Schwierzeck
-
Signed-off-by: Angelo Dureghello
-
Introduce a Makefile under arch/$ARCH/ and include it in the
top Makefile (similar to Linux kernel). This allows further
refactoringi like moving architecture-specific code out of global
makefiles, deprecating config variables (CPU, CPUDIR, SOC) or
deprecating arch/$ARCH/config.mk.In contrary to Linux kernel, U-Boot defines the ARCH variable by
Kconfig, thus the arch Makefile can only included conditionally
after the top config.mk.Signed-off-by: Daniel Schwierzeck
Acked-by: Masahiro Yamada -
Signed-off-by: Vikas Manocha
Acked-by: Simon Glass -
pl010 & pl011 have different control register offsets, setting it as per
the pl01x type.Signed-off-by: Vikas Manocha
Acked-by: Simon Glass -
Receive line control uses same setting as transmit line control, also one lcrh
write is effective for both baud rate & receive line control internal update.Signed-off-by: Vikas Manocha
Acked-by: Simon Glass -
UART_IBRD, UART_FBRD, and UART_LCR_H form a single 30-bit wide register which
is updated on a single write strobe generated by a UART_LCR_H write. So, to
internally update the content of UART_IBRD or UART_FBRD, a write to UART_LCR_H
must always be performed at the end.Signed-off-by: Vikas Manocha
Acked-by: Simon Glass -
Although we were checking the pl01x type, seems like PL010 type was being
passed by mistake.Signed-off-by: Vikas Manocha
Acked-by: Simon Glass -
The CPU directory of IMX6 is arch/arm/cpu/armv7, so setting
CONFIG_SPL_START_S_PATH to arch/arm/cpu/armv7 is totally redundant.Signed-off-by: Masahiro Yamada
Cc: Stefano Babic -
The CPU directory of this board is arch/powerpc/cpu/mpc5xxx.
Without the CONFIG_SPL_START_S_PATH and CONFIG_SPL_LDSCRIPT defines,
the same start.o and u-boot-spl.lds are selected by default.Signed-off-by: Masahiro Yamada
Cc: Stefan Roese
Acked-by: Stefan Roese -
The CPU directory of this board is arch/powerpc/cpu/ppc4xx.
Without the CONFIG_SPL_START_S_PATH and CONFIG_SPL_LDSCRIPT defines,
the same start.o and u-boot-spl.lds are selected by default.Signed-off-by: Masahiro Yamada
Cc: Wolfgang Denk
Acked-by: Stefan Roese -
This board sprinkles #ifdef(CONFIG_HERMES) over various global files
such as include/common.h, common/board_r.c, common/cmd_bdinfo.c.
Let's zap such an ill-behaved board.It has not been converted to generic board yet and mpc8xx is old
enough.Signed-off-by: Masahiro Yamada
Cc: Wolfgang Denk
Acked-by: Wolfgang Denk -
Fuse drivers, like the mxs_ocotp.c, may return negative error codes but
the commands are only allowed to return CMD_RET_* enum values to the
shell, otherwise the following error appears:"exit not allowed from main input shell."
Signed-off-by: Hector Palacios
Reviewed-by: Benoît Thébaudeau -
Enable ENV_IS_IN_FAT so that the environment can be stored persistently.
It's stored in the FAT partition that the RPi firmware requires. On most
RPis, this is on the SD card (which must be present in order for the
system to boot). On the CM this is on the built-in eMMC device.Since we now have a persistent environment, there's no need to load
uEnv.txt at boot; we only did that to work around the lack of persistent
environment.Signed-off-by: Stephen Warren
Reviewed-by: Simon Glass
Tested-by: Simon Glass -
The U-Boot port runs on a variety of RPi models, not just the B. So,
rename the port to something slightly more generic.Signed-off-by: Stephen Warren
Reviewed-by: Simon Glass
Tested-by: Simon Glass -
Detect the board revision early during boot, and print the decoded
model name.Eventually, this information can be used for tasks such as:
- Allowing/preventing USB device mode; some models have a USB device on-
board so only host mode makes sense. Others connect the SoC directly
to the USB connector, so device-mode might make sense.
- The on-board USB hub/Ethernet requires different GPIOs to enable it,
although luckily the default appears to be fine so far.
- The compute module contains an on-board eMMC device, so we could store
the environment there. Other models use an SD card and so don't support
saving the environment (unless we store it in a file on the FAT boot
partition...)Set $fdtfile based on this information. At present, the mainline Linux
kernel doesn't contain a separate DTB for most models, but I hope that
will change soon.Signed-off-by: Stephen Warren
Reviewed-by: Simon Glass
Tested-by: Simon Glass -
In SPL MMC, boot modes are exclusive. So, if MMCSD_MODE_RAW fails, the board hangs. This patch allows to
try MMCSD_MODE_FS then, if available.It has been tested on a pandaboard (rev. A3).
Signed-off-by: Guillaume GARDET
Cc: Tom Rini -
Add me for UBI custodian.
Signed-off-by: Heiko Schocher
Acked-by: Stefan Roese
Acked-by: Kyungmin Park -
Currenly when CONFIG_BOOTP_SERVERIP is defined, the SERVERIP is not changed
when receive the BOOTP packet. But BOOTFILE is changed via BOOTP packet.As we will load the BOOTFILE from SERVERIP, if the BOOTFILE is modified
by bootp packet but SERVERIP is not, that is not make sense.This patch make SERVERIP and BOOTFILE be consistent. If we define the
CONFIG_BOOTP_SERVERIP, then SERVERIP and BOOTFILE will not changed by
BOOTP packet. Only IP address is changed.Signed-off-by: Josh Wu
-
get_maintainer.pl always fails with following message:
./scripts/get_maintainer.pl: The current directory does not appear to be a linux kernel source tree.This was caused by commit:
commit 548b310c68ac99a0330d8b56c797c09ff0742d1e
Author: Masahiro Yamada
Date: Thu Oct 30 15:50:15 2014 +0900Remove the CREDITS file
This file is not maintained these days.
We use MAINTAINERS for the maintainership of the supported boards.
For dead boards, we have some clues in doc/README.scrapyard and
also imperishable history in git-log.Remove CREDITS from source tree detection to fix this.
Signed-off-by: Daniel Schwierzeck
Acked-by: Simon Glass