diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2017-03-10 11:26:37 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-03-10 11:26:37 +1100 |
commit | 328f8e70990e9bb7f7cb8f9e59299d5fa6ca699d (patch) | |
tree | 9ce43bbfed963dfdb68c8626f5186ab682a8302d /drivers/net/ethernet/mellanox/mlx4/en_tx.c | |
parent | 4e0f93d8ab50a371a77a8cf470f33b5a8841121e (diff) |
initramfs: provide a way to ignore image provided by bootloader
Many "embedded" architectures provide CMDLINE_FORCE to allow the kernel to
override the command line provided by an inflexible bootloader. However
there is currrently no way for the kernel to override the initramfs image
provided by the bootloader meaning there are still ways for bootloaders to
make things difficult for us.
Fix this by introducing INITRAMFS_FORCE which can prevent the kernel from
loading the bootloader supplied image.
We use CMDLINE_FORCE (and its friend CMDLINE_EXTEND) to imply that the
system has an inflexible bootloader. This allow us to avoid presenting
this config option to users of systems where inflexible bootloaders aren't
usually a problem.
Link: http://lkml.kernel.org/r/20170217121940.30126-1-daniel.thompson@linaro.org
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_tx.c')
0 files changed, 0 insertions, 0 deletions