- Jan 19, 2018
-
-
Eugeniy Paltsev authored
We'd like to keep IOC HW at the same state as t is right after reset when we start Linux kernel so there will be no re-configuration of IOC on the go. The point is U-Boot doesn't benefit a lot from IOC as it doesn't do a lot of DMA operations especially on multiple cores simultaneously. At the same time re-configuration of IOC in run-time might become quite a tricky experience because we need to make sure there're no DMA trannsactions in flight otherwise unexpected consequencses might affect us much later and debugging those kinds of issues will be a real nightmare. That said let's make our life easier a little bit. Signed-off-by:
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com>
-
Eugeniy Paltsev authored
Previous SLC management implementation is broken. Seems like it was never sufficiently tested probably because most of the time IOC was used instead (i.e. no manual cache operations were done). Now if we disable IOC in U-boot we'll get a lot of errors while using DMA-enabled peripherals. This time we fix it by substitution of broken per-line SLC operations region operations as it is done in the Linux kernel (we took it from v4.14 which is the latest stable as of today). Among other things this implementation might be a bit faster because instead of iteration over each and every cache line we're taking care about entire region in one go. Main changes: * Replaced __slc_line_op (per line operations) by __slc_rgn_op (region operations). * Reworked __slc_entire_op to get rid of __after_slc_op and __before_slc_op functions. Note flush fix (flush only instead of flush-n-inv when OP_FLUSH is used, see [1] for more details) is already incorporated here. * Added SLC invalidation to invalidate_icache_all(). * Added (start >= end) check to invalidate_dcache_range() and flush_dcache_range() as some buggy drivers pass region start == end. * Added read-out of MMU BCR so we may know if PAE40 exists in HW and then act on a particular AUX regs accordingly. [1] http://lists.infradead.org/pipermail/linux-snps-arc/2018-January/003357.html Signed-off-by:
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com>
-
- Jan 17, 2018
-
-
Ashish Kumar authored
Signed-off-by:
Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Ashish Kumar authored
ENV variables can now be used before relocation. Signed-off-by:
Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Ashish Kumar authored
Signed-off-by:
Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Yuantian Tang authored
Sata is equipped on ls1012a and can be a boot source. Add sata boot support as an option if available. Signed-off-by:
Tang Yuantian <andy.tang@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Yuantian Tang authored
Sata is equipped on ls1046a and can be a boot source. Add sata boot support as an option if available. Signed-off-by:
Tang Yuantian <andy.tang@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Tom Rini authored
Both the "qixis_reset" and esbc_validate" commands can only be used in full U-Boot so do not build them in SPL. As part of this rework the qixis code to declare things as static and make use of __weak for function aliases. Cc; York Sun <york.sun@nxp.com> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
York Sun <york.sun@nxp.com>
- Jan 16, 2018
-
-
Tom Rini authored
In some cases when "more" is told to page a given file it will prepend the output with: :::::::::::::: /PATH/TO/THE/FILE :::::::::::::: And when this happens the output will not match the expected length. Further, if we use a different pager we will instead fail the coverage tests as we will not have 100% coverage. Update the help test to remove the string in question. Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
git://git.denx.de/u-boot-i2cTom Rini authored
-
git://git.denx.de/u-boot-dmTom Rini authored
-
Peng Fan authored
The operation should be OR, not BIT OR. Signed-off-by:
Peng Fan <peng.fan@nxp.com> Cc: Heiko Schocher <hs@denx.de> Cc: Stefano Babic <sbabic@denx.de>
-
Peng Fan authored
Modify the lpi2c alias seq number to align with device. Then no need to add 4 to get the device index. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
The number 4 is dedicated on i.MX7ULP, but lpi2c will be reused on i.MX8, 4 is not valid. The seq number could be configured by alias node. The following patch will use i2c4 as the begin for i.MX7ULP. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Simon Glass authored
Set this to our own device-tree compiler since we know it is new enough to run the tests. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The system device-tree compiler may not be new enough to run the tests we use in U-Boot (e.g. with binman). Allow use of a DTC environment variable to point to the correct dtc. If not defined, the dtc on the default PATH is used. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Andre Przywara authored
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Remove the unit address from the config node name when U-Boot deals with secure firmware FIT images. Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
-
Andre Przywara authored
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Correct the generated unit names when U-Boot's mkimage creates a FIT image. Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
-
Andre Przywara authored
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Adjust the FIT build script for 64-bit Allwinner boards to remove the bogus addresses from the node names and avoid the warnings. This avoids a warning with recent versions of the dtc tool. Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
-
Andre Przywara authored
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Fix all occurences in the tree where node names were mentioned in comments, to not give bad examples to the reader. Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
-
Andre Przywara authored
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Fix all occurences in various documentation files where this was not observed, to not give bad examples to the reader. Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
-
Andre Przywara authored
The DT spec demands a unit-address of a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Fix all occurences in the FIT image example files where this was not observed, to not give bad examples to the reader. Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
-
Andre Przywara authored
The DT spec demands a unit-address in a node name to match the "reg" property in that node. Newer dtc versions will throw warnings if this is not the case. Fix all occurences in the FIT image documentation files where this was not observed, to not give bad examples to the reader. Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
-
Simon Glass authored
Binman has 100% test coverage for the code as it is at present. To encourage it to stay that way, run the code-coverage test as part of the normal U-Boot tests. This is RFC because it requires the Python code coverage tools to be available. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Run tests for the Python tools used by U-Boot. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the test script to run the dtoc tests also. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the test script to run the buildman tests also. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the test script to run the patman tests also. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the test script to run the binman tests also. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
git://git.denx.de/u-boot-netTom Rini authored
-
- Jan 15, 2018
-
-
git://git.denx.de/u-boot-imxTom Rini authored
-
Rob Clark authored
Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
If lk lights up display and populates simple-framebuffer node, it will also setup a reserved-memory node (needed by simplefb on linux). But it isn't clever enough to cope when the reserved-memory node is not present. Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Jorge Ramirez-Ortiz authored
We dont need to keep copies of the properties that we are going to fixup since we will be using the dtb provided by the firmware. Signed-off-by:
Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
-
Rob Clark authored
Similar to CONFIG_OF_BOARD, but in this case the fdt is still built by u-boot build. This allows the board to patch the fdt, etc. In the specific case of dragonboard 410c, we pass the u-boot generated fdt to the previous stage of bootloader (by embedding it in the u-boot.img that is loaded by lk/aboot), which patches the fdt and passes it back to u-boot. Signed-off-by:
Rob Clark <robdclark@gmail.com> [trini: Update board_fdt_blob_setup #if check] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Jorge Ramirez-Ortiz authored
this should be the norm for armv8 platforms. Signed-off-by:
Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
-
Jorge Ramirez-Ortiz authored
The firmware that runs before u-boot modifies u-boot's device tree adding the local-mac-address and local-bd-address properties for the compatibles "qcom,wcnss-bt" and "qcom,wcnss-wlan". This commit reads that firmware, retrieves the properties and fixups the device tree that is passed to the kernel before booting. Signed-off-by:
Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
-
Jorge Ramirez-Ortiz authored
the kernel fails to boot when it goes over the limit. Signed-off-by:
Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
-
Jorge Ramirez-Ortiz authored
Signed-off-by:
Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
-