1. 11 12月, 2019 3 次提交
    • M
      ARM: defconfig: Fix 32bit config for RPi4 · e5167465
      Matthias Brugger 提交于
      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: NMatthias Brugger <mbrugger@suse.com>
      e5167465
    • M
      rpi: Enable DRAM bank initialization on arm64 · a63f81c2
      Matthias Brugger 提交于
      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: NMatthias Brugger <mbrugger@suse.com>
      a63f81c2
    • M
      rpi: fix dram bank initialization · e19cfcc0
      Matthias Brugger 提交于
      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: NMatthias Brugger <mbrugger@suse.com>
      e19cfcc0
  2. 10 12月, 2019 20 次提交
  3. 09 12月, 2019 17 次提交