nand/mx*: Remove unused host endianness flag

Probably shouldn't depend on that anyway.

Change-Id: Ic27ead4cb82cff1ab187696439da4b93941e09d8
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1766
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Andreas Fritiofson
2013-09-28 21:13:05 +02:00
committed by Spencer Oliver
parent 13f6c889ab
commit 704082443d
4 changed files with 1 additions and 21 deletions

View File

@@ -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;
}