summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-12-19 16:19:56 -0700
committerSimon Horman <horms@verge.net.au>2012-12-23 13:20:39 +0900
commitc30e0bbd021b5744532fb8555bd4d4bbf8a00a04 (patch)
treeafa8ebfb3f2b5825f1609546101e0fe2568fa392 /kexec/kexec.c
parentea14742d8c5ee3b2d693bc009fd5a5f5e4a8f2da (diff)
kexec-zImage-arm: simply cmdline-related DTB resizing
When resizing a dtb to add the command-line, only resize the DTB once, rather than once to add the /chosen node, and once to add the bootargs property. Also, simply add 1K of overhead (beyond strlen(cmdline)) to the buffer, to avoid requiring precise knowledge of the size impact of the requested FTB changes. In particular, some padding is performed when setting property values, which was not accounted for in the current code, which caused failures to set the bootargs values in some cases. Cc: Daniel Mack <zonque@gmail.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.c')
0 files changed, 0 insertions, 0 deletions