From: Simon Glass Date: Mon, 21 Jan 2019 21:53:32 +0000 (-0700) Subject: rockchip: rk3399: Add ROCKCHIP_DEVICE_SETTINGS to set env X-Git-Tag: v2019.04-rc1~8^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8a0c6aa33f0a077fee52b5b0e68190c7f8339ff0;p=oweals%2Fu-boot.git rockchip: rk3399: Add ROCKCHIP_DEVICE_SETTINGS to set env Some boards use different stdio environment variables from the default. Provide a #define for this which can be set before including the header file. Signed-off-by: Simon Glass Reviewed-by: Philipp Tomsich --- diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h index 9a4da395f9..b977b1faa7 100644 --- a/include/configs/rk3399_common.h +++ b/include/configs/rk3399_common.h @@ -49,11 +49,16 @@ "kernel_addr_r=0x02080000\0" \ "ramdisk_addr_r=0x04000000\0" +#ifndef ROCKCHIP_DEVICE_SETTINGS +#define ROCKCHIP_DEVICE_SETTINGS +#endif + #include #define CONFIG_EXTRA_ENV_SETTINGS \ ENV_MEM_LAYOUT_SETTINGS \ "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ "partitions=" PARTS_DEFAULT \ + ROCKCHIP_DEVICE_SETTINGS \ BOOTENV #endif