Asami Doi uploaded patch set #4 to this change.
lib: Call extract() only when initrd.size is more than 0
This CL avoids the fail that happens when initrd.size is 0. extract()
returns false even though initrd.size is already 0. In the case of
size is 0, we don't have to extract it. Call extract() only when
initrd.size is more than 0.
Change-Id: I85aa33d2c2846b6b3a58df834dda18c47433257d
Signed-off-by: Asami Doi <d0iasm.pub@gmail.com>
---
M src/lib/fit_payload.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/34535/4
To view, visit change 34535. To unsubscribe, or for help writing mail filters, visit settings.