u-boot-brain/include
Mario Six 0f06f57c28 mpc83xx: Replace CONFIG_83XX_CLKIN in calculations
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: Mario Six <mario.six@gdsys.cc>
2019-05-21 07:51:40 +02:00
..
andestech
asm-generic watchdog: Implement generic watchdog_reset() version 2019-04-26 09:16:32 +02:00
bedbug
cavium
configs mpc83xx: Replace CONFIG_83XX_CLKIN in calculations 2019-05-21 07:51:40 +02:00
cramfs
dm Merge branch 'master' of git://git.denx.de/u-boot-sh 2019-05-06 07:19:31 -04:00
dt-bindings ARM: dts: renesas: Add RZ/A1 platform code 2019-05-07 05:41:32 +02:00
environment/ti
faraday
fsl-mc
jffs2
linux mpc83xx: Introduce ARCH_MPC836* 2019-05-20 13:50:34 +02:00
lzma
mtd
mvebu
net
pcmcia
power
samsung
spmi
synopsys
tee avb: add support for named persistent values 2019-04-26 18:58:22 -04:00
test
u-boot
usb mpc83xx: Introduce ARCH_MPC834* 2019-05-20 13:50:34 +02:00
zfs
_exports.h
.gitignore
ACEX1K.h
adc.h
addr_map.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ahci.h ata: ahci: drop read-only ahci_ioports members 2019-05-18 12:32:01 -04:00
ali512x.h
altera.h
android_bootloader_message.h Import include/android_bootloader_message.h from AOSP 2019-05-18 12:32:02 -04:00
android_image.h
ansi.h
api_public.h
api.h
armcoremodule.h
asm-offsets.h
ata.h
atf_common.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
atsha204a-i2c.h
audio_codec.h
autoboot.h
avb_verify.h avb_verify: support sandbox configuration 2018-10-07 11:07:26 -04:00
axi.h
axp152.h
axp209.h
axp221.h
axp809.h
axp818.h
axp_pmic.h
backlight.h
bcd.h
binman_sym.h
bios_emul.h
bitfield.h
blk.h
bloblist.h
bmp_layout.h
board.h drivers: Add board uclass 2018-09-29 11:49:35 -06:00
boot_fit.h
bootcount.h
bootm.h Make FIT support really optional 2019-05-09 19:52:55 -04:00
bootretry.h
bootstage.h main: add new bootstage ID for entering cli loop 2019-04-26 17:51:51 -04:00
bouncebuf.h
btrfs.h
bus_vcxk.h
bzlib.h
cache.h dm: cache: Create a uclass for cache 2019-05-05 08:48:50 -04:00
capitalization.h
cbfs.h
charset.h lib: charset: correct utf8_utf16_strnlen() description 2019-05-12 20:54:21 +02:00
circbuf.h
cli_hush.h
cli.h
clk-uclass.h
clk.h clk: Get the CLK by index without device 2019-05-09 00:44:13 +05:30
cmd_spl.h
command.h
common_timing_params.h
common.h
compiler.h
config_defaults.h
config_distro_bootcmd.h
config_fallbacks.h
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h
cortina.h
cp437.h
cp1250.h
cpsw.h
cpu.h
cros_ec_message.h
cros_ec.h
ddr_spd.h
debug_uart.h
dfu.h
dialog_pmic.h
display_options.h
display.h
div64.h
dm9000.h
dm-demo.h
dm.h
dma-uclass.h
dma.h
dp83848.h
ds1722.h
dt_table.h
dt-structs.h
dw_hdmi.h
dwc3-omap-uboot.h
dwc3-sti-glue.h
dwc3-uboot.h
dwc_ahsata.h
dwmmc.h
e500.h mmc: fsl_esdhc: Add peripheral clock support 2015-05-04 09:25:39 -07:00
ec_commands.h
edid.h
eeprom_field.h
eeprom_layout.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_api.h efi_loader: EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.SetState() correct parameter 2019-05-19 08:10:10 +02:00
efi_driver.h
efi_loader.h efi_loader: implement deprecated Unicode collation protocol 2019-05-19 08:10:10 +02:00
efi_selftest.h efi_selftest: remove redundant function efi_st_memcmp() 2019-05-07 21:10:04 +02:00
efi.h
elf.h
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h
errno.h
ethsw.h
exception.h
exports.h
ext4fs.h fs: ext4: Add support for the creation of symbolic links 2019-04-09 20:03:30 -04:00
ext_common.h
exynos_lcd.h
fastboot-internal.h
fastboot.h
fat.h
fb_mmc.h
fb_nand.h
fdt_simplefb.h
fdt_support.h
fdt.h
fdtdec.h
fis.h
flash.h
fm_eth.h
fpga.h
fs_internal.h
fs_loader.h
fs.h fs: correct comments for fs_read() and write() 2019-05-03 07:23:17 -04:00
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddr.h
fsl_ddrc_version.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h
fsl_fman.h
fsl_ifc.h
fsl_immap.h
fsl_lpuart.h
fsl_mdio.h
fsl_memac.h
fsl_mmdc.h
fsl_pmic.h
fsl_qbman.h
fsl_qe.h
fsl_sec_mon.h
fsl_sec.h
fsl_secboot_err.h
fsl_sfp.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_tgec.h
fsl_usb.h
fsl_validate.h
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h hrcon: Migrate to CONFIG_TARGET_HRCON 2019-05-21 07:51:40 +02:00
generic-phy.h
gt64120.h
handoff.h
hash.h
hda_codec.h
hexdump.h
hw_sha.h
hwconfig.h
hwspinlock.h
i2c_eeprom.h
i2c.h
i2s.h
i8042.h
ide.h
image-android-dt.h
image-sparse.h fastboot: Refactor fastboot_okay/fail to take response 2018-05-30 11:59:21 +02:00
image.h ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading 2019-05-10 22:48:11 +02:00
imx8image.h
imx_lpi2c.h
imx_sip.h
imx_thermal.h
imximage.h
init.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd_console.h
lcd.h
lcdvideo.h
ld9040.h
led-display.h
led.h
libata.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
log.h
lxt971a.h
lynxkdi.h
mailbox-uclass.h
mailbox.h
malloc.h
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
media_bus_format.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
misc.h
mk48t59.h
mmc.h
mpc8xx_irq.h
mpc8xx.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mpc83xx.h mpc83xx: Introduce ARCH_MPC837X 2019-05-20 13:50:34 +02:00
mpc85xx.h
mpc86xx.h
mpc106.h
msc01.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mtd_node.h
mtd.h cmd: mtd: add 'mtd' command 2018-10-02 22:12:32 +05:30
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h
net.h
netdev.h
ns16550.h
ns87308.h
nuvoton_nct6102d.h
nvme.h
of_live.h
onenand_uboot.h
os.h
palmas.h
panel.h
part_efi.h
part.h
pca953x.h
pca9564.h
pca9698.h
pch.h x86: pch: Add an ioctl to read power-management info 2019-05-08 13:02:14 +08:00
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pci_tegra.h
pci.h Revert "pci: Scale MAX_PCI_REGIONS based on CONFIG_NR_DRAM_BANKS" 2019-05-08 13:02:10 +08:00
pcmcia.h
pe.h
phy_interface.h
phy-sun4i-usb.h
phy.h net: phy: Add generic helpers to access MMD PHY registers 2019-05-07 14:51:55 -05:00
phys2bus.h
physmem.h
post.h mpc83xx: Introduce ARCH_MPC836* 2019-05-20 13:50:34 +02:00
power-domain-uclass.h
power-domain.h
ppc_asm.tmpl
ppc_defs.h
pwm.h
pwrseq.h
pxa_lcd.h
qfw.h
radeon.h
ram.h
rc4.h
regmap.h
reiserfs.h
relocate.h
remoteproc.h
reset-uclass.h
reset.h Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2019-05-08 16:21:43 -04:00
rtc_def.h
rtc.h
s_record.h
SA-1100.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h
sandboxfs.h
sandboxtee.h avb: add support for named persistent values 2019-04-26 18:58:22 -04:00
sata.h
scf0403_lcd.h
scsi.h
sdhci.h mmc: sdhci: Add Support for ADMA2 2019-05-03 20:44:11 +08:00
sdp.h
search.h
serial.h
sh_pfc.h
sja1000.h
slre.h
smbios.h
smem.h
smsc_lpc47m.h
smsc_sio1007.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd_sdram.h
spd.h
spi_flash.h
spi-mem.h
spi.h
spl_gpio.h
spl.h spl: Set spl_image->fdt_addr pointer for full fitImage configuration 2019-05-18 12:32:00 -04:00
splash.h
st_logo_data.h
status_led.h
stdio_dev.h
stdio.h
stdlib.h
stm32_rcc.h
stratixII.h
string.h
sy8106a.h
sym53c8xx.h
syscon.h
sysreset.h
tables_csum.h
tca642x.h
tee.h avb: add support for named persistent values 2019-04-26 18:58:22 -04:00
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
time.h
timer.h
timestamp.h
tmu.h
tpm-common.h
tpm-v1.h tpm: Convert to use a device parameter 2018-11-29 09:30:06 -07:00
tpm-v2.h
tps6586x.h
trace.h
tsec.h
tsi148.h
twl4030.h
twl6030.h
ubi_uboot.h
ubifs_uboot.h
ubispl.h
uboot_aes.h
universe.h
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usb.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
uuid.h
vbe.h
version.h
video_bridge.h
video_console.h
video_easylogo.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
video_fb.h
video_font_4x6.h
video_font_data.h
video_font.h
video_logo.h
video_osd.h
video.h
virtex2.h
virtio_ring.h
virtio_types.h
virtio.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w1-eeprom.h
w1.h
w83c553f.h
wait_bit.h
watchdog.h
wdt.h watchdog: Implement generic watchdog_reset() version 2019-04-26 09:16:32 +02:00
winbond_w83627.h
xilinx.h
xyzModem.h
zfs_common.h
zynq_bootimg.h
zynqmp_tap_delay.h
zynqmppl.h
zynqpl.h