mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
api: fix type mismatch
This patch fixes a type mismatch and thus removes a compiler warning when compiling with CONFIG_API on powerpc. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
This commit is contained in:
parent
9bc2e4eee3
commit
12c6670f87
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ int platform_sys_info(struct sys_info *si)
|
||||||
si->bar = gd->bd->bi_bar;
|
si->bar = gd->bd->bi_bar;
|
||||||
#undef bi_bar
|
#undef bi_bar
|
||||||
#else
|
#else
|
||||||
si->bar = NULL;
|
si->bar = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM);
|
platform_set_mr(si, gd->bd->bi_memstart, gd->bd->bi_memsize, MR_ATTR_DRAM);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue