Hi Tom,

On 1/23/24 02:36, Tom Rini wrote:
On Mon, Jan 22, 2024 at 11:46:01PM +1100, Tim Lunn wrote:

Sonoff iHost is gateway device designed to provide a Smart Home Hub,
it is based on Rockchip RV1126. There is also a version with 2GB RAM
based off the RV1109 dual core SoC however this works with the same
config as the RV1126 for uboot purposes.
[snip]
diff --git a/include/configs/sonoff-ihost.h b/include/configs/sonoff-ihost.h
new file mode 100644
index 0000000000..8ed5d78687
--- /dev/null
+++ b/include/configs/sonoff-ihost.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#ifndef __SONOFF_IHOST_H
+#define __SONOFF_IHOST_H
+
+#define ROCKCHIP_DEVICE_SETTINGS \
+               "stdout=serial\0" \
+               "stderr=serial\0"
+
+#include <configs/rv1126_common.h>
+
+#undef BOOT_TARGET_DEVICES
+
+#define BOOT_TARGET_DEVICES(func) \
+       func(MMC, mmc, 0) \
+       func(MMC, mmc, 1)
+
+#endif /*  __SONOFF_IHOST_H */
We should be using standard boot, which removes most of this, thanks.
Thanks for the tip, I will check this out and fix for v2.

Regards
   Tim

Reply via email to