-# same as OpenMoko?
-reset_config trst_and_srst
+# Target configuration for the Samsung 2440 system on chip
+# Tested on a S3C2440 Evaluation board
+# Processor : ARM920Tid(wb) rev 0 (v4l)
+# Info: JTAG device found: 0x0032409d (Manufacturer: 0x04e, Part: 0x0324, Version: 0x0)
+
+#jtag scan chain
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
-target arm920t little reset_run 0 arm920t
+
+#target <type> <startup mode>
+target arm920t little 0 arm920t
+
+#reset configuration
+reset_config trst_and_srst
+
working_area 0 0x200000 0x4000 backup