X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fbcm28155_ap.h;h=781689a991451921e52a483e1dd18d1600769410;hb=7f21ced0d2488605ccf6eb307daa9e18ee78aa94;hp=bd83aabea7ce7da9a8ccf2321777e51a5b2048d5;hpb=e6c0bc0643e5a4387fecbcf83080d0b796eb067c;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/bcm28155_ap.h b/include/configs/bcm28155_ap.h index bd83aab..781689a 100644 --- a/include/configs/bcm28155_ap.h +++ b/include/configs/bcm28155_ap.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2013 Broadcom Corporation. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __BCM28155_AP_H @@ -17,25 +16,16 @@ /* * Memory configuration */ -#define CONFIG_SYS_TEXT_BASE 0xae000000 #define CONFIG_SYS_SDRAM_BASE 0x80000000 #define CONFIG_SYS_SDRAM_SIZE 0x80000000 -#define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_SYS_MALLOC_LEN SZ_4M /* see armv7/start.S. */ -#define CONFIG_STACKSIZE SZ_256K /* GPIO Driver */ #define CONFIG_KONA_GPIO /* MMC/SD Driver */ -#define CONFIG_SDHCI -#define CONFIG_MMC_SDMA -#define CONFIG_KONA_SDHCI -#define CONFIG_MMC -#define CONFIG_GENERIC_MMC - #define CONFIG_SYS_SDIO_BASE0 SDIO1_BASE_ADDR #define CONFIG_SYS_SDIO_BASE1 SDIO2_BASE_ADDR #define CONFIG_SYS_SDIO_BASE2 SDIO3_BASE_ADDR @@ -64,7 +54,6 @@ #define CONFIG_SYS_TIMER_COUNTER (TIMER_BASE_ADDR + 4) /* STCLO offset */ /* Init functions */ -#define CONFIG_MISC_INIT_R /* board's misc_init_r function */ /* Some commands use this as the default load address */ #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE @@ -83,20 +72,15 @@ /* Post pad 3 bytes after each reg addr */ #define CONFIG_SYS_NS16550_REG_SIZE (-4) #define CONFIG_SYS_NS16550_CLK 13000000 -#define CONFIG_CONS_INDEX 1 #define CONFIG_SYS_NS16550_COM1 0x3e000000 -#define CONFIG_BAUDRATE 115200 - -#define CONFIG_ENV_SIZE 0x10000 -#define CONFIG_ENV_IS_NOWHERE - -#define CONFIG_SYS_NO_FLASH /* Not using NAND/NOR unmanaged flash */ +/* must fit into GPT:u-boot-env partition */ +#define CONFIG_SYS_MMC_ENV_DEV 0 +#define CONFIG_ENV_OFFSET (0x00011a00 * 512) +#define CONFIG_ENV_SIZE (8 * 512) /* console configuration */ #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */ -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ - sizeof(CONFIG_SYS_PROMPT) + 16) /* Printbuffer size */ #define CONFIG_SYS_MAXARGS 64 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE @@ -105,40 +89,14 @@ * This is necessary for the fatls command to work on an SD card * for example. */ -#define CONFIG_DOS_PARTITION -#define CONFIG_EFI_PARTITION /* version string, parser, etc */ -#define CONFIG_VERSION_VARIABLE -#define CONFIG_AUTO_COMPLETE -#define CONFIG_SYS_HUSH_PARSER -#define CONFIG_CMDLINE_EDITING -#define CONFIG_SYS_LONGHELP -#define CONFIG_CRC32_VERIFY #define CONFIG_MX_CYCLIC /* Initial upstream - boot to cmd prompt only */ #define CONFIG_BOOTCOMMAND "" -/* Commands */ -#define CONFIG_CMD_ASKENV -#define CONFIG_CMD_CACHE -#define CONFIG_CMD_FAT -#define CONFIG_CMD_I2C -#define CONFIG_CMD_MMC -#define CONFIG_CMD_BOOTZ -#define CONFIG_FAT_WRITE - -/* Fastboot and USB OTG */ -#define CONFIG_USB_FUNCTION_FASTBOOT -#define CONFIG_CMD_FASTBOOT -#define CONFIG_FASTBOOT_FLASH -#define CONFIG_FASTBOOT_FLASH_MMC_DEV 0 -#define CONFIG_SYS_CACHELINE_SIZE 64 -#define CONFIG_FASTBOOT_BUF_SIZE (CONFIG_SYS_SDRAM_SIZE - SZ_1M) -#define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_SDRAM_BASE -#define CONFIG_USB_GADGET_BCM_UDC_OTG_PHY #define CONFIG_USBID_ADDR 0x34052c46 #endif /* __BCM28155_AP_H */