diff loadtools/romload.c @ 17:24b88c119465

loadtools: hw parameter file reading implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 May 2013 22:55:28 +0000
parents e2e80a09338e
children 54392d1ea474
line wrap: on
line diff
--- a/loadtools/romload.c	Fri May 03 07:27:53 2013 +0000
+++ b/loadtools/romload.c	Fri May 03 22:55:28 2013 +0000
@@ -67,6 +67,20 @@
 	beacon_interval = i;
 }
 
+/*
+ * The following functions alter some of the parameters sent to the
+ * boot ROM in the <p command.
+ */
+set_romload_pll_conf(byte)
+{
+	param_cmd[3] = byte;
+}
+
+set_romload_rhea_cntl(byte)
+{
+	param_cmd[6] = byte;
+}
+
 static int
 expect_response(timeout)
 {