mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
sandbox: swap_case: Increase number of base address regs
At present the code overruns the bar[] array. Fix this. At the same time, drop the leading / from the "/spl" path so that we can run U-Boot SPL with: spl/u-boot-spl rather than requiring: /path/to/spl/u-boot-spl Reported-by: Coverity (CID: 131199) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
fb95283931
commit
fe996ec066
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
struct swap_case_platdata {
|
||||
u16 command;
|
||||
u32 bar[2];
|
||||
u32 bar[6];
|
||||
};
|
||||
|
||||
#define offset_to_barnum(offset) \
|
||||
|
|
Loading…
Reference in a new issue