u-boot-brain/arch
Jonathan Gray 8ae1f82988 mmc: use core clock frequency in bcm2835 sdhost
In raspberrypi-firmware 7fdcd00e00a42a1c91e8bd6f5eb8352fe9358557 and
later start.elf now sets the EMMC clock to 200 MHz.

According to Phil Elwell in
https://github.com/raspberrypi/firmware/issues/953
the SDHost controller shares the core/VPU clock and doesn't use
the EMMC clock.

Use the core clock id when determining the frequency to allow
U-Boot to work with recent versions of raspberrypi-firmware.
Otherwise U-Boot hangs at:

U-Boot 2018.03 (Mar 14 2018 - 20:36:00 +1100)

DRAM:  948 MiB
RPI 3 Model B (0xa02082)
MMC:   mmc@7e202000: 0, sdhci@7e300000: 1
Loading Environment from FAT...

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-04-05 13:17:43 +02:00
..
arc ARC: bootm: Refactor GO and PREP subcommands implementation 2018-03-23 15:57:51 +03:00
arm mmc: use core clock frequency in bcm2835 sdhost 2018-04-05 13:17:43 +02:00
m68k Convert CONFIG_SYS_BOOT_GET_{CMDLINE, KBD} to Kconfig 2018-01-30 12:52:57 -05:00
microblaze fdt: Implement weak arch_fixup_fdt() 2018-02-18 12:53:38 -07:00
mips mips: bmips: add ar-5315 usb support 2018-03-21 23:23:13 +01:00
nds32 Drop CONFIG_FTSDC010_BASE 2018-03-30 13:13:45 +08:00
nios2 nios2: 10m50: Add CPU pre-relocation in device tree 2017-11-17 10:51:24 -05:00
powerpc ppc: Remove orphan xilinx_irq.h file 2018-03-16 14:54:14 -04:00
riscv riscv: ae250: Support DT provided by the board at runtime 2018-03-30 13:13:56 +08:00
sandbox core: ofnode: Fix translation for #size-cells == 0 2018-04-01 22:19:10 +08:00
sh sh: Do not provide strncmp 2018-02-23 00:06:05 +01:00
x86 x86: zImage: Pass working device tree data to the kernel 2018-03-30 16:06:58 +08:00
xtensa xtensa: clean up CONFIG_SYS_TEXT_ADDR 2018-02-23 10:21:41 -05:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00