mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 18:10:13 +00:00
37ea1343ac
Currently, it isn't possible to build clock drivers for more than one platform due to how the msm_enable() and msm_set_rate() callbacks are implemented. Extend qcom_clk_data to include function pointers for these and convert all platforms to use them. Previously, clock drivers relied on include/configs/<board.h> to include the board specific sysmap header, however as most of the header contents are clock driver related, import the contents directly into each clock driver and remove the header. The only exception here is the dragonboard820c board file which includes some pinctrl macros, those are also inlined. Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> [caleb: remove additional sysmap-sdm845.h mention]
26 lines
666 B
C
26 lines
666 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Configuration file for boards, based on Qualcomm SDM845 chip
|
|
*
|
|
* (C) Copyright 2021 Dzmitry Sankouski <dsankouski@gmail.com>
|
|
*/
|
|
|
|
#ifndef __CONFIGS_SDM845_H
|
|
#define __CONFIGS_SDM845_H
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
#define CFG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 }
|
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
|
"bootm_size=0x4000000\0" \
|
|
"bootm_low=0x80000000\0" \
|
|
"stdin=serial,button-kbd\0" \
|
|
"stdout=serial,vidconsole\0" \
|
|
"stderr=serial,vidconsole\0" \
|
|
"preboot=source $prevbl_initrd_start_addr:prebootscript\0" \
|
|
"bootcmd=source $prevbl_initrd_start_addr:bootscript\0"
|
|
|
|
/* Size of malloc() pool */
|
|
|
|
#endif
|