- Mar 29, 2016
-
-
This bit needs to be set for system suspend/resume to work. This setting will be documented in an updated TRM at some time in the future. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
- Mar 28, 2016
-
-
Tom Rini authored
This reverts commit 59deb7fe. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
This reverts commit 3bc8ffd9. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Mar 27, 2016
-
-
fw_senten/fw_printenv can be compiled as a tools library, excluding the fw_env_main object. Reported-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Andreas Fenkart <andreas.fenkart@digitalstrom.com>
-
dma_addr_t holds any valid DMA address. If the DMA API only uses 32-bit addresses, dma_addr_t need only be 32 bits wide. Bus addresses, e.g., PCI BARs, may be wider than 32 bits, but drivers do memory-mapped I/O to ioremapped kernel virtual addresses, so they don't care about the size of the actual bus addresses. Also 32 bit ARM systems with LPAE enabled can use 64bit address space, but DMA still use 32bit address like in case of DRA7 and Keystone platforms. This is inspired from the Linux kernel types implementation[1] [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/linux/types.h#n142 Acked-by:
Lukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
When switching between EFI context and U-Boot context we need to swap the register that "gd" resides in. Some functions slipped through here, with efi_allocate_pool / efi_free_pool not doing the switch correctly and efi_return_handle switching too often. Fix them all up to make sure we always have consistent register state. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Otherwise flash remains in read status mode and it's not possible to access data on flash. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com> Acked-by:
Stefan Roese <sr@denx.de>
-
It speeds up loading kernel from SD or USB a lot. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
Tested with OHCI and pxafb drivers - no issues found Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
SRAM is used for early stack, but kernel disables its clock on suspend. Re-enable SRAM clock on startup, otherwise u-boot crashes on resume from suspend. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
3rd port can be used as a device or host. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com> Acked-by:
Marek Vasut <marex@denx.de>
-
zipitz2 supports DT boot since linux-4.4 (not mainlined yet) Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
z2's screen is rotated by 270 degrees Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com> Acked-by:
Marek Vasut <marex@denx.de>
-
zipitz2 was dropped in 49d8899b Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
Check return value of strdup. Signed-off-by:
Peng Fan <van.freenix@gmail.com> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@konsulko.com>
-
The RPi3 typically uses the regular UART for high-speed communication with the Bluetooth device, leaving us the mini UART to use for the serial console. Add support for this UART so we can use it. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org>
-
The MAC addresses for the PRU Ethernet ports will be available in the board EEPROM as an address range. Populate those MAC addresses (if valid) into the u-boot environment so that they can be passed on to the device tree during fdt_fixup_ethernet(). Signed-off-by:
Roger Quadros <rogerq@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Some TI boards (e.g. IDK) have 4 to 6 ethernet ports and this function is handy at board.c to configure the MAC address of the ports. Signed-off-by:
Roger Quadros <rogerq@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Since commit b391d743 "debug_uart: output CR along with LF", the handling in puts() is duplicated, not to mention that it should output carriage return before line feed. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
A carriage return needs to execute before a line feed. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
When DEBUG_RTL8169 is on, a build error occurs in function 'rtl_init': error: 'dev' undeclared. Fix this. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
send_cmd response is valid only when no error happened. If an error occured, let mmc_send_cmd() print the return value to aid debugging. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Correct the indention level of switch..case statements. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Minor change: chosen is written with one "o". No code change here, only comment & printf. Signed-off-by:
Alexander Merkle <alexander.merkle@lauterbach.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Fix typo "choosen" instead of "chosen" in pcm052.dts. Not tested but should fix boot process and terminal output. Signed-off-by:
Alexander Merkle <alexander.merkle@lauterbach.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Fix typo "choosen" instead of "chosen" in vf610-twr.dts. Fixes boot process and terminal output for Vybrid series. Signed-off-by:
Alexander Merkle <alexander.merkle@lauterbach.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
In rare circumstances two dhcp clients may generate the same bootp ID. If this happens it is vital that the client also checks the hw address in the received response to prevent IP address conflicts. Signed-off-by:
Anton Persson <don.juanton@gmail.com>
-
Fixes: drivers/mmc/bcm2835_sdhci.c: In function ‘bcm2835_sdhci_init’: drivers/mmc/bcm2835_sdhci.c:181:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Fixes: arch/arm/mach-bcm283x/mbox.c: In function ‘bcm2835_mbox_call_prop’: arch/arm/mach-bcm283x/mbox.c:118:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] arch/arm/mach-bcm283x/mbox.c:126:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Currently, CONFIG_BCM2835 is defined for all BCM283x builds and _BCM2836 is defined when building for that SoC. That means there isn't a single define that means "exactly BCM2835". This will complicate future patches where BCM2835-vs-anything-else needs to be determined simply. Modify the code to define one or the other of CONFIG_BCM2835/BCM2836 so future patches are simpler. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
It is possible to compile and run the sandbox target with clang currently, so document that as well. Cc: Jeroen Hofstee <jeroen@myspectrum.nl> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
The bcm2835 frame buffer is in RAM, so we can easily map it as cached and gain all the glorious performance boost that brings with it. Signed-off-by:
Alexander Graf <agraf@suse.de> Tested-by:
Stephen Warren <swarren@wwwdotorg.org> Acked-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Now that we have support for running with caches enabled in HYP mode, opt in to that on the Raspberry Pi 2. This brings a significant performance boost. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
When compiling the code for 64bit, the lcd code emits warnings because it tries to cast pointers to 32bit values. Fix it by casting them to longs instead, actually properly aligning with the function prototype. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
We currently always modify the SVC versions of registers and only support the short descriptor PTE format. Some boards however (like the RPi2) run in HYP mode. There, we need to modify the HYP version of system registers and HYP mode only supports the long descriptor PTE format. So this patch introduces support for both long descriptor PTEs and HYP mode registers. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
We want to be able to reuse device drivers from 32bit code, so let's add definitions for all the dcache options that 32bit code has. While at it, fix up the DCACHE_OFF configuration. That was setting the bits to declare a PTE a PTE and left the MAIR index bit at 0. Drop the useless bits and make the index explicit. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Add the pinmux data for rev C evm. This is different from previous revisions of the platform thanks to the deltas introduced both from silicon side and from SoC side. Based on J6EcoES2_EVM_Base_Config-20160309b and PCT-DRA72x-v1.3.0.7 for SR2.0 silicon. Signed-off-by:
Nishanth Menon <nm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-