Skip to content

Commit

Permalink
add printf to display lmb base & size
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w committed Dec 2, 2018
1 parent 254b277 commit e076325
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/lmb.c
Expand Up @@ -108,6 +108,7 @@ void lmb_init(struct lmb *lmb)
void lmb_init_and_reserve(struct lmb *lmb, phys_addr_t base, phys_size_t size,
void *fdt_blob)
{
printf("lmb_init: base: 0x%x, size: 0x%x\n", base, size);
lmb_init(lmb);
lmb_add(lmb, base, size);
arch_lmb_reserve(lmb);
Expand Down

0 comments on commit e076325

Please sign in to comment.