Blame view
include/configs/exynos4-common.h
2.45 KB
8e5e1e6a9 arm:exynos: add c... |
1 2 3 4 5 6 7 |
/* * Copyright (C) 2014 Samsung Electronics * * Configuration settings for the SAMSUNG EXYNOS5 board. * * SPDX-License-Identifier: GPL-2.0+ */ |
4c7bb1d2e exynos: Rename -d... |
8 9 |
#ifndef __CONFIG_EXYNOS4_COMMON_H #define __CONFIG_EXYNOS4_COMMON_H |
8e5e1e6a9 arm:exynos: add c... |
10 |
|
5ea01ab10 exynos: Move comm... |
11 |
#define CONFIG_EXYNOS4 /* Exynos4 Family */ |
8e5e1e6a9 arm:exynos: add c... |
12 |
|
5ea01ab10 exynos: Move comm... |
13 |
#include "exynos-common.h" |
8e5e1e6a9 arm:exynos: add c... |
14 |
|
f94de733d config: Move arnd... |
15 |
#define CONFIG_BOARD_COMMON |
8e5e1e6a9 arm:exynos: add c... |
16 |
#define CONFIG_REVISION_TAG |
8e5e1e6a9 arm:exynos: add c... |
17 18 |
/* SD/MMC configuration */ |
8e5e1e6a9 arm:exynos: add c... |
19 |
#define CONFIG_MMC_DEFAULT_DEV 0 |
8e5e1e6a9 arm:exynos: add c... |
20 21 22 23 |
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M #define DFU_DEFAULT_POLL_TIMEOUT 300 /* USB Samsung's IDs */ |
e6c0bc064 usb: gadget Move:... |
24 |
#define CONFIG_G_DNL_THOR_VENDOR_NUM 0x04E8 |
8e5e1e6a9 arm:exynos: add c... |
25 |
#define CONFIG_G_DNL_THOR_PRODUCT_NUM 0x685D |
8fc171318 samsung: dfu: Pro... |
26 27 |
#define CONFIG_G_DNL_UMS_VENDOR_NUM 0x0525 #define CONFIG_G_DNL_UMS_PRODUCT_NUM 0xA4A5 |
8e5e1e6a9 arm:exynos: add c... |
28 |
|
8e5e1e6a9 arm:exynos: add c... |
29 |
#define CONFIG_SYS_MONITOR_LEN (256 << 10) /* Reserve 2 sectors */ |
e30824f43 usb: s3c-otg: Ren... |
30 |
#define CONFIG_USB_GADGET_DWC2_OTG_PHY |
8e5e1e6a9 arm:exynos: add c... |
31 |
|
f26cc7d4e config: exynos: c... |
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
/* Common environment variables */ #define CONFIG_EXTRA_ENV_ITB \ "loadkernel=load mmc ${mmcbootdev}:${mmcbootpart} ${kerneladdr} " \ "${kernelname}\0" \ "loadinitrd=load mmc ${mmcbootdev}:${mmcbootpart} ${initrdaddr} " \ "${initrdname}\0" \ "loaddtb=load mmc ${mmcbootdev}:${mmcbootpart} ${fdtaddr} " \ "${fdtfile}\0" \ "check_ramdisk=" \ "if run loadinitrd; then " \ "setenv initrd_addr ${initrdaddr};" \ "else " \ "setenv initrd_addr -;" \ "fi;\0" \ "check_dtb=" \ "if run loaddtb; then " \ "setenv fdt_addr ${fdtaddr};" \ "else " \ "setenv fdt_addr;" \ "fi;\0" \ "kernel_args=" \ "setenv bootargs root=/dev/mmcblk${mmcdev}p${mmcrootpart}" \ " ${lpj} rootwait ${console} ${meminfo} ${opts} ${lcdinfo};\0" \ "boot_fit=" \ "setenv kerneladdr 0x42000000;" \ "setenv kernelname Image.itb;" \ "run loadkernel;" \ "run kernel_args;" \ "bootm ${kerneladdr}#${board_name}\0" \ "boot_uimg=" \ "setenv kerneladdr 0x40007FC0;" \ "setenv kernelname uImage;" \ "run check_dtb;" \ "run check_ramdisk;" \ "run loadkernel;" \ "run kernel_args;" \ "bootm ${kerneladdr} ${initrd_addr} ${fdt_addr};\0" \ "boot_zimg=" \ "setenv kerneladdr 0x40007FC0;" \ "setenv kernelname zImage;" \ "run check_dtb;" \ "run check_ramdisk;" \ "run loadkernel;" \ "run kernel_args;" \ "bootz ${kerneladdr} ${initrd_addr} ${fdt_addr};\0" \ "autoboot=" \ "if test -e mmc ${mmcdev}:${mmcbootpart} Image.itb; then; " \ "run boot_fit;" \ "elif test -e mmc ${mmcdev}:${mmcbootpart} zImage; then; " \ "run boot_zimg;" \ "elif test -e mmc ${mmcdev}:${mmcbootpart} uImage; then; " \ "run boot_uimg;" \ "fi;\0" |
4c7bb1d2e exynos: Rename -d... |
85 |
#endif /* __CONFIG_EXYNOS4_COMMON_H */ |