diff options
author | Dave Kleikamp <dave.kleikamp@oracle.com> | 2014-10-07 09:12:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-07 15:41:02 -0400 |
commit | 1cef94c36bd4d79b5ae3a3df99ee0d76d6a4a6dc (patch) | |
tree | 85ee780a24a457bbcd7ca5b9a9ad1c6980c44373 /arch/sparc/prom | |
parent | d195b71bad4347d2df51072a537f922546a904f1 (diff) |
sparc64: Increase size of boot string to 1024 bytes
This is the longest boot string that silo supports.
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Bob Picco <bob.picco@oracle.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/prom')
-rw-r--r-- | arch/sparc/prom/bootstr_64.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc/prom/bootstr_64.c b/arch/sparc/prom/bootstr_64.c index ab9ccc63b388..7149e77714a4 100644 --- a/arch/sparc/prom/bootstr_64.c +++ b/arch/sparc/prom/bootstr_64.c | |||
@@ -14,7 +14,10 @@ | |||
14 | * the .bss section or it will break things. | 14 | * the .bss section or it will break things. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #define BARG_LEN 256 | 17 | /* We limit BARG_LEN to 1024 because this is the size of the |
18 | * 'barg_out' command line buffer in the SILO bootloader. | ||
19 | */ | ||
20 | #define BARG_LEN 1024 | ||
18 | struct { | 21 | struct { |
19 | int bootstr_len; | 22 | int bootstr_len; |
20 | int bootstr_valid; | 23 | int bootstr_valid; |