1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-11 23:36:21 +01:00
Files
u-boot-megous/include
Simon Glass cb43ac184f dm: Don't allow U_BOOT_DEVICE() when of-platdata is used
With of-platdata, the devicetree is supposed to specify all the devices
in the system. So far this hasn't really mattered since of-platdata still
works correctly.

However, new of-platdata features rely on numbering the devices in a
particular order so that they can be referenced by a single integer. It is
tricky to implement this efficiently when other devices are present in the
build.

To address this, disable use of U_BOOT_DEVICE() when of-platdata is
enabled. This seems acceptable as it is not supposed to be used at all,
except in SPL/TPL, where of-platdata is the recommended approach.

This breaks one non-compliant boards at present: mx6cuboxi

Signed-off-by: Simon Glass <sjg@chromium.org>
(disable CONFIG_IMX_THERMAL for mx6cuboxi to avoid a build error)
2020-10-29 14:42:59 -06:00
..
2019-12-06 16:44:20 -05:00
2019-10-16 05:42:27 +02:00
2020-09-30 16:55:03 -04:00
2020-10-23 16:38:33 -04:00
2020-10-29 14:42:18 -06:00
2020-10-22 09:54:53 -04:00
2020-05-11 10:16:49 +05:30
2020-04-17 12:32:36 -04:00
2020-10-06 09:07:54 -06:00
2020-07-09 12:33:24 +08:00
2020-05-18 17:33:33 -04:00
2020-07-28 19:30:39 -06:00
2020-02-05 19:33:46 -07:00
2020-09-01 14:47:43 +02:00
2019-04-23 20:26:43 -06:00
2020-02-05 19:33:46 -07:00
2019-10-13 23:34:43 +02:00
2020-05-07 09:01:42 -04:00
2020-08-03 22:19:54 -04:00
2020-09-06 21:21:41 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 17:33:33 -04:00
2020-08-07 22:31:32 -04:00
2020-10-14 14:00:44 +08:00
2020-05-18 17:33:33 -04:00
2020-06-12 13:14:07 -04:00
2019-02-20 15:27:09 +08:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2019-10-14 09:31:41 +02:00
2020-01-20 15:38:16 +01:00
2018-12-05 06:01:35 -07:00
2019-11-07 18:39:16 -05:00
2018-04-06 17:04:33 -04:00
2020-05-18 18:36:55 -04:00
2019-08-11 16:43:41 -04:00
2020-04-17 12:32:36 -04:00
2020-08-04 23:30:02 -04:00
2020-10-27 13:50:53 -04:00
2019-12-02 18:23:11 -05:00
2020-01-25 12:04:36 -05:00
2020-02-05 19:33:46 -07:00
2018-10-09 04:40:27 -06:00
2020-05-18 17:33:33 -04:00
2020-07-17 10:47:19 -04:00
2020-10-23 16:52:09 +05:30
2019-05-20 13:50:34 +02:00
2020-06-14 21:07:20 +02:00
2020-09-30 11:55:23 -04:00
2020-02-05 19:33:46 -07:00
2020-06-14 21:07:20 +02:00
2020-07-09 06:02:44 +02:00
2020-09-30 11:55:23 -04:00
2020-05-18 17:33:31 -04:00
2018-07-19 16:31:37 -04:00
2020-02-05 19:33:46 -07:00
2020-08-03 22:19:54 -04:00
2020-08-03 22:19:54 -04:00
2019-02-01 16:59:12 +01:00
2020-08-11 20:34:46 +05:30
2020-08-07 22:31:32 -04:00
2019-05-21 17:33:23 -06:00
2020-08-23 13:43:10 -04:00
2020-10-22 09:54:53 -04:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2020-08-03 22:19:54 -04:00
2020-01-21 15:56:15 +01:00
2020-04-24 16:40:09 -04:00
2018-09-28 18:26:32 +02:00
2020-08-03 22:19:54 -04:00
2020-08-03 22:19:54 -04:00