mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
dm: devres: Add a new OFDATA phase
Since the ofdata_to_platdata() method can allocate resources, add it as a new devres phase. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
af68411dd1
commit
42a0ce576f
4 changed files with 37 additions and 9 deletions
|
@ -52,8 +52,9 @@ enum {
|
|||
TEST_DEVRES_COUNT = 10,
|
||||
TEST_DEVRES_TOTAL = TEST_DEVRES_SIZE * TEST_DEVRES_COUNT,
|
||||
|
||||
/* A different size */
|
||||
/* A few different sizes */
|
||||
TEST_DEVRES_SIZE2 = 15,
|
||||
TEST_DEVRES_SIZE3 = 37,
|
||||
};
|
||||
|
||||
#endif /* __TEST_TEST_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue