- 21 5月, 2019 40 次提交
-
-
由 Mario Six 提交于
For a lot of inline assembly calls in the mpc8xxx and mpc83xx directories, we already have convenient pre-defined helper functions, but they're not used, resulting in hard-to-read code. Use these helper functions where ever possible and useful. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
ppcDWstore/ppcDWload are hardly used by any board, but since they're implemented in start.S, they're always present in every U-Boot image, even if they're not needed. Re-implement these fuctions in C with inline assembly, so that the compiler can decide when to actually include them. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Don't use the legacy method of initializing the ethernet controller on MPC83xx when DM is active. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
The fsl-esdhc driver can be used for the SDHC functionality on MPC83xx, but it needs some additional definitions. Add a clock.h file, so we can use the driver for MPC83xx. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Except for one counter example, CONFIG_SYS_LBC_LBCR always has a value of either 0x00040000 or 0x00000000. CONFIG_SYS_LBC_MRTPR always has the value 0x20000000. CONFIG_SYS_LBC_LSDMR_{1,2,4,5} are not set for any mpc83xx board. CONFIG_SYS_LBC_LSRT is set by one board (to 0x32000000). To simplify the configuration files, hardcode the setting of these values for mpc83xx. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
CONFIG_SYS_DDR_SDRAM_BASE is set to the same value as CONFIG_SYS_SDRAM_BASE on all existing boards. Just use CONFIG_SYS_SDRAM_BASE instead. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
CONFIG_SYS_DDR_BASE is specific to mpc83xx an is always set to the same value as CONFIG_SYS_SDRAM_BASE. Just use CONFIG_SYS_SDRAM_BASE instead. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Migrate the CONFIG_LCRR_* settings to Kconfig. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Migrate the SPCR setting to Kconfig. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Migrate the arbiter configuration to Kconfig. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Migrate the system IO configuration setting to Kconfig. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Migrate CONFIG_SYS_IMMR to Kconfig for MPC83xx. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Mirate the HID configuration settings to Kconfig. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
The MPC85xx GPIO driver was converted to handle a broader range of SoCs. Prepare the MPC83xx code for usage of this driver. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Remove the last instances of the CONFIG_MPC83xx symbol. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Replace the hard-coded CONFIG_SYS_NS16550_CLK value for the FDT fixup with the previously introduced get_serial_clock function This will make it possible to activate DM for serial devices on MPC83xx later on. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
DM serial drivers on PowerPC determine their clock frequency via the get_serial_clock function. This function is not Implemented yet for MPC83xx. This patch Implements the function so that DM serial drivers work on MPC83xx. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
The MPC8308 has two I2C controllers, but no PCI controller. Fix the register map layout for this SoC. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Migrate the BR/OR settings to Kconfig. These must be known at compile time, so cannot be configured via DT. Configuration of this crucial variable should still be somewhat comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
The MPC8349EMDS configuration was the basis for the sbc8349, so it also contains its SDRAM option. Since * the SDRAM has to be soldered onto the board, * the sbc8349 never used the support, and * the support never worked (see previous patch fixing it), we can assume that the support on the sbc8349 is an artifact created by copying the MPC8349EMDS config wholesome. Hence, instead of creating a separate sbc8349 config that supports SDRAM, we can remove the SDRAM option for this board. Should it be needed in the future, it can be copied from the new MPC8349EMDS_SDRAM board. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Re-format all BR,OR #define lines into single lines. This makes them harder to read, but accessible to semi-automatic replacement. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
We want to normalize all BR/OR config lines as much as possible. The TQM834x board uses CONFIG_SYS_OR_TIMING_FLASH in a OR definition, which we want to remove. But CONFIG_SYS_OR_TIMING_FLASH is also used outside of the config file. Replace these usages with the definition of the variable, so we can remove the variable in the next patch. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
All BR/OR option lines should have the same layout to make them easier to migrate to Kconfig. This includes using the same option macros everywhere. The normalize the lines, * replace function macros with their results, and * replace hardcoded hex values with standard macros Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
The LBLAW_* values determine the window configuration of the memory controller. Hence, they must be known at compile time, and cannot be implemented in the DT mechanism. Configuration of this crucial variable should still be somewhat comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
The BATs (block address translation registers) determine the initial memory window mappings. Hence, they must be known at compile time and cannot be implemented in the DT mechanism. Configuration of this crucial variable should still be somewhat comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Migrate the CONFIG_HIGH_BATS variable to Kconfig. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
The MPC83xx DM timer driver disables arch.pciexp*_clk, and uses clk_get_rate instead. But the legacy MPC83xx PCIe driver still uses arch.pciexp*_clk for the clock. Hence, read the PCIe clock from the registers in the legacy MPC83xx PCIe driver. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
The HRCW (hardware reset configuration word) is a constant that must be hard-coded into the boot loader image. So, it must be available at compile time, and cannot be migrated to the DT mechanism, but has to be kept in Kconfig. Configuration of this crucial variable should still be somewhat comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-