Skip to content
Snippets Groups Projects
  1. Dec 11, 2019
    • Matthias Brugger's avatar
      ARM: defconfig: Fix 32bit config for RPi4 · e5167465
      Matthias Brugger authored
      
      The rpi_4_32b_defconfig states that only one DRAM bank is present. This
      leads to a wrong configuration of the available DRAM. Fix this by
      setting the DRAM bank config accordingly.
      
      Fixes: 193279d7 ("RPI: Add defconfigs for rpi4 (32/64)")
      
      Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
      e5167465
    • Matthias Brugger's avatar
      rpi: Enable DRAM bank initialization on arm64 · a63f81c2
      Matthias Brugger authored
      
      Up to now we only update the DRAM banks when we are define
      CONFIG_BCM2711. But our one binary approach uses a config that supports
      BCM2837 and BCM2711. As a result we only see one gibibyte of RAM on
      Raspberry Pi 4, even if it has more RAM.
      Fix this by calling dram_init_banksize.
      
      Fixes: 56940906 ("ARM: defconfig: add unified config for RPi3 and RPi4")
      
      Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
      a63f81c2
    • Matthias Brugger's avatar
      rpi: fix dram bank initialization · e19cfcc0
      Matthias Brugger authored
      
      To update the dram bank information from device-tree we use
      fdtdec_decode_ram_size() which expectes the the size-cells and
      address-cells to be defined in the memory node. For normal system RAM
      these values are defined in the root node. When the values differ from
      the default values defined in the spec, we can end up with wrong RAM
      bank information.
      
      Switch to the "standard" way to update the RAM bank information to
      avoid this.
      
      Fixes: 9de5b89e ("rpi4: enable dram bank initialization")
      
      Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
      e19cfcc0
  2. Dec 10, 2019
  3. Dec 09, 2019
Loading