forked from coreboot/coreboot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #194 from coreboot/main
[pull] main from coreboot:main
- Loading branch information
Showing
61 changed files
with
2,690 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## SPDX-License-Identifier: GPL-2.0-only | ||
|
||
if VENDOR_ARM | ||
|
||
choice | ||
prompt "Mainboard model" | ||
default BOARD_ARM_RDN2 | ||
|
||
source "src/mainboard/arm/*/Kconfig.name" | ||
|
||
endchoice | ||
|
||
source "src/mainboard/arm/*/Kconfig" | ||
|
||
config MAINBOARD_VENDOR | ||
default "Arm" | ||
|
||
endif # VENDOR_ARM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## SPDX-License-Identifier: GPL-2.0-only | ||
|
||
config VENDOR_ARM | ||
bool "Arm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
if BOARD_ARM_RDN2 | ||
|
||
config BOARD_SPECIFIC_OPTIONS | ||
def_bool y | ||
select ARCH_BOOTBLOCK_ARMV8_64 | ||
select ARCH_VERSTAGE_ARMV8_64 | ||
select ARCH_ROMSTAGE_ARMV8_64 | ||
select ARCH_RAMSTAGE_ARMV8_64 | ||
select ARM64_USE_ARCH_TIMER | ||
select BOARD_ROMSIZE_KB_65536 | ||
select BOOTBLOCK_CUSTOM | ||
select DRIVERS_UART_PL011 | ||
select HAVE_ACPI_TABLES | ||
select ACPI_GTDT | ||
select ACPI_COMMON_MADT_GICC_V3 | ||
select MISSING_BOARD_RESET | ||
select PCI | ||
select PROBE_RAM | ||
select ACPI_IORT | ||
select ACPI_GTDT | ||
select ACPI_COMMON_MADT_GICC_V3 | ||
select ACPI_PPTT | ||
select GENERATE_SMBIOS_TABLES | ||
|
||
config ARM64_CURRENT_EL | ||
default 2 | ||
|
||
config ECAM_MMCONF_BASE_ADDRESS | ||
default 0x1010000000 | ||
|
||
config ECAM_MMCONF_BUS_NUMBER | ||
default 256 | ||
|
||
config MEMLAYOUT_LD_FILE | ||
string | ||
default "src/mainboard/arm/rdn2/memlayout.ld" | ||
|
||
config FATAL_ASSERTS | ||
default y | ||
|
||
config FMDFILE | ||
default "src/mainboard/arm/rdn2/flash.fmd" | ||
|
||
config MAINBOARD_DIR | ||
default "arm/rdn2" | ||
|
||
config MAINBOARD_PART_NUMBER | ||
default "Neoverse N2" | ||
|
||
config MAX_CPUS | ||
int | ||
default 128 | ||
|
||
config MAINBOARD_VENDOR | ||
string | ||
default "Arm" | ||
|
||
config DRAM_SIZE_MB | ||
int | ||
default 2048 | ||
|
||
endif # BOARD_ARM_RDN2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
config BOARD_ARM_RDN2 | ||
bool "Neoverse N2" | ||
help | ||
To execute, do: | ||
FVP_RD_N2\models\Win64_VC2019\FVP_RD_N2 -C board.flashloader0.fname=coreboot.rom \ | ||
-C css.trustedBootROMloader.fname=bl1.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
bootblock-y += bootblock.c | ||
|
||
romstage-y += cbmem.c | ||
|
||
bootblock-y += media.c | ||
romstage-y += media.c | ||
ramstage-y += media.c | ||
|
||
bootblock-y += uart.c | ||
romstage-y += uart.c | ||
ramstage-y += uart.c | ||
ramstage-y += acpi.c | ||
ramstage-$(CONFIG_ACPI_PPTT) += pptt.c | ||
|
||
bootblock-y += bootblock_custom.S | ||
|
||
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include |
Oops, something went wrong.