22 Nov, 2013
4 commits
-
There are a few wwrnings in this file when building for sandbox. Addresses
coming from the device tree need to be treated as ulong as elsewhere in
U-Boot and we must use map_sysmem() to convert to a pointer when needed.Signed-off-by: Simon Glass
Signed-off-by: Simon Glass
Reviewed-by: Hung-ying Tyan -
Sandbox uses an emulated memory map which is quite small. We don't need the
CONFIG_PHYS_64BIT option since we can address memory with a 32-bit offset
into our ram_buf.Adjust the phys_addr_t and phys_size_t types accordingly.
Signed-off-by: Simon Glass
Signed-off-by: Simon Glass
Reviewed-by: Hung-ying Tyan -
This file must be compiled with system headers, even if U-Boot has headers
of the same name. The existing solution for this is good enough for libfdt,
but fails when we have headers like stdint.h in U-Boot.Use -idirafter instead of -I, and remove the -nostdinc and other things
that we don't want for this file. The best way to do this is to keep a
copy of the original flags, rather than trying to filter them later.Signed-off-by: Simon Glass
-
The uint64_t type is defined in linux/types.h, so is safer than u64, which
is not actually a Linux type.Change-Id: Ifc9a369e6543250c49117b8d3cb3a676eee43e04
Signed-off-by: Simon Glass
18 Nov, 2013
24 commits
-
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
Cc: Simon Glass
Acked-by: Simon Glass -
Signed-off-by: Masahiro Yamada
Cc: Nobuhiro Iwamatsu -
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
HOSTOS is defined and exported at the top Makefile.
Signed-off-by: Masahiro Yamada
-
SPL_BIN is already defined in spl/Makefile
and it is used only in spl/Makefile.Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
CONFIG_IXP4XX_NPE is defined only for CPU ixp.
It is not necessary to filter by CPU ixp.Signed-off-by: Masahiro Yamada
-
CONFIG_FMAN_ENET is defined only for CPU mpc85xx.
We do not need to filter by CPU mpc85xx.Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
We do not need to handle $(LIBBOARD) and $(LIBS) separately.
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
- Descend into drivers/fpga/ only when CONFIG_FPGA=y
- Descend into drivers/bios_emulator only when CONFIG_BIOSEMU=ySigned-off-by: Masahiro Yamada
-
Signed-off-by: Masahiro Yamada
-
The support for COBJS, COBJS-y, SOBJS, SOBJS-y, GLCOBJS, GLSOBJS
from scripts/Makefile.build.
Going forward we need to use Kbuild style consistently.Signed-off-by: Masahiro Yamada
-
Board config.mk do not need to add -DCONFIG_SYS_TEXT_BASE
to CPPFLAGS because the top level config.mk does instead.Signed-off-by: Masahiro Yamada
16 Nov, 2013
6 commits
-
Commit 309a292e deleted OXC board, but
missed to remove the standalone example specific to OXC board.eepro100_eeprom.c has been an orphan file for a long term.
Signed-off-by: Masahiro Yamada
-
Commit 7e8c53d7 removed eNET board but missed to
add eNET to README.scrapyard.
This commit adds it for the record.Signed-off-by: Masahiro Yamada
Cc: Simon Glass
Cc: Graeme Russ
Acked-by: Simon Glass -
Signed-off-by: Masahiro Yamada
Cc: Thomas Chou -
Signed-off-by: Masahiro Yamada
-
Since commit c2dd0d455 and 45bf05854 introduced
the new cache maintainance framework to ARM,
CONFIG_L2_OFF has not been used at all.Signed-off-by: Masahiro Yamada
-
In 6789e84 we update u-boot-spl.lds for OMAP to ensure we include
adapter information, as we use i2c during SPL. However, the regex used
also means we included commands that may have been built. On omap5_uevm
this leads to a failure as we include the command from the do_tca642x
command, and fail to link. The fix is to restrict our regex to only the
i2c list parts.Signed-off-by: Tom Rini
15 Nov, 2013
2 commits
-
The physical base address of the NOR flash is 0x1e000000
on the Malta boards. The hardware also maps the first 4MiB
of the flash into the 0x1fc00000-0x1fffffff range.Currently, U-Boot uses the mapped address to access the
flash, which does not work in recent qemu versions.Since commit a427338b222b43197c2776cbc996936df0302f51
(mips_malta: correct reading MIPS revision at 0x1fc00010)
writing to the mapped address space causes a CPU exception.
Due to the exception, U-Boot hangs during boot when it tries
to detect the CFI flash chip.Use the correct physical address for the MALTA_FLASH_BASE
constant to fix the problem. In order to avoid relocation
problems, also update the CONFIG_SYS_{TEXT,MONITOR}_BASE
constants.The change makes it possible to start U-Boot on a Malta
board emulated with Qemu 1.6.1 and 1.7.0-rc0. It also
works on older versions (tested with 1.1.1, 1.2.2, 1.4.2,
1.5.3).Signed-off-by: Gabor Juhos
Signed-off-by: Daniel Schwierzeck
Cc: Paul Burton
14 Nov, 2013
4 commits
-
When indexing freqProcessor[] we use the first
value in the cpu's "reg" property, which on
new e6500 cores IDs the threads.
But freqProcessor[] should be indexed with a
core index so, when fixing "the clock-frequency"
cpu node property, access the freqProcessor[]
with the core index derived from the "reg' property.
If we don't do this, last half of the "cpu" nodes
will have broken "clock-frequency" values.Signed-off-by: Laurentiu Tudor
Cc: York Sun -
Update the code that builds the pci endpoint liodn
offset list so that it doesn't overlap with other
liodns and doesn't generate negative offsets like:fsl,liodn-offset-list = ;
The update consists in adding a parameter to the
function that builds the list to specify the base
liodn.
On PCI v2.4 use the old base = 256 and, on PCI 3.0
where some of the PCIE liodns are larger than 256,
use a base = 1024. The version check is based on
the PCI controller's version register.Signed-off-by: Laurentiu Tudor
Cc: Scott Wood
Cc: York Sun -
The liodn for the T4240's PCIE controller is no longer set
through a register in the guts register block but with one
in the PCIE register block itself.
Use the already existing SET_PCI_LIODN_BASE macro that puts
the liodn in the correct register.Signed-off-by: Laurentiu Tudor
Cc: Scott Wood
Cc: York Sun -
Define base addresse for both MPH(USB1) and DR(USB2) controllers
for MPC834x socsSigned-off-by: Ramneek Mehresh