X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnand%2Fmx3.c;h=51fa680fd3bb7fa770188bc6786c8af53cb1b6f3;hp=23e6033d08dd2bb5d5c43d559e1a4f5df811e641;hb=7c0832ef7e5daca7fff363802058d01fc6da6c86;hpb=fab0dcd7e6cb8cfbf63cb41f0978902371d30205 diff --git a/src/flash/nand/mx3.c b/src/flash/nand/mx3.c index 23e6033d08..51fa680fd3 100644 --- a/src/flash/nand/mx3.c +++ b/src/flash/nand/mx3.c @@ -17,7 +17,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ /* @@ -91,16 +91,7 @@ NAND_DEVICE_COMMAND_HANDLER(imx31_nand_device_command) mx3_nf_info->fin = MX3_NF_FIN_NONE; mx3_nf_info->flags.target_little_endian = (nand->target->endianness == TARGET_LITTLE_ENDIAN); - /* - * testing host endianness - */ - { - int x = 1; - if (*(char *) &x == 1) - mx3_nf_info->flags.host_little_endian = 1; - else - mx3_nf_info->flags.host_little_endian = 0; - } + return ERROR_OK; }