summaryrefslogtreecommitdiff
path: root/cmd/clk.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-09-08 07:47:34 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-09-21 15:04:32 +0200
commit96cb57c5ea1905c05435b42ac378938971b83766 (patch)
tree462997b28e331f15e30ff2eb1fd11f3e403dea33 /cmd/clk.c
parent154bf12f78c012895e7b42f844b7b92c4f015509 (diff)
downloadu-boot-imx-96cb57c5ea1905c05435b42ac378938971b83766.zip
u-boot-imx-96cb57c5ea1905c05435b42ac378938971b83766.tar.gz
u-boot-imx-96cb57c5ea1905c05435b42ac378938971b83766.tar.bz2
net: pch_gbe: Make 64 bit safe
The pch_gbe driver previously casted pointers to & from unsigned 32 bit integers in many locations. This breaks the driver on 64 bit systems, producing streams of compiler warnings about mismatched pointer & integer sizes and then failing to keep track of addresses correctly at runtime. Fix the driver for 64 bit systems by using unsigned longs in place of the previously used 32 bit integers. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'cmd/clk.c')
0 files changed, 0 insertions, 0 deletions