45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
/*
|
|
* VAS_EBOOT -- GRand Unified Bootloader
|
|
* Copyright (C) 2013 Free Software Foundation, Inc.
|
|
*
|
|
* VAS_EBOOT is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* VAS_EBOOT is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with VAS_EBOOT. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef VAS_EBOOT_KERNEL_MACHINE_HEADER
|
|
#define VAS_EBOOT_KERNEL_MACHINE_HEADER 1
|
|
|
|
#ifndef ASM_FILE
|
|
|
|
#include <VasEBoot/symbol.h>
|
|
#include <VasEBoot/types.h>
|
|
|
|
struct VasEBoot_fdt_board
|
|
{
|
|
const char *vendor, *part;
|
|
const VasEBoot_uint8_t *dtb;
|
|
VasEBoot_size_t dtb_size;
|
|
};
|
|
|
|
extern struct VasEBoot_fdt_board VasEBoot_fdt_boards[];
|
|
void VasEBoot_machine_timer_init (void);
|
|
void VasEBoot_pl050_init (void);
|
|
void VasEBoot_cros_init (void);
|
|
void VasEBoot_rk3288_spi_init (void);
|
|
extern VasEBoot_addr_t EXPORT_VAR (start_of_ram);
|
|
#endif /* ! ASM_FILE */
|
|
|
|
#define VAS_EBOOT_KERNEL_MACHINE_STACK_SIZE VAS_EBOOT_KERNEL_ARM_STACK_SIZE
|
|
|
|
#endif /* ! VAS_EBOOT_KERNEL_MACHINE_HEADER */
|