summaryrefslogtreecommitdiffstats
path: root/ui/twin/pbt-client.c
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2013-04-15 15:23:05 -0700
committerJeremy Kerr <jk@ozlabs.org>2013-06-24 13:07:57 +0800
commitc11bcba9a99e858e618f4d872a5be7d52dcaaa5a (patch)
treefeff36ae437774c66bd19b9ce6b16b19e8d7da0e /ui/twin/pbt-client.c
parent9f895134427d9a72be3d296e596c0360014a9753 (diff)
downloadtalos-petitboot-c11bcba9a99e858e618f4d872a5be7d52dcaaa5a.tar.gz
talos-petitboot-c11bcba9a99e858e618f4d872a5be7d52dcaaa5a.zip
Add initial dtb support
Updates & fixes by Jeremy Kerr <jk@ozlabs.org>. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/twin/pbt-client.c')
-rw-r--r--ui/twin/pbt-client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/twin/pbt-client.c b/ui/twin/pbt-client.c
index 09d8e99..445c865 100644
--- a/ui/twin/pbt-client.c
+++ b/ui/twin/pbt-client.c
@@ -147,6 +147,8 @@ static int pbt_boot_option_add(struct device *dev, struct boot_option *opt,
opt->boot_image_file);
opt_data->bd->initrd = talloc_strdup(opt_data->bd,
opt->initrd_file);
+ opt_data->bd->dtb = talloc_strdup(opt_data->bd,
+ opt->dtb_file);
opt_data->bd->args = talloc_strdup(opt_data->bd,
opt->boot_args);
opt_data->opt = opt;
OpenPOWER on IntegriCloud