From 5ce330afb6b827e7534c2e7e0d9bf99bf4b0d3bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Tue, 17 Feb 2015 07:27:20 +0000 Subject: [PATCH] added comments about FPGA_JTAG_LOADED --- BaS_gcc/bas.lk.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/BaS_gcc/bas.lk.in b/BaS_gcc/bas.lk.in index 61a72da..0ac26a7 100644 --- a/BaS_gcc/bas.lk.in +++ b/BaS_gcc/bas.lk.in @@ -229,8 +229,10 @@ SECTIONS __SUP_SP = __RAMBAR1 + __RAMBAR1_SIZE - 4; /* - * this flag (if 1) indicates that FPGA configuration has been loaded through JTAG - * and shouldn't be overwritten on boot + * FPGA_JTAG_LOADED (if 1) indicates that FPGA configuration has been loaded through JTAG + * and shouldn't be overwritten on boot. For this to work (and not let us be faked + * by a random uninitialised value), __FPGA_JTAG_VALID is used as a "magic value" and must be + * 0xaffeaffe to make this work. */ __FPGA_JTAG_LOADED = __RAMBAR1; __FPGA_JTAG_VALID = __RAMBAR1 + 4; @@ -255,6 +257,3 @@ SECTIONS _video_sbt = __RAMBAR0 + 0x83C; _rt_mbar = __RAMBAR0 + 0x844; /* (c)0f */ } - -SEARCH_DIR(/usr/lib/gcc/m68k-elf/4.6.4/m5475/) -INPUT(-lgcc)