- Oct 13, 2016
-
-
Simon Glass authored
The signature for this macro has changed. Bring in the upstream version and adjust U-Boot's usages to suit. Signed-off-by:
Simon Glass <sjg@chromium.org> Update to drivers/power/pmic/palmas.c: Signed-off-by:
Keerthy <j-keerthy@ti.com> Change-Id: I6cc9021339bfe686f9df21d61a1095ca2b3776e8
-
Simon Glass authored
These have now landed upstream. The naming is different and in one case the function signature has changed. Update the code to match. This applies the following upstream commits by Thierry Reding <treding@nvidia.com> : 604e61e fdt: Add functions to retrieve strings 8702bd1 fdt: Add a function to get the index of a string 2218387 fdt: Add a function to count strings Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This includes small changes to the following functions, from upstream commit 6d1832c: - fdt_get_max_phandle() (upstream commit 84e0e134) - fdt_node_check_compatible (upstream commit 53bf130b) - fdt_setprop_inplace_namelen_partial() to remove useless brackets and use idx instead of index - _fdt_resize_property() to use idx instead of index - _fdt_splice() (upstream commit d4c7c25c) It also includes various typo fixes in libfdt.h Signed-off-by:
Simon Glass <sjg@chromium.org>
-
David Gibson authored
Using pointer arithmetic to generate a pointer outside a known object is, technically, undefined behaviour in C. Unfortunately, we were using that in fdt_offset_ptr() to detect overflows. To fix this we need to do our bounds / overflow checking on the offsets before constructing pointers from them. Reported-by:
David Binderman <dcb314@hotmail.com> Signed-off-by:
David Gibson <david@gibson.dropbear.id.au> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Hannes Schmelzer authored
Sometimes devicetree nodes and or properties are added out of the u-boot console, maybe through some script or manual interaction. The devicetree as loaded or embedded is quite small, so the devicetree has to be resized to take up those new nodes/properties. In original the devicetree was only extended by effective 4 * add_mem_rsv. With this commit we can add an argument to the "fdt resize" command, which takes the extrasize to be added. Signed-off-by:
Hannes Schmelzer <hannes.schmelzer@br-automation.com> Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Acked-by:
Simon Glass <sjg@chromium.org>
-
http://git.denx.de/u-boot-mmcTom Rini authored
-
git://git.denx.de/u-boot-dmTom Rini authored
-
- Oct 12, 2016
-
-
git://git.denx.de/u-boot-x86Tom Rini authored
-
git://git.denx.de/u-boot-tegraTom Rini authored
-
http://git.denx.de/u-boot-sunxiTom Rini authored
-
git://git.denx.de/u-boot-fsl-qoriqTom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com> Conflicts: include/configs/ls1021aqds.h include/configs/ls1021atwr.h
-
Lokesh Vutla authored
Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default in certain architectures. Migrate all config files. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Lokesh Vutla authored
Create a Kconfig entry for DISPLAY_CPUINFO and make it be the default in certain architectures. Migrate all config files. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Bin Meng authored
Legacy video driver macros are not needed. Clean them up. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
Now that all x86 boards have been converted to DM video, drop the legacy drivers. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
This converts coreboot to use DM framebuffer driver. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
With DM VESA driver on x86 boards, plat->base/size/align are all zeroes and starting address passed to alloc_fb() happens to be 1MB aligned, so this routine does not trigger any issue. On QEMU with U-Boot as coreboot payload, the starting address is within 1MB range (eg: 0x7fb0000), thus causes failure in video_post_bind(). Actually if plat->size is zero, it makes no sense to do anything in this routine. Add such check there. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
This adds a DM driver for coreboot framebuffer device. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
vbe_setup_video_priv() might be useful to other drivers. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
The kernel load address for zboot should be 0x1000000. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
At present only chromebook boards are converted to DM video. Other x86 boards are still using the legacy cfb_console driver. This switches to use DM version drivers. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
With DM conversion, information like "Video: 1024x768x16" is not shown anymore. Now add these verbose output back. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
This adds a DM driver for VESA-compatible device. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
For some unknown reason, coreboot framebuffer driver never works on QEMU since day 1. It seems the driver only works on real hardware. Document this issue. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Oct 11, 2016
-
-
Moritz Fischer authored
Move crosec commands from drivers/misc/cros_ec.c to cmd/cros_ec.c Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Moritz Fischer <moritz.fischer@ettus.com> Cc: Simon Glass <sjg@chromium.org> Cc: Heiko Schocher <hs@denx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Miao Yan <yanmiaobest@gmail.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Stefan Roese <sr@denx.de> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Nishanth Menon <nm@ti.com> Cc: u-boot@lists.denx.de
-
Stefan Brüns authored
The "hostfs ls" command prefixes each directory entry with either DIR, LNK or " " if it is a directory, symlink resp. regular file, or "???" for any other or unknown type. The latter only works if the type is set correctly, as the entry defaults to OS_FILET_REG and e.g. socket files show up as regular files. Signed-off-by:
Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present these functions do not touch addr, which can raising warnings about unused variables. This fixes the following warnings: sandbox_spl defconfig drivers/core/regmap.c: In function ‘regmap_read’: drivers/core/regmap.c:125:12: warning: unused variable ‘ptr’ [-Wunused-variable] uint32_t *ptr = map_physmem(map->base + offset, 4, MAP_NOCACHE); ^ drivers/core/regmap.c: In function ‘regmap_write’: drivers/core/regmap.c:134:12: warning: unused variable ‘ptr’ [-Wunused-variable] uint32_t *ptr = map_physmem(map->base + offset, 4, MAP_NOCACHE); Signed-off-by:
Simon Glass <sjg@chromium.org> Fixes: 3bfb8cb4 (dm: regmap: Implement simple regmap_read & regmap_write)
-
Stefan Brüns authored
Using readdir_r limits the maximum file name length and may even be unsafe, and is thus deprecated in since glibc 2.24. Signed-off-by:
Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by:
Simon Glass <sjg@chromium.org>
-
Stefan Brüns authored
The readdir linux manpage explicitly states (quoting POSIX.1) that sizeof(d_name) is not correct for determining the required size, but to always use strlen. Grow the buffer if needed. Signed-off-by:
Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by:
Simon Glass <sjg@chromium.org>
-
Stefan Brüns authored
Previously, after reading/creating the second dirent, the second entry would be chained to the first entry and the first entry would be linked to head. Instead, immediately link the first entry to head. Signed-off-by:
Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by:
Simon Glass <sjg@chromium.org>
-
Stefan Brüns authored
Signed-off-by:
Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by:
Simon Glass <sjg@chromium.org>
-
Keerthy authored
The driver provides regulator set/get voltage enable/disable functions for lp873x family of PMICs. Signed-off-by:
Keerthy <j-keerthy@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Keerthy authored
Add support to bind the regulators/child nodes with the pmic. Signed-off-by:
Keerthy <j-keerthy@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Keerthy authored
Enable CMD_REG option. Signed-off-by:
Keerthy <j-keerthy@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Keerthy authored
Enable palmas PMIC config options. Signed-off-by:
Keerthy <j-keerthy@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Keerthy authored
Enable palmas PMIC config options. Signed-off-by:
Keerthy <j-keerthy@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Keerthy authored
The driver provides regulator set/get voltage enable/disable functions for palmas family of PMICs. Signed-off-by:
Keerthy <j-keerthy@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Keerthy authored
Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write funtions to access pmic registers. Signed-off-by:
Keerthy <j-keerthy@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-