summaryrefslogtreecommitdiff
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-06-07 00:16:23 +0300
committerRalf Baechle <ralf@linux-mips.org>2015-06-21 22:54:32 +0300
commit94a0535baf4d78246f5e35c347d484baef8aeb2e (patch)
tree1cc72f38cf2338b2d36404c688661982ef92d41b /tools/perf/perf.h
parentcb2224d7c40e3d2dfc6f4a1676cd817acc79f012 (diff)
downloadlinux-94a0535baf4d78246f5e35c347d484baef8aeb2e.tar.xz
MIPS: BCM47xx: Add helper variable for storing NVRAM length
This simplifies code just a bit (also maybe makes it a bit more intuitive?) and will allow us to stop storing header. Right now we copy whole NVRAM including its header to the internal buffer. It is not needed to store a header as we don't access all these details like CRC, flags, etc. The next improvement that should follow is copying only the real contents. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: linux-mips@linux-mips.org Cc: Arend van Spriel <arend@broadcom.com> Cc: Hante Meuleman <meuleman@broadcom.com> Patchwork: https://patchwork.linux-mips.org/patch/10535/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools/perf/perf.h')
0 files changed, 0 insertions, 0 deletions