4 * System information header
6 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
8 * SPDX-License-Identifier: GPL-2.0+
13 #include <linux/mtd/omap_gpmc.h>
14 #include <asm/arch/cpu.h>
16 u32 get_cpu_rev(void);
17 u32 get_sysboot_value(void);
19 extern struct ctrl_stat *cstat;
20 u32 get_device_type(void);
21 void save_omap_boot_params(void);
22 void setup_early_clocks(void);
23 void setup_clocks_for_console(void);
24 void mpu_pll_config_val(int mpull_m);
25 void ddr_pll_config(unsigned int ddrpll_M);
27 void sdelay(unsigned long);
30 void enable_gpmc_cs_config(const u32 *gpmc_config, const struct gpmc_cs *cs, u32 base,
32 int omap_nand_switch_ecc(uint32_t, uint32_t);
34 void set_uart_mux_conf(void);
35 void set_mux_conf_regs(void);
36 void sdram_init(void);
37 u32 wait_on_value(u32, u32, void *, u32);
38 #ifdef CONFIG_NOR_BOOT
39 void enable_norboot_pin_mux(void);
41 void am33xx_spl_board_init(void);
42 int am335x_get_efuse_mpu_max_freq(struct ctrl_dev *cdev);
43 int am335x_get_tps65910_mpu_vdd(int sil_rev, int frequency);
46 void enable_usb_clocks(int index);
47 void disable_usb_clocks(int index);
48 void do_board_detect(void);