Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions arch/arm/mach-apple/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ static struct mm_region t8142_mem_map[] = {
}
};

/* T8152: only DockChannel is qualified for initial RAM boot. */
/* T8152: only the DockChannel aperture is mapped for the initial RAM boot. */
static struct mm_region t8152_mem_map[] = {
{
.virt = 0x308000000,
Expand Down Expand Up @@ -1220,8 +1220,7 @@ void build_mem_map(void)
mem_map = t6040_mem_map;
else if (of_machine_is_compatible("apple,t8142"))
mem_map = t8142_mem_map;
else if (of_machine_is_compatible("apple,t8152") &&
of_machine_is_compatible("apple,j873g"))
else if (of_machine_is_compatible("apple,t8152"))
mem_map = t8152_mem_map;
else
panic("Unsupported SoC\n");
Expand Down
3 changes: 2 additions & 1 deletion doc/board/apple/j873g.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Apple M6 Mac mini (J873g)
The initial T8152 port boots from RAM using the firmware-selected DockChannel
UART. Build with ``make apple_j873_defconfig`` followed by ``make`` using an
AArch64 GNU toolchain. Supply an external FDT from m1n1; the built-in M1 DT does
not describe this board. The root must include ``apple,j873g`` and ``apple,t8152``.
not describe this board. The root must include ``apple,t8152``; the same image
boots any T8152 board whose FDT follows the rules below.
Use ``u-boot-nodtb.bin`` for RAM handoff.

The FDT must describe one contiguous usable RAM bank, reserve the resident loader
Expand Down