| // SPDX-License-Identifier: GPL-2.0+ |
| * Copyright (c) 2016 Google, Inc |
| #include <asm/global_data.h> |
| #include <asm/arch/timer.h> |
| #include <asm/arch/wdt.h> |
| * Second Watchdog Timer by default is configured |
| * to trigger secondary boot source. |
| #define AST_2ND_BOOT_WDT 1 |
| * Third Watchdog Timer by default is configured |
| * to toggle Flash address mode switch before reset. |
| #define AST_FLASH_ADDR_DETECT_WDT 2 |
| gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; |
| ret = uclass_get_device(UCLASS_RAM, 0, &dev); |
| ret = ram_get_info(dev, &ram); |