mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 13:37:49 +07:00
a56585d12c
Adds support to run the kernel on the uninitialized KZM9G board, using for instance the mask ROM boot loader or JTAG. This patch tries to emulate the style of the corresponding "mackerel" implementation. The DRAM controller setup code has been adapted from u-boot. Signed-off-by: Ulrich Hecht <ulrich.hecht@gmail.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
23 lines
498 B
C
23 lines
498 B
C
#ifndef ZBOOT_H
|
|
#define ZBOOT_H
|
|
|
|
#include <mach/zboot_macros.h>
|
|
|
|
/**************************************************
|
|
*
|
|
* board specific settings
|
|
*
|
|
**************************************************/
|
|
|
|
#ifdef CONFIG_MACH_MACKEREL
|
|
#define MEMORY_START 0x40000000
|
|
#include "mach/head-mackerel.txt"
|
|
#elif defined(CONFIG_MACH_KZM9G) || defined(CONFIG_MACH_KZM9G_REFERENCE)
|
|
#define MEMORY_START 0x43000000
|
|
#include "mach/head-kzm9g.txt"
|
|
#else
|
|
#error "unsupported board."
|
|
#endif
|
|
|
|
#endif /* ZBOOT_H */
|