Lines Matching +full:- +full:- +full:list +full:- +full:error +full:- +full:boards
2 * (C) Copyright 2000-2009
5 * SPDX-License-Identifier: GPL-2.0+
24 #include <asm-offsets.h>
64 #include <asm/u-boot.h> /* boot information for Linux kernel */
83 * dram_init_banksize() - Set up DRAM bank sizes
85 * This can be implemented by boards to set up the DRAM bank information in
86 * gd->bd->bi_dram(). It is called just before relocation, after dram_init()
95 * @return 0 if OK, -ve on error
113 * Run a list of commands separated by ; or even \0
115 * Note that if 'len' is not -1, then the command does not need to be nul
118 * @param cmd List of commands to run, each separated bu semicolon
119 * @param len Length of commands excluding terminator if known (-1 if not)
121 * @return 0 on success, or != 0 on error.
130 * ulong board_init_f_alloc_reserve - allocate reserved area
132 * This function is called by each architecture very early in the start-up
142 * board_init_f_init_reserve - initialize the reserved area(s)
152 * Board-specific Platform code can init serial earlier if needed
157 * arch_setup_gd() - Set up the global_data pointer
186 * setup_board_extra() - Fill in extra details in the bd_t structure
188 * @return 0 if OK, -ve on error
193 * arch_fsp_init() - perform firmware support package init
195 * Where U-Boot relies on binary blobs to handle part of the system init, this
202 * arch_cpu_init_dm() - init CPU after driver model is available
208 * @return 0 if OK, -ve on error
218 * On entry gd->start_addr_sp is pointing to the suggested top of the stack.
219 * The callee ensures gd->start_add_sp is 16-byte aligned, so architectures
222 * On exit gd->start_addr_sp and gd->irq_sp should be set to the respective
224 * gd->irq_sp is only required, if the architecture needs it.
226 * @return 0 if no error
231 * Show the DRAM size in a board-specific way
233 * This is used by boards to display DRAM information in their own way.
240 * arch_fixup_fdt() - Write arch-specific information to fdt
242 * Defined in arch/$(ARCH)/lib/bootm-fdt.c
245 * @return 0 if ok, or -ve FDT_ERR_... on failure
275 * env_get() - Look up the value of an environment variable
277 * In U-Boot proper this can be called before relocation (which is when the
287 * env_get_f() - Look up the value of an environment variable (early)
299 * env_get_ulong() - Return an environment variable as an integer value
301 * Most U-Boot environment variables store hex values. For those which store
302 * (e.g.) base-10 integers, this function can be used to read the value.
312 * env_get_hex() - Return an environment variable as a hex value
319 * @default_val: Value to return on error
325 * Return -1 if variable does not exist (default to true)
330 * env_set() - set an environment variable
337 * @return 0 if OK, 1 on error
342 * env_update() - update sub value of an environment variable
349 * @return 0 if OK, 1 on error
355 * env_update_extract_subset() - extract subset value from an environment variable
363 * @return 0 if OK, 1 on error
369 * env_update() - update sub value of an environment variable
375 * @return 0 if OK, 1 on error
380 * env_exist() - check sub value of an environment variable is exist or not
389 * env_delete() - delete sub value of an environment variable
394 * @return 0 if ok, 1 on error
399 * env_set_ulong() - set an environment variable to an integer
403 * @return 0 if OK, 1 on error
408 * env_set_hex() - set an environment variable to a hex value
412 * @return 0 if OK, 1 on error
417 * env_set_addr - Set an environment variable to an address in hex
421 * @return 0 if ok, 1 on error
468 #define eeprom_read(dev_addr, offset, buffer, cnt) ((void)-ENOSYS)
469 #define eeprom_write(dev_addr, offset, buffer, cnt) ((void)-ENOSYS)
485 int board_fix_fdt (void *rw_fdt_blob); /* manipulate the U-Boot fdt before its relocation */
522 for (iter = 0, cpu = cpumask_next(-1, mask); \
533 * arch_cpu_init() - basic cpu-dependent setup for an architecture
536 * CPU- or SoC- specific init needed to continue the init sequence. See
646 * gzwrite progress indicators: defined weak to allow board-specific
684 #include <u-boot/lz4.h>
701 #include <u-boot/crc.h>
704 #define RAND_MAX -1U
770 #error CONFIG_INIT_CRITICAL is deprecated!
771 #error Read section CONFIG_SKIP_LOWLEVEL_INIT in README.
774 #define ROUND(a,b) (((a) + (b) - 1) & ~((b) - 1))
777 * check_member() - Check the offset of a structure member