SLOF/lib/libbootmsg
Nikunj A. Dadhania 0ad10f26c9 SLOF: Support PAPR NVRAM RTAS calls
BenH still need to ACK this though.

From: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com>

* Determines size of the flash using device tree.
* Provides nvram access functions for RTAS_NVRAM
* Allocates temporary buffer of nvram in SLOF code and use that in C.
  (sbrk not available)
* NVRAM_LENGTH is used at various places, make sure it is well guarded
  and also use dynamically determined size once an RTAS-NVRAM is
  found.
* Use NVRAM_LENGTH as a variable in case of RTAS_NVRAM, not very
  elegant though

Signed-off-by: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com>

--

Changelog from v1:
* #define cleanups suggested by Thomas/Benh
* Fix makefile which missed passing $FLAG for building llfw
* renamed vio-nvram.fs as rtas-nvram.fs
2012-10-17 16:30:58 +11:00
..
Makefile Initial qemu/KVM board support 2011-03-22 15:22:00 +01:00
bootmsg.code Initial import of slof-JX-1.7.0-4 2010-12-01 09:51:44 +11:00
bootmsg.in Initial import of slof-JX-1.7.0-4 2010-12-01 09:51:44 +11:00
bootmsg_lvl.S SLOF: Support PAPR NVRAM RTAS calls 2012-10-17 16:30:58 +11:00
libbootmsg.h Initial import of slof-JX-1.7.0-4 2010-12-01 09:51:44 +11:00