diff options
author | Richard Weinberger <richard@nod.at> | 2025-05-29 17:02:13 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-12 16:13:51 -0600 |
commit | 9fe2e4b46458f9c4ec6b8115ebf18b4b26fe6127 (patch) | |
tree | afe9716931faff6b94facf915e2ba9794427c219 /drivers/pwm/pwm-tiecap.c | |
parent | 53cc4332b3b37218a7cdab8bdb953da57eec2668 (diff) |
fdt: Make sure there is no stale initrd left
Although if we don't setup an initrd, there could be a stale initrd
setting from the previous boot firmware in the live device tree. So,
make sure there is no setting left if we don't want an initrd.
This can happen when booting on a Raspberry Pi. The boot firmware can
happily load an initrd before us and configuring the addresses in the
live device tree we get handed over.
Especially the setting `auto_initramfs` in config.txt is dangerous.
When enabled (default), the firmware tries to be smart and looks for
initramfs files.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/pwm/pwm-tiecap.c')
0 files changed, 0 insertions, 0 deletions