mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
am33xx/board.c: make wdtimer/uart_base static
Only used here (and uart_base only for SPL). Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
This commit is contained in:
parent
69916bcf71
commit
c50cce2758
@ -36,8 +36,10 @@
|
|||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
struct wd_timer *wdtimer = (struct wd_timer *)WDT_BASE;
|
static struct wd_timer *wdtimer = (struct wd_timer *)WDT_BASE;
|
||||||
struct uart_sys *uart_base = (struct uart_sys *)DEFAULT_UART_BASE;
|
#ifdef CONFIG_SPL_BUILD
|
||||||
|
static struct uart_sys *uart_base = (struct uart_sys *)DEFAULT_UART_BASE;
|
||||||
|
#endif
|
||||||
|
|
||||||
static const struct gpio_bank gpio_bank_am33xx[4] = {
|
static const struct gpio_bank gpio_bank_am33xx[4] = {
|
||||||
{ (void *)AM33XX_GPIO0_BASE, METHOD_GPIO_24XX },
|
{ (void *)AM33XX_GPIO0_BASE, METHOD_GPIO_24XX },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user