Skip to content

Commit

Permalink
hardcode htif to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
zhemao authored and Nathan Pemberton committed Oct 17, 2018
1 parent e5846a2 commit bbae01a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions machine/htif.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,15 @@ static void htif_done(const struct fdt_scan_node *node, void *extra)

void query_htif(uintptr_t fdt)
{
struct fdt_cb cb;
struct htif_scan scan;
htif = 1;
//struct fdt_cb cb;
//struct htif_scan scan;

memset(&cb, 0, sizeof(cb));
cb.open = htif_open;
cb.prop = htif_prop;
cb.done = htif_done;
cb.extra = &scan;
//memset(&cb, 0, sizeof(cb));
//cb.open = htif_open;
//cb.prop = htif_prop;
//cb.done = htif_done;
//cb.extra = &scan;

fdt_scan(fdt, &cb);
//fdt_scan(fdt, &cb);
}

0 comments on commit bbae01a

Please sign in to comment.