blob: 0ed724813d9e1d9af65c84f8faa4814e47de6912 [file] [log] [blame]
Bin Meng81da5a82015-02-02 22:35:27 +08001#
2# Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
3#
4# SPDX-License-Identifier: GPL-2.0+
5#
6
7config INTEL_QUARK
8 bool
9 select HAVE_RMU
Bin Meng6f40e7c2017-07-30 06:23:13 -070010 select ARCH_EARLY_INIT_R
Bin Mengb0d42d72017-07-30 06:23:12 -070011 select ARCH_MISC_INIT
Bin Meng1949a9a2017-07-30 06:23:14 -070012 imply ENABLE_MRC_CACHE
Bin Mengac432012017-07-30 06:23:23 -070013 imply ETH_DESIGNWARE
14 imply ICH_SPI
Bin Mengce9d1b02017-07-30 06:23:28 -070015 imply INTEL_ICH6_GPIO
Bin Mengac432012017-07-30 06:23:23 -070016 imply MMC
17 imply MMC_PCI
18 imply MMC_SDHCI
19 imply MMC_SDHCI_SDMA
20 imply SPI_FLASH
21 imply SYS_NS16550
Bin Meng5b5d1732017-07-30 06:23:27 -070022 imply USB
23 imply USB_EHCI_HCD
Bin Meng81da5a82015-02-02 22:35:27 +080024
25if INTEL_QUARK
26
27config HAVE_RMU
28 bool "Add a Remote Management Unit (RMU) binary"
29 help
30 Select this option to add a Remote Management Unit (RMU) binary
31 to the resulting U-Boot image. It is a data block (up to 64K) of
32 machine-specific code which must be put in the flash for the RMU
33 within the Quark SoC processor to access when powered up before
34 system BIOS is executed.
35
36config RMU_FILE
37 string "Remote Management Unit (RMU) binary filename"
38 depends on HAVE_RMU
39 default "rmu.bin"
40 help
41 The filename of the file to use as Remote Management Unit (RMU)
42 binary in the board directory.
43
44config RMU_ADDR
45 hex "Remote Management Unit (RMU) binary location"
46 depends on HAVE_RMU
47 default 0xfff00000
48 help
49 The location of the RMU binary is determined by a strap. It must be
50 put in flash at a location matching the strap-determined base address.
51
52 The default base address of 0xfff00000 indicates that the binary must
53 be located at offset 0 from the beginning of a 1MB flash device.
54
55config HAVE_CMC
56 bool
57 default HAVE_RMU
58
59config CMC_FILE
60 string
61 depends on HAVE_CMC
62 default RMU_FILE
63
64config CMC_ADDR
65 hex
66 depends on HAVE_CMC
67 default RMU_ADDR
68
69config ESRAM_BASE
70 hex
71 default 0x80000000
72 help
73 Embedded SRAM (eSRAM) memory-mapped base address.
74
75config PCIE_ECAM_BASE
76 hex
77 default 0xe0000000
78
79config RCBA_BASE
80 hex
81 default 0xfed1c000
82 help
83 Root Complex register block memory-mapped base address.
84
85config ACPI_PM1_BASE
86 hex
87 default 0x1000
88 help
89 ACPI Power Managment 1 (PM1) i/o-mapped base address.
90 This device is defined in ACPI specification, with 16 bytes in size.
91
92config ACPI_PBLK_BASE
93 hex
94 default 0x1010
95 help
96 ACPI Processor Block (PBLK) i/o-mapped base address.
97 This device is defined in ACPI specification, with 16 bytes in size.
98
99config SPI_DMA_BASE
100 hex
101 default 0x1020
102 help
103 SPI DMA i/o-mapped base address.
104
105config GPIO_BASE
106 hex
107 default 0x1080
108 help
109 GPIO i/o-mapped base address.
110
111config ACPI_GPE0_BASE
112 hex
113 default 0x1100
114 help
115 ACPI General Purpose Event 0 (GPE0) i/o-mapped base address.
116 This device is defined in ACPI specification, with 64 bytes in size.
117
118config WDT_BASE
119 hex
120 default 0x1140
121 help
122 Watchdog timer i/o-mapped base address.
123
124config SYS_CAR_ADDR
125 hex
126 default ESRAM_BASE
127
128config SYS_CAR_SIZE
129 hex
130 default 0x8000
131 help
132 Space in bytes in eSRAM used as Cache-As-ARM (CAR).
133 Note this size must not exceed eSRAM's total size.
134
Bin Meng81da5a82015-02-02 22:35:27 +0800135endif