#include "config.h"
#endif
-#include "flash.h"
+#include "imp.h"
#include <target/embeddedice.h>
-#include <target/image.h>
#include <target/algorithm.h>
+#include <target/image.h>
#if 0
struct target *target = info->target;
struct reg_param reg_params[3];
- struct armv4_5_algorithm armv4_5_info;
- armv4_5_info.common_magic = ARMV4_5_COMMON_MAGIC;
- armv4_5_info.core_mode = ARMV4_5_MODE_SVC;
- armv4_5_info.core_state = ARMV4_5_STATE_ARM;
+ struct arm_algorithm armv4_5_info;
+ armv4_5_info.common_magic = ARM_COMMON_MAGIC;
+ armv4_5_info.core_mode = ARM_MODE_SVC;
+ armv4_5_info.core_state = ARM_STATE_ARM;
init_reg_param(®_params[0], "r0", 32, PARAM_IN_OUT);
init_reg_param(®_params[1], "r1", 32, PARAM_OUT);