don't stop pid
diff --git a/objects/flash_bios_obj.c b/objects/flash_bios_obj.c
index 2d8303f..319cd84 100644
--- a/objects/flash_bios_obj.c
+++ b/objects/flash_bios_obj.c
@@ -58,6 +58,9 @@
{
printf("ERROR FlashControl: Unable to init\n");
}
+ sleep(3);
+ rc = update(f,obj_path);
+
}
return TRUE;
}
@@ -419,7 +422,7 @@
guint id;
loop = g_main_loop_new (NULL, FALSE);
- signal(SIGCHLD, catch_child);
+ //signal(SIGCHLD, catch_child);
id = g_bus_own_name (DBUS_TYPE,
dbus_name,
G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT |
diff --git a/objects/pflash/ast-sf-ctrl.c b/objects/pflash/ast-sf-ctrl.c
index eab48ea..b154682 100644
--- a/objects/pflash/ast-sf-ctrl.c
+++ b/objects/pflash/ast-sf-ctrl.c
@@ -319,7 +319,6 @@
ct->ctl_read_val = save_read_val & 0xfffff0ff;
/* Check if calibration data is suitable */
-/*
if (!ast_calib_data_usable(golden_buf, CALIBRATE_BUF_SIZE)) {
FL_INF("AST: Calibration area too uniform, "
"using low speed\n");
@@ -327,7 +326,7 @@
free(test_buf);
return 0;
}
-*/
+
/* Now we iterate the HCLK dividers until we find our breaking point */
for (i = 5; i > 0; i--) {
uint32_t tv, freq;