Hello All I am currently reworking a socfpga signer patch which is part of mkimage.
One thing I need to do is to stuff some bytes into a header ensuring the endianism is correct. This is a trivial thing to do in C, but I have been instructed to use the existing functions put_unaligned_le32() etc. These are part of Linux in linux/unaligned/access_ok.h. But this includes <asm/*> It seems to me that this mixing of host space and target space is potentially problematic. Is this a safe thing to do? Thanks Charles
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot