X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fjtagxscale.h;h=57973baddb392f02d01bb29d1a1364ec05ff95eb;hp=f1f17fa9401ceb1e79156d70c00d56d31f9ab6b6;hb=88da22de367f4d959d31f1b5363e2a8e22109451;hpb=278a9487e60fdcf3e96236580f9542c218a8c1f1 diff --git a/firmware/include/jtagxscale.h b/firmware/include/jtagxscale.h index f1f17fa..57973ba 100644 --- a/firmware/include/jtagxscale.h +++ b/firmware/include/jtagxscale.h @@ -7,6 +7,13 @@ /* NOTE: I heavily cribbed from the ARM7TDMI jtag implementation. Credit where * credit is due. */ +#ifndef JTAGXSCALE_H +#define JTAGXSCALE_H + +#include "app.h" + +#define JTAGXSCALE 0x15 + /* * Utility Macros */ @@ -81,4 +88,7 @@ unsigned long jtag_xscale_shift_n(unsigned long word, * out the TDO and return it. */ unsigned long jtag_xscale_idcode(); +extern app_t const jtagxscale_app; + +#endif // JTAGXSCALE_H