mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-06 03:05:24 +07:00
4f309d272f
Instead of relying on CONFIG_MEMORY_START for memory base address, let each romImage board header file specify this information. This is reworks code not to rely on CONFIG_MEMORY_START which in turn is needed for ARCH_MULTIPLATFORM. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
26 lines
560 B
C
26 lines
560 B
C
#ifndef ZBOOT_H
|
|
#define ZBOOT_H
|
|
|
|
#include <asm/mach-types.h>
|
|
#include <mach/zboot_macros.h>
|
|
|
|
/**************************************************
|
|
*
|
|
* board specific settings
|
|
*
|
|
**************************************************/
|
|
|
|
#ifdef CONFIG_MACH_AP4EVB
|
|
#define MACH_TYPE MACH_TYPE_AP4EVB
|
|
#define MEMORY_START 0x40000000
|
|
#include "mach/head-ap4evb.txt"
|
|
#elif defined(CONFIG_MACH_MACKEREL)
|
|
#define MACH_TYPE MACH_TYPE_MACKEREL
|
|
#define MEMORY_START 0x40000000
|
|
#include "mach/head-mackerel.txt"
|
|
#else
|
|
#error "unsupported board."
|
|
#endif
|
|
|
|
#endif /* ZBOOT_H */
|