mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +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]
20 lines
472 B
C
20 lines
472 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Configuration file for Dragonboard 845c, based on Qualcomm SDA845 chip
|
|
*
|
|
* (C) Copyright 2022 Sumit Garg <sumit.garg@linaro.org>
|
|
*/
|
|
|
|
#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=0x5000000\0" \
|
|
"bootm_low=0x80000000\0" \
|
|
"bootcmd=bootm $prevbl_initrd_start_addr\0"
|
|
|
|
#endif
|