Simon Glass a7d5f96ef1 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>
2021-01-05 12:26:35 -07:00
..
2020-12-13 07:58:17 -07:00
2019-10-08 16:35:59 +02:00
2021-01-05 12:26:35 -07:00
2019-12-06 16:44:20 -05:00
2019-07-29 00:20:31 +02:00
2020-10-09 12:02:26 -04:00
2019-11-04 18:15:32 -07:00