xref: /openbmc/u-boot/arch/x86/cpu/quark/Kconfig (revision d01806a8)
1828d9af5SBin Meng# SPDX-License-Identifier: GPL-2.0+
2828d9af5SBin Meng#
383d290c5STom Rini# Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
4828d9af5SBin Meng
5828d9af5SBin Mengconfig INTEL_QUARK
6828d9af5SBin Meng	bool
7828d9af5SBin Meng	select HAVE_RMU
85d89b37fSBin Meng	select ARCH_EARLY_INIT_R
93612b1efSBin Meng	select ARCH_MISC_INIT
1067f99f97SBin Meng	imply ENABLE_MRC_CACHE
11b0e3adf6SBin Meng	imply ETH_DESIGNWARE
12b0e3adf6SBin Meng	imply ICH_SPI
1372436892SBin Meng	imply INTEL_ICH6_GPIO
14b0e3adf6SBin Meng	imply MMC
15b0e3adf6SBin Meng	imply MMC_PCI
16b0e3adf6SBin Meng	imply MMC_SDHCI
17b0e3adf6SBin Meng	imply MMC_SDHCI_SDMA
18b0e3adf6SBin Meng	imply SPI_FLASH
19b0e3adf6SBin Meng	imply SYS_NS16550
20b9342b2cSBin Meng	imply USB
21b9342b2cSBin Meng	imply USB_EHCI_HCD
22828d9af5SBin Meng
23828d9af5SBin Mengif INTEL_QUARK
24828d9af5SBin Meng
25828d9af5SBin Mengconfig HAVE_RMU
26828d9af5SBin Meng	bool "Add a Remote Management Unit (RMU) binary"
27828d9af5SBin Meng	help
28828d9af5SBin Meng	  Select this option to add a Remote Management Unit (RMU) binary
29828d9af5SBin Meng	  to the resulting U-Boot image. It is a data block (up to 64K) of
30828d9af5SBin Meng	  machine-specific code which must be put in the flash for the RMU
31828d9af5SBin Meng	  within the Quark SoC processor to access when powered up before
32828d9af5SBin Meng	  system BIOS is executed.
33828d9af5SBin Meng
34828d9af5SBin Mengconfig RMU_FILE
35828d9af5SBin Meng	string "Remote Management Unit (RMU) binary filename"
36828d9af5SBin Meng	depends on HAVE_RMU
37828d9af5SBin Meng	default "rmu.bin"
38828d9af5SBin Meng	help
39828d9af5SBin Meng	  The filename of the file to use as Remote Management Unit (RMU)
40828d9af5SBin Meng	  binary in the board directory.
41828d9af5SBin Meng
42828d9af5SBin Mengconfig RMU_ADDR
43828d9af5SBin Meng	hex "Remote Management Unit (RMU) binary location"
44828d9af5SBin Meng	depends on HAVE_RMU
45828d9af5SBin Meng	default 0xfff00000
46828d9af5SBin Meng	help
47828d9af5SBin Meng	  The location of the RMU binary is determined by a strap. It must be
48828d9af5SBin Meng	  put in flash at a location matching the strap-determined base address.
49828d9af5SBin Meng
50828d9af5SBin Meng	  The default base address of 0xfff00000 indicates that the binary must
51828d9af5SBin Meng	  be located at offset 0 from the beginning of a 1MB flash device.
52828d9af5SBin Meng
53828d9af5SBin Mengconfig HAVE_CMC
54828d9af5SBin Meng	bool
55828d9af5SBin Meng	default HAVE_RMU
56828d9af5SBin Meng
57828d9af5SBin Mengconfig CMC_FILE
58828d9af5SBin Meng	string
59828d9af5SBin Meng	depends on HAVE_CMC
60828d9af5SBin Meng	default RMU_FILE
61828d9af5SBin Meng
62828d9af5SBin Mengconfig CMC_ADDR
63828d9af5SBin Meng	hex
64828d9af5SBin Meng	depends on HAVE_CMC
65828d9af5SBin Meng	default RMU_ADDR
66828d9af5SBin Meng
67828d9af5SBin Mengconfig ESRAM_BASE
68828d9af5SBin Meng	hex
69828d9af5SBin Meng	default 0x80000000
70828d9af5SBin Meng	help
71828d9af5SBin Meng	  Embedded SRAM (eSRAM) memory-mapped base address.
72828d9af5SBin Meng
73828d9af5SBin Mengconfig PCIE_ECAM_BASE
74828d9af5SBin Meng	hex
75828d9af5SBin Meng	default 0xe0000000
76828d9af5SBin Meng
77828d9af5SBin Mengconfig RCBA_BASE
78828d9af5SBin Meng	hex
79828d9af5SBin Meng	default 0xfed1c000
80828d9af5SBin Meng	help
81828d9af5SBin Meng	  Root Complex register block memory-mapped base address.
82828d9af5SBin Meng
83828d9af5SBin Mengconfig ACPI_PM1_BASE
84828d9af5SBin Meng	hex
85828d9af5SBin Meng	default 0x1000
86828d9af5SBin Meng	help
87*9259c923SChris Packham	  ACPI Power Management 1 (PM1) i/o-mapped base address.
88828d9af5SBin Meng	  This device is defined in ACPI specification, with 16 bytes in size.
89828d9af5SBin Meng
90828d9af5SBin Mengconfig ACPI_PBLK_BASE
91828d9af5SBin Meng	hex
92828d9af5SBin Meng	default 0x1010
93828d9af5SBin Meng	help
94828d9af5SBin Meng	  ACPI Processor Block (PBLK) i/o-mapped base address.
95828d9af5SBin Meng	  This device is defined in ACPI specification, with 16 bytes in size.
96828d9af5SBin Meng
97828d9af5SBin Mengconfig SPI_DMA_BASE
98828d9af5SBin Meng	hex
99828d9af5SBin Meng	default 0x1020
100828d9af5SBin Meng	help
101828d9af5SBin Meng	  SPI DMA i/o-mapped base address.
102828d9af5SBin Meng
103828d9af5SBin Mengconfig GPIO_BASE
104828d9af5SBin Meng	hex
105828d9af5SBin Meng	default 0x1080
106828d9af5SBin Meng	help
107828d9af5SBin Meng	  GPIO i/o-mapped base address.
108828d9af5SBin Meng
109828d9af5SBin Mengconfig ACPI_GPE0_BASE
110828d9af5SBin Meng	hex
111828d9af5SBin Meng	default 0x1100
112828d9af5SBin Meng	help
113828d9af5SBin Meng	  ACPI General Purpose Event 0 (GPE0) i/o-mapped base address.
114828d9af5SBin Meng	  This device is defined in ACPI specification, with 64 bytes in size.
115828d9af5SBin Meng
116828d9af5SBin Mengconfig WDT_BASE
117828d9af5SBin Meng	hex
118828d9af5SBin Meng	default 0x1140
119828d9af5SBin Meng	help
120828d9af5SBin Meng	  Watchdog timer i/o-mapped base address.
121828d9af5SBin Meng
122828d9af5SBin Mengconfig SYS_CAR_ADDR
123828d9af5SBin Meng	hex
124828d9af5SBin Meng	default ESRAM_BASE
125828d9af5SBin Meng
126828d9af5SBin Mengconfig SYS_CAR_SIZE
127828d9af5SBin Meng	hex
128828d9af5SBin Meng	default 0x8000
129828d9af5SBin Meng	help
130828d9af5SBin Meng	  Space in bytes in eSRAM used as Cache-As-ARM (CAR).
131828d9af5SBin Meng	  Note this size must not exceed eSRAM's total size.
132828d9af5SBin Meng
133a39f0554SBin Mengconfig X86_TSC_TIMER_EARLY_FREQ
134a39f0554SBin Meng	int
135a39f0554SBin Meng	default 400
136a39f0554SBin Meng
137828d9af5SBin Mengendif
138