diff options
author | Simon Glass <sjg@chromium.org> | 2021-10-14 12:47:56 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-11-11 19:02:11 -0500 |
commit | fd3fa5c3941d4de0736d066f77d0158cf933e207 (patch) | |
tree | 3e8291c7ad555000c4c1852c82351cc6e9736542 /drivers/ddr/microchip/ddr2_timing.h | |
parent | 3d24636e925f89841aac4482c8cc372a2b9d96a6 (diff) |
pxe: Use a context pointer
At present the PXE functions pass around a pointer to command-table entry
which is very strange. It is only needed in a few places and it is odd to
pass around a data structure from another module in this way.
For bootmethod we will need to provide some context information when
reading files.
Create a PXE context struct to hold the command-table-entry pointer and
pass that around instead. We can then add more things to the context as
needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Artem Lapkin <email2tema@gmail.com>
Tested-by: Artem Lapkin <email2tema@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/ddr/microchip/ddr2_timing.h')
0 files changed, 0 insertions, 0 deletions