This is an automated email from Gerrit. Jiri Kastner ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/6146
-- gerrit commit 22f120005ba69bda19b62f8f683ae16e189735d3 Author: James Murray <[email protected]> Date: Tue Apr 6 20:01:31 2021 +0200 target: enable MPC5xxx targets Change-Id: Ieb79de0c90dee59181c3d81be3458fa6e57f1b47 Signed-off-by: Jiri Kastner <[email protected]> diff --git a/src/target/Makefile.am b/src/target/Makefile.am index 34a7851..5adda5d 100644 --- a/src/target/Makefile.am +++ b/src/target/Makefile.am @@ -18,8 +18,10 @@ noinst_LTLIBRARIES += %D%/libtarget.la $(NDS32_SRC) \ $(STM8_SRC) \ $(INTEL_IA32_SRC) \ + $(MPC56XX_SRC) \ + $(MPC57XX_SRC) \ $(ESIRISC_SRC) \ - $(ARC_SRC) \ + $(ARC_SRC) \ %D%/avrt.c \ %D%/dsp563xx.c \ %D%/dsp563xx_once.c \ @@ -157,10 +159,24 @@ ESIRISC_SRC = \ %D%/esirisc_trace.c ARC_SRC = \ - %D%/arc.c \ - %D%/arc_cmd.c \ - %D%/arc_jtag.c \ - %D%/arc_mem.c + %D%/arc.c \ + %D%/arc_cmd.c \ + %D%/arc_jtag.c \ + %D%/arc_mem.c + +MPC56XX_SRC = \ + %D%/mpc5xxx.c \ + %D%/mpc5xxx_jtag.c \ + %D%/mpc56xx.c \ + %D%/mpc56xx_jtag.c \ + %D%/mpc56xx_regs.c + +MPC57XX_SRC = \ + %D%/mpc5xxx.c \ + %D%/mpc5xxx_jtag.c \ + %D%/mpc57xx.c \ + %D%/mpc57xx_jtag.c \ + %D%/mpc57xx_regs.c %C%_libtarget_la_SOURCES += \ %D%/algorithm.h \ @@ -247,6 +263,14 @@ ARC_SRC = \ %D%/lakemont.h \ %D%/x86_32_common.h \ %D%/arm_cti.h \ + %D%/mpc5xxx_jtag.h \ + %D%/mpc5xxx.h \ + %D%/mpc56xx_regs.h \ + %D%/mpc56xx_jtag.h \ + %D%/mpc56xx.h \ + %D%/mpc57xx_regs.h \ + %D%/mpc57xx_jtag.h \ + %D%/mpc57xx.h %D%/esirisc.h \ %D%/esirisc_jtag.h \ %D%/esirisc_regs.h \ diff --git a/src/target/target.c b/src/target/target.c index 200368b..aa211bf 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -105,6 +105,8 @@ extern struct target_type nds32_v3m_target; extern struct target_type or1k_target; extern struct target_type quark_x10xx_target; extern struct target_type quark_d20xx_target; +extern struct target_type mpc56xx_target; +extern struct target_type mpc57xx_target; extern struct target_type stm8_target; extern struct target_type riscv_target; extern struct target_type mem_ap_target; @@ -148,6 +150,8 @@ static struct target_type *target_types[] = { &arcv2_target, &aarch64_target, &mips_mips64_target, + &mpc56xx_target, + &mpc57xx_target, NULL, }; --
