Skip to content
  • Joel Stanley's avatar
    ARM: dts: aspeed: Add default memory node · 9bdc00a5
    Joel Stanley authored
    When we removed the inclusion of skeleton.dtsi from the device trees, we
    broke booting for systems with bootloaders that aren't device tre aware.
    This can be seen, for example, when appending the device tree blob to
    the kernel image.
    
    The reason booting broke was that the kernel lacked the device_type
    label in the memory node. Add in a default memory node wth the
    device_type. It can contain the memory address as the location is fixed
    for each SoC generation, but the size needs to be added by the
    bootloader or the board specific dts.
    
    Fixes: 73102d6f
    
     ("ARM: dts: aspeed: Remove skeleton.dtsi")
    Cc: <stable@vger.kernel.org>
    Reported-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    9bdc00a5