summaryrefslogtreecommitdiff
path: root/drivers/net/dwc_eth_qos.c
diff options
context:
space:
mode:
authorRasmus Villemoes <ravi@prevas.dk>2024-10-24 14:27:35 +0200
committerFabio Estevam <festevam@gmail.com>2024-10-29 16:25:25 -0300
commitbfbbd8472edbcff1f530ef8e1d74c56af74ecf13 (patch)
tree1f254f81b249be51a74cffb6f1a66ea8122c135d /drivers/net/dwc_eth_qos.c
parentdfe9e29f8381213c377bfa1de4d1ba7587c3b1c3 (diff)
imx: hab: fix size of IVT+CSF blob tacked on to u-boot.itb
Loading flash.bin using uuu fails when flash.bin does not have the right size. When flash.bin is loaded from some storage medium (sd card/emmc), SPL just loads some random garbage bytes from beyond what has been populated when flash.bin was written, but when loaded via uuu, SPL hangs waiting for the host to send the expected number of bytes. Which is (size of FIT image aligned to 0x1000)+CONFIG_CSF_SIZE. The alignment to 0x1000 is already done and is necessary in all cases because that's the exact expected location of the 32 byte IVT header. But the IVT+CSF blob tacked onto the end must be a total of CONFIG_CSF_SIZE. This is exactly the same fix as 89f19f45d650, except that this time around I don't know how to cleanly get CONFIG_CSF_SIZE. Fixes: bc6beae7c55f (binman: Add nxp_imx8mcst etype for i.MX8M flash.bin signing) Signed-off-by: Rasmus Villemoes <ravi@prevas.dk> Tested-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/net/dwc_eth_qos.c')
0 files changed, 0 insertions, 0 deletions