06 Jun, 2015
1 commit
05 Jun, 2015
3 commits
-
This instroduces comments that explain the purpose, parameters and return codes
of a few fdt support functions, that are used to fill the fdt.Signed-off-by: Paul Kocialkowski
Acked-by: Simon Glass -
Before device-tree, the device serial number used to be passed to the kernel
using ATAGs (on ARM). This is now deprecated and all the handover to the kernel
should now be done using device-tree. Thus, this passes the serial-number
property to the kernel using the serial-number property of the root node, as
expected by the kernel.The serial number is a string that somewhat represents the device's serial
number. It might come from some form of storage (e.g. an eeprom) and be
programmed at factory-time by the manufacturer or come from identification
bits available in e.g. the SoC.Signed-off-by: Paul Kocialkowski
Reviewed-by: Simon Glass
04 Jun, 2015
36 commits
-
Signed-off-by: Masahiro Yamada
-
A conflict between the PMIC and unit test work means that the sandbox test
device tree file is no-longer built. Fix this.Series-to: u-boot
Series-cc: joe, przChange-Id: I6616428e05713e5306f848e7dd0a645dedf0934e
Signed-off-by: Simon Glass -
These were lost when the PMIC series was applied. Add them back so that the
tests pass again.Reported-by: Joe Hershberger
Signed-off-by: Simon Glass
Acked-by: Joe Hershberger -
Sort this by node name for easier browsing.
Signed-off-by: Simon Glass
-
There are some core test nodes near the beginning of the file which should
be grouped together. But for other nodes, let's sort them.Signed-off-by: Simon Glass
Acked-by: Joe Hershberger -
Tidy up the sort order again.
Signed-off-by: Simon Glass
Reported-by: Joe Hershberger
Acked-by: Joe Hershberger -
Commit 9cc36a2 'dm: core: Add a flag to control sequence numbering' changed
the default uclass behaviour to not support bus numbering. This is incorrect
for PCI and that commit should have enabled the flag for PCI.Enable it so that PCI buses can be found and the 'pci' command works again.
Also add a test for this.Signed-off-by: Simon Glass
-
For some reason 'u-boot -D' does not restore the terminal correctly when
the 'reset' command is used. Call the terminal restore function explicitly
in this case.Signed-off-by: Simon Glass
Reviewed-by: Joe Hershberger -
Signed-off-by: Gabriel Huau
Acked-by: Simon Glass -
Every pin can be configured now from the device tree. A dt-bindings
has been added to describe the different property available.Change-Id: I1668886062655f83700d0e7bbbe3ad09b19ee975
Signed-off-by: Gabriel Huau
Acked-by: Simon Glass -
Baytrail physically maps the first 2 GB of SDRAM from 0x0 to 0x7FFFFFFF
and additional SDRAM is mapped from 0x100000000 and up. There is a
physical memory hole from 0x80000000 to 0xFFFFFFFF for other uses.
Because of this, PCI region 3 should only try to use up to the amount of
SDRAM or 0x80000000, which ever is less.Signed-off-by: Andrew Bradford
Reviewed-by: Bin Meng
Acked-by: Simon Glass -
Support QEMU PIRQ routing via device tree on both i440fx and q35
platforms. With this commit, Linux booting on QEMU from U-Boot
has working ATA/SATA, USB and ethernet.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Writing 0xcb to I/O port 0xb2 (Advanced Power Management Control) causes
U-Boot to hang on QEMU q35 target. We introduce a config option in the
device tree "u-boot,no-apm-finalize" under /config node if we don't want
to do that.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Although the two qemu-x86 targets (i440fx and q35) share a lot in
common, they still have something that cannot easily handled in one
single device tree). Split to create two dedicated device tree files
and make the i440fx be the default build target.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Clean up arch/x86/cpu/coreboot.c to fix several cosmetic issues.
Signed-off-by: Bin Meng
Acked-by: Simon Glass -
FSP_TEMP_RAM_ADDR should only be visible when HAVE_FSP is on.
Signed-off-by: Bin Meng
Acked-by: Simon Glass -
We should ignore those regions whose size is negative. These are
typically optional and unused regions (like GbE and platform data).Change-Id: I65ad01746144604a1dc0588b617af21f2722ebbf
Signed-off-by: Bin Meng
Acked-by: Simon Glass -
As VGA option rom needs to run at C segment, although QEMU PAM emulation
seems to only guard E/F segments, for correctness, move VGA initialization
after PAM decode C/D/E/F segments.Also since we already tested QEMU targets to differentiate I440FX and Q35
platforms, change to locate the VGA device via hardcoded b.d.f instead of
dynamic search for its vendor id & device id pair.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
QEMU always decode legacy IDE I/O ports on PIIX chipset. However Linux ata_piix
driver does sanity check to see whether legacy ports decode is turned on.
To make Linux ata_piix driver happy, turn on the decode via IDE_TIMING register.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
By default the legacy segments C/D/E/F do not decode to system RAM.
Turn on the decode via Programmable Attribute Map (PAM) registers
so that we can write configuration tables in the F segment.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
The default weak version of pci_skip_dev() in drivers/pci/pci_common.c
skips the host bridge (b.d.f = 0.0.0) which is actually the i440fx/q35
chipset for QEMU targets. Define CONFIG_PCI_CONFIG_HOST_BRIDGE to make
it visible in the PCI configuration space.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
High mem starts at 4 GiB.
Signed-off-by: Andrew Bradford
Reviewed-by: Bin Meng
Acked-by: Simon Glass -
If pirq_routing_table points to NULL, that means U-Boot fails to
generate the table before in create_pirq_routing_table(), so we
test it against NULL before actually writing it.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Intel Quark SoC has the same interrupt routing mechanism as the
Queensbay platform, only the difference is that PCI devices'
INTA/B/C/D are harcoded and cannot be changed freely.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Describe all required properties needed by the irq router device tree.
Signed-off-by: Bin Meng
Acked-by: Simon Glass -
PIRQ routing is pretty much common in Intel chipset. It has several
PIRQ links (normally 8) and corresponding registers (either in PCI
configuration space or memory-mapped IBASE) to configure the legacy
8259 IRQ vector mapping. Refactor current Queensbay PIRQ routing
support using device tree and move it to a common place, so that we
can easily add PIRQ routing support on a new platform.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Enable legacy IDE support on the pc target and AHCI support on the
q35 target. Default configuration is to support the pc target.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Enable CONFIG_LBA48 to support large disks. CONFIG_ATAPI is only needed
by cmd_ide.c which is not common for modern x86 targets, hence remove it.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Eliminate the following build warning in atapi_inquiry():
"warning: assignment from incompatible pointer type [enabled by default]"Signed-off-by: Bin Meng
Acked-by: Simon Glass -
The legacy IDE device has a BAR4 (Bus Master Interface BAR) which
needs to be configured.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
Acked-by: Simon Glass -
Remove the '#undef DEBUG' in pci_auto.c so that we can enable debug
message output via '-DDEBUG'.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
It turns out that QEMU x86 emulated graphic card has a built-in
option ROM which can be run perfectly with native mode by U-Boot.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
CONFIG_FRAMEBUFFER_SET_VESA_MODE and CONFIG_FRAMEBUFFER_VESA_MODE
are not x86-specific, so move them to drivers/video/Kconfig and
make them depend on VIDEO_VESA driver. Some cosmetic fixes are
applied to the Kconfig help text as well.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
There is no reason to prevent CONFIG_VIDEO_VESA driver working on
non-x86 boards, so remove such limitation.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
gd is not referenced in those board files so DECLARE_GLOBAL_DATA_PTR
should be removed.Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Document how to build and test U-Boot with QEMU.
Signed-off-by: Bin Meng
Acked-by: Simon Glass