mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
e519f03a18
There is no real need to exactly define space for saving patterns for alternate memory test. It is much easier to allocate space on the stack and use it instead of trying to find out space where pattern should be saved. For example if you want to test the whole DDR memory you can't save patter to DDR and you need to find it out. On Xilinx devices DDR or OCM addresses were chosen but that means that OCM needs to be mapped and U-Boot has access permission there. It is easier to remove this limitation and simply save it on stack because it is very clear that memory test can't rewrite U-Boot and U-Boot has also full access to memory where runs from. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de>
31 lines
691 B
C
31 lines
691 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Configuration for Xilinx ZynqMP Flash utility
|
|
*
|
|
* (C) Copyright 2018 Xilinx, Inc.
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
* Siva Durga Prasad Paladugu <sivadur@xilinx.com>
|
|
*/
|
|
|
|
#ifndef __CONFIG_ZYNQMP_MINI_H
|
|
#define __CONFIG_ZYNQMP_MINI_H
|
|
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS
|
|
|
|
#include <configs/xilinx_zynqmp.h>
|
|
|
|
/* Undef unneeded configs */
|
|
#undef CONFIG_BOOTCOMMAND
|
|
#undef CONFIG_EXTRA_ENV_SETTINGS
|
|
#undef CONFIG_SYS_MALLOC_LEN
|
|
#undef CONFIG_ZLIB
|
|
#undef CONFIG_GZIP
|
|
#undef CONFIG_CMD_ENV
|
|
#undef CONFIG_SYS_INIT_SP_ADDR
|
|
|
|
/* BOOTP options */
|
|
#undef CONFIG_BOOTP_BOOTFILESIZE
|
|
#undef CONFIG_BOOTP_MAY_FAIL
|
|
|
|
#endif /* __CONFIG_ZYNQMP_MINI_H */
|