1. 21 5月, 2019 14 次提交
    • M
      mpc83xx: Get rid of CONFIG_83XX_CLKIN · ff3bb0c4
      Mario Six 提交于
      MPC83xx uses CONFIG_83XX_CLKIN instead of CONFIG_SYS_CLK_FREQ to set the
      system clock. To migrate the architecture, we can replace
      CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ.
      
      To do this
      * replace all occurrences of CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ
      * set CONFIG_SYS_CLK_FREQ to the old value of CONFIG_83XX_CLKIN in all
        MPC83xx config files
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      ff3bb0c4
    • M
      mpc83xx: Replace CONFIG_83XX_CLKIN in calculations · 0f06f57c
      Mario Six 提交于
      CONFIG_SYS_CLK_FREQ is the standard way to set the system clock
      frequency. On MPC83xx, CONFIG_83XX_CLKIN is used for this purpose.
      Hence, the obvious way is to replace CONFIG_83XX_CLKIN with
      CONFIG_SYS_CLK_FREQ.
      
      A few MPC83xx boards use the CONFIG_83XX_CLKIN variable for computing
      CONFIG_SYS_NS16550_CLK. This makes it harder to replace
      CONFIG_83XX_CLKIN.
      
      But the value of the multiplicator can be read from the SPMR register.
      
      Hence, replace the static calculations with a call to a new get_bus_freq
      function, as other architectures do.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      0f06f57c
    • M
      mpc83xx: Migrate legacy PCI options to Kconfig · 1cbc10c8
      Mario Six 提交于
      The MPC83xx include files contain some settings of the PCI subsystem.
      
      Migrate these to Kconfig until a proper DM PCI driver exists.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      1cbc10c8
    • M
      MPC837XERDB: Remove CONFIG_MPC837XERDB · 47a1b3f4
      Mario Six 提交于
      CONFIG_MPC837XERDB is unused, and TARGET_MPC837XERDB could replace it.
      
      Hence, get rid of CONFIG_MPC837XERDB.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      47a1b3f4
    • M
      MPC837XEMDS: Remove CONFIG_MPC837XEMDS · 897c82ae
      Mario Six 提交于
      CONFIG_MPC837XEMDS is unused, and TARGET_MPC837XEMDS could replace it.
      
      Hence, get rid of CONFIG_MPC837XEMDS.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      897c82ae
    • M
      MPC8315ERDB: Remove CONFIG_MPC8315ERDB · d6a77954
      Mario Six 提交于
      CONFIG_MPC8315ERDB is unused, and TARGET_MPC8315ERDB could replace it.
      
      Hence, get rid of CONFIG_MPC8315ERDB.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      d6a77954
    • M
      MPC8313ERDB: Remove CONFIG_MPC8313ERDB · 67185d19
      Mario Six 提交于
      CONFIG_MPC8313ERDB is unused, and
      TARGET_MPC8313ERDB_NAND/TARGET_MPC8313ERDB_NOR Kconfig could replace it.
      
      Hence, get rid of CONFIG_MPC8313ERDB.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      67185d19
    • M
      strider: Migrate to CONFIG_TARGET_STRIDER · 0e93bb13
      Mario Six 提交于
      Use the proper CONFIG_TARGET_STRIDER Kconfig option to replace the
      CONFIG_STRIDER ad-hoc config option.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      0e93bb13
    • M
      hrcon: Migrate to CONFIG_TARGET_HRCON · d6918816
      Mario Six 提交于
      Use the proper CONFIG_TARGET_HRCON Kconfig option to replace
      the CONFIG_HRCON ad-hoc config option.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      d6918816
    • M
      MPC8349ITX: Migrate to CONFIG_TARGET_MPC8349ITX · 4cb06d3e
      Mario Six 提交于
      Use the proper CONFIG_TARGET_MPC8349ITX Kconfig option to replace the
      CONFIG_MPC8349ITX ad-hoc config option.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      4cb06d3e
    • M
      MPC832XEMDS: Migrate to CONFIG_TARGET_MPC832XEMDS · 8014c162
      Mario Six 提交于
      Use the proper CONFIG_TARGET_MPC832XEMDS Kconfig option to replace the
      CONFIG_MPC832XEMDS ad-hoc config option.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      8014c162
    • M
      ve8313: Merge BR/OR settings · 1e35d425
      Mario Six 提交于
      The ve8313 has the option of either configuring the eLBC (enhanced local system bus) such that
      
      * NOR flash is the first memory bank, and NAND flash is the second memory bank, or
      * NAND flash is the first memory bank, and NOR flash is the second memory bank,
      
      by using CONFIG_SYS_NOR_{BR,OR}_PRELIM and
      CONFIG_SYS_NAND_{BR,OR}_PRELIM for defining
      CONFIG_SYS_{BR,OR}{0,1}_PRELIM.
      
      After Kconfig migration, replacing some lines in the defconfig will have
      the same effect.
      
      Hence, we will not create distinct ve8313_{NOR,NAND} configs for such a
      small change.
      
      Instead, fix the current default (NOR first, NAND second), and unroll
      the  CONFIG_SYS_NAND_{BR,OR}_PRELIM options. This will ease the Kconfig
      migration
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      1e35d425
    • M
      mpc8315erdb: Merge BR/OR settings · 7577cb19
      Mario Six 提交于
      The mpc8315erdb has the option of either configuring the eLBC (enhanced
      local system bus) such that
      
      * NOR flash is the first memory bank, and NAND flash is the second
        memory bank, or
      * NAND flash is the first memory bank, and NOR flash is the second
        memory bank,
      
      by using CONFIG_SYS_NOR_{BR,OR}_PRELIM and
      CONFIG_SYS_NAND_{BR,OR}_PRELIM for defining
      CONFIG_SYS_{BR,OR}{0,1}_PRELIM.
      
      After Kconfig migration, replacing some lines in the defconfig will have
      the same effect.
      
      Hence, we will not create distinct ve8313_{NOR,NAND} configs for such a small change.
      
      Instead, fix the current default (NOR first, NAND second), and unroll
      the CONFIG_SYS_NAND_{BR,OR}_PRELIM options. This will ease the Kconfig
      migration.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      7577cb19
    • M
      mpc83xx: Make distinct MPC8349EMDS_SDRAM board · ddc935fc
      Mario Six 提交于
      The MPC8349EMDS config file contains config options to enable SDRAM
      support. To keep this ability after the Kconfig migration, create a new
      MPC8349EMDS_SDRAM board that enables the SDRAM support and remove the
      SDRAM support from the original board.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      ddc935fc
  2. 20 5月, 2019 18 次提交
  3. 19 5月, 2019 8 次提交