#
88033d73 |
| 14-Mar-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
#
b0675050 |
| 11-Feb-2016 |
Simon Glass <sjg@chromium.org> |
dm: core: Add uclass_first_device_err() to return a valid device A common pattern is to call uclass_first_device() and then check if it actually returns a device. Add a new function whic
dm: core: Add uclass_first_device_err() to return a valid device A common pattern is to call uclass_first_device() and then check if it actually returns a device. Add a new function which does this, returning an error if there are no devices in that uclass. Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
82d72a1b |
| 28-Jan-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
#
12f229ea |
| 22-Jan-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-fdt
|
#
1b30d61d |
| 21-Jan-2016 |
Simon Glass <sjg@chromium.org> |
dm: core: Export uclass_find_device_by_of_offset() It is sometimes useful to be able to find a device before probing it, perhaps to set up some platform data for it. Allow finding by of_
dm: core: Export uclass_find_device_by_of_offset() It is sometimes useful to be able to find a device before probing it, perhaps to set up some platform data for it. Allow finding by of_offset also. Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
6905f4d3 |
| 21-Jan-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
#
20af3c0a |
| 05-Jan-2016 |
Simon Glass <sjg@chromium.org> |
dm: core: Call uclass post_bind() after the driver's bind() method At present the uclass's post_bind() method is called before the driver's bind() method. This means that the uclass cann
dm: core: Call uclass post_bind() after the driver's bind() method At present the uclass's post_bind() method is called before the driver's bind() method. This means that the uclass cannot use any of the information set up by the driver. Move it later in the sequence to permit this. This is an ordering change which is always fairly major in nature. The main impact is that devices which have children will not see them appear in their bind() method. From what I can see, existing drivers do not look at their children in the bind() method, so this should be safe. Conceptually this change seems to result in a 'more correct' ordering, since the uclass (which is broader than the device) gets the last word. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
#
c275dfef |
| 19-Dec-2015 |
Simon Glass <sjg@chromium.org> |
dm: core: Provide uclass_find_device_by_phandle() only when needed This function cannot be used unless support is enabled for device tree control. Adjust the code to reflect that.
dm: core: Provide uclass_find_device_by_phandle() only when needed This function cannot be used unless support is enabled for device tree control. Adjust the code to reflect that. Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
Revision tags: v2016.01-rc1 |
|
#
588eec2a |
| 30-Oct-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
|
#
0eb4cf9c |
| 29-Oct-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
Revision tags: v2015.10, v2015.10-rc5 |
|
#
50dae85c |
| 07-Oct-2015 |
Bin Meng <bmeng.cn@gmail.com> |
dm: core: Remove unnecessary codes in uclass_pre_remove_device() dev->uclass->uc_drv->per_device_auto_alloc_size is to be freed in device_free(), so is dev->seq. Remove these unnecessary
dm: core: Remove unnecessary codes in uclass_pre_remove_device() dev->uclass->uc_drv->per_device_auto_alloc_size is to be freed in device_free(), so is dev->seq. Remove these unnecessary codes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
Revision tags: v2015.10-rc4 |
|
#
850f7887 |
| 13-Sep-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'rmobile' of git://git.denx.de/u-boot-sh
|
Revision tags: v2015.10-rc3 |
|
#
c9feb427 |
| 03-Sep-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-rockchip
|
#
3346c876 |
| 30-Aug-2015 |
Simon Glass <sjg@chromium.org> |
dm: Improve handling of a missing uclass When a uclass definition is missing, no drivers in that uclass can operate. This can happen if a board has a strange collection of options (e.g.
dm: Improve handling of a missing uclass When a uclass definition is missing, no drivers in that uclass can operate. This can happen if a board has a strange collection of options (e.g. the driver is enabled but the uclass is not). Unfortunately this is very confusing at present. Starting up driver model results in a -ENOENT error, which is pretty generic. Quite a big of digging is needed to get to the root cause. To help with this, change the error to a very strange one with no other users in U-Boot. Also add a debug message. Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
7c0e5d86 |
| 30-Aug-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-video
|
Revision tags: v2015.10-rc2 |
|
#
0a5804b5 |
| 11-Aug-2015 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
dm: drop CONFIG_DM_DEVICE_REMOVE from uncmd list We do not want to compile the DM remove code for SPL. Currently, we undef it in include/config_uncmd_spl.h (for C files) and in scri
dm: drop CONFIG_DM_DEVICE_REMOVE from uncmd list We do not want to compile the DM remove code for SPL. Currently, we undef it in include/config_uncmd_spl.h (for C files) and in scripts/Makefile.uncmd_spl (for Makefiles). This is really ugly. This commit demonstrates how we can deprecate those two files. Use $(SPL_) for the entry in the Makfile and CONFIG_IS_ENABLED() in C files. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
ae27120c |
| 06-Aug-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
Revision tags: v2015.10-rc1, v2015.07 |
|
#
d82ba4c0 |
| 02-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: core: Support finding a device by phandle It is common for one node to reference another via a phandle. Add support for obtaining an attached device by this method. As an example, a
dm: core: Support finding a device by phandle It is common for one node to reference another via a phandle. Add support for obtaining an attached device by this method. As an example, a node may have a 'power-supply' property which references a regulator, allowing the driver to turn on its power. Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
1a2728ae |
| 05-Aug-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-x86
|
#
2fda14ae |
| 31-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: core: Check for empty list in uclass_find_device() This function needs to check the list has entries before traversing it. Fix this bug. Signed-off-by: Simon Glass <sjg@chro
dm: core: Check for empty list in uclass_find_device() This function needs to check the list has entries before traversing it. Fix this bug. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
#
7a1af7a7 |
| 02-Aug-2015 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
|
#
6f4e0506 |
| 24-Jul-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-usb
|
#
413978d1 |
| 23-Jul-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-uniphier
|
#
3c9cc70d |
| 23-Jul-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-marvell
|
#
643e6902 |
| 07-Jul-2015 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
dm: change dm_warn() message into debug() in uclass_add() The command "dm uclass" tries to display all the UClasses, but some of them might be disabled by Kconfig. The function
dm: change dm_warn() message into debug() in uclass_add() The command "dm uclass" tries to display all the UClasses, but some of them might be disabled by Kconfig. The function do_dm_dump_uclass() iterates over all the UClass IDs and calls uclass_get() for each of them. Then, it displays annoying message "Cannot find uclass for id ..." every time it fails to get the UClass. As a result, we get much noisier log for the "dm uclass" command. => dm uclass uclass 0: root - * root_driver @ bfb54028, seq 0, (req -1) Cannot find uclass for id 1: please add the UCLASS_DRIVER() ... Cannot find uclass for id 2: please add the UCLASS_DRIVER() ... Cannot find uclass for id 3: please add the UCLASS_DRIVER() ... Cannot find uclass for id 4: please add the UCLASS_DRIVER() ... Cannot find uclass for id 5: please add the UCLASS_DRIVER() ... Cannot find uclass for id 6: please add the UCLASS_DRIVER() ... This commit suppresses these warnings. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|