aboutsummaryrefslogtreecommitdiff
path: root/drivers/core
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-28 20:35:02 -0700
committerSimon Glass <sjg@chromium.org>2021-01-05 12:26:35 -0700
commita7d5f96ef1cf13b83a143d6977e2937bcc1b6c75 (patch)
tree9a2d4179b4c5ec222b8b337f37f6a732938dde54 /drivers/core
parentf31fa99a9ed92c223fbf56e07eae57e7bdea19ae (diff)
dtoc: Add the method for each command to OutputFile
Rather than the if/else construct, update OutputFile with the method to call to process each command. This is easier to maintain as the number of commands increases. Rename generate_tables to generate_plat since it better describes what is being generated ('plat' is the U-Boot name for platform data). With this, each output method needs to have the same signature. Store the output structures in a member variable instead of using parameters, to accomplish this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core')
0 files changed, 0 insertions, 0 deletions