diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-29 04:45:24 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-11-30 04:09:19 (GMT) |
commit | 74d51d029818eca9d1aec22dd2895e269c0044b1 (patch) | |
tree | d3b40889e9d046c3af216b49253de0af10a39050 /arch/powerpc/platforms/pseries/nvram.c | |
parent | f2e785ed5fb8e5fe5063ee2ba1c8f150396c53c6 (diff) | |
download | linux-fsl-qoriq-74d51d029818eca9d1aec22dd2895e269c0044b1.tar.xz |
powerpc/nvram: Move things out of asm/nvram.h
This moves a bunch of definitions out of asm/nvram.h to the files
that use them or just outright remove completely unused stuff.
We leave the partition signatures definitions, they will be useful
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/nvram.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/nvram.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/nvram.c b/arch/powerpc/platforms/pseries/nvram.c index bc3c7f2..f4e4c06 100644 --- a/arch/powerpc/platforms/pseries/nvram.c +++ b/arch/powerpc/platforms/pseries/nvram.c @@ -27,6 +27,8 @@ static int nvram_fetch, nvram_store; static char nvram_buf[NVRW_CNT]; /* assume this is in the first 4GB */ static DEFINE_SPINLOCK(nvram_lock); +/* Max bytes to read/write in one go */ +#define NVRW_CNT 0x20 static ssize_t pSeries_nvram_read(char *buf, size_t count, loff_t *index) { |