aboutsummaryrefslogtreecommitdiff
path: root/lib/libnvram
AgeCommit message (Collapse)AuthorFilesLines
2011-10-12Fix compiler warningsThomas Huth1-2/+1
GCC 4.6 complains about unused-but-set variables - which can safely be removed in our cases. Also fixed a strict-aliasing problem in rtas_flash.c of board-js2x. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-10-12Move functions for byte-swapping into common header file.Thomas Huth2-25/+2
The byte-swapping functions were scattered all over the source tree, now they are merged into a new common header file called byteswap.h. Signed-off-by: <thuth@linux.vnet.ibm.com>
2011-08-19Fixed some problems with libnvramThomas Huth2-25/+57
- On board-qemu, the logging partitions were too big (bigger than the total NVRAM size). - Fixed a compiler warning about type-punned pointers in nvram.c - When DISABLE_NVRAM is set, the fake buffer should not be accessed with cache-inhibited functions - Makefile did not generate proper dependencies Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-03-22Initial qemu/KVM board supportBenjamin Herrenschmidt2-7/+17
Added a new board for SLOF running on KVM/qemu. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2010-12-01Initial import of slof-JX-1.7.0-4Benjamin Herrenschmidt6-0/+1221
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>