summaryrefslogtreecommitdiff
path: root/drivers/video/l5f31188.c
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@freescale.com>2013-09-30 12:44:47 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2013-11-22 17:03:17 -0600
commitb1690bc39cfdba82be34b1a98abc319339070698 (patch)
treebd6849caa41158fc16594377a60578adc44c0dea /drivers/video/l5f31188.c
parent82ef75ca5c69c7d053c07f509a901d2ad2e29570 (diff)
downloadu-boot-imx-b1690bc39cfdba82be34b1a98abc319339070698.zip
u-boot-imx-b1690bc39cfdba82be34b1a98abc319339070698.tar.gz
u-boot-imx-b1690bc39cfdba82be34b1a98abc319339070698.tar.bz2
net: tsec: Fix mac addr setup portability, cleanup
Fix the 32-bit memory access that is not "endianess safe", i.e. not giving the desired byte layout for LE cpus: tempval = *((uint *) (tmpbuf + 4)), where 'char tmpbuf[]'. Free the stack from rendundant local vars: tmpbuf[] and i. Use a portable type (u32) for the 32bit tsec register value holder: tempval. Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Diffstat (limited to 'drivers/video/l5f31188.c')
0 files changed, 0 insertions, 0 deletions