summaryrefslogtreecommitdiff
path: root/drivers/fpga/sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-01-15 18:27:06 -0700
committerTom Rini <trini@konsulko.com>2025-01-22 09:47:49 -0600
commit27008ce51388faa448bf7b20b7e8104b8bc972a6 (patch)
tree92e92d35800c4ca824fbf9fe23ae3964c49545c0 /drivers/fpga/sandbox.c
parent00f521903ee3768ef2327dbcfdac9029f243f3cd (diff)
vbe: Convert some checks to assertions
VBE is currently quite careful with function arguments because it is used in VPL which cannot be updated after manufacture. Bugs can cause security holes. Unfortunately this adds to code size. In several cases we are reading values from a devicetree which is part of U-Boot (or at least VPL) and so known to be good. Also, in several places, getting bad values does not matter. So change a few checks to assert() to reduce code size. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/fpga/sandbox.c')
0 files changed, 0 insertions, 0 deletions