Switch boards that use CFG_PRAM to TEGRA_PRAM.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
default "asus"
config SYS_CONFIG_NAME
- default "transformer-t114"
+ default "tegra"
config TEGRA_BOARD_STRING
string "Default Tegra board name"
default "ASUS Transformer T114"
+config TEGRA_PRAM_SIZE
+ depends on TEGRA_PRAM
+ default 0x20000
+
endif
default "nvidia"
config SYS_CONFIG_NAME
- default "tegratab"
+ default "tegra"
config TEGRA_BOARD_STRING
string "Default Tegra board name"
default "NVIDIA TegraTab"
+config TEGRA_PRAM_SIZE
+ depends on TEGRA_PRAM
+ default 0x21c00
+
endif
default "xiaomi"
config SYS_CONFIG_NAME
- default "mocha"
+ default "tegra"
config TEGRA_BOARD_STRING
string "Default Tegra board name"
default "Xiaomi Mocha"
+config TEGRA_PRAM_SIZE
+ depends on TEGRA_PRAM
+ default 0x38400
+
endif
CONFIG_TEXT_BASE=0x80A00000
CONFIG_SKIP_LOWLEVEL_INIT=y
# CONFIG_OF_BOARD_SETUP is not set
- CONFIG_TEGRA_SUPPORT_NON_SECURE=y
+ CONFIG_TEGRA_PRAM=y
After the build succeeds, you will obtain the final ``u-boot-dtb.bin`` file,
ready for booting with fastboot boot or which can be further processed into
CONFIG_TEXT_BASE=0x80A00000
CONFIG_SKIP_LOWLEVEL_INIT=y
# CONFIG_OF_BOARD_SETUP is not set
- CONFIG_TEGRA_SUPPORT_NON_SECURE=y
+ CONFIG_TEGRA_PRAM=y
After the build succeeds, you will obtain the final ``u-boot-dtb.bin`` file,
ready for booting with fastboot boot or which can be further processed into
CONFIG_TEXT_BASE=0x80A00000
CONFIG_SKIP_LOWLEVEL_INIT=y
# CONFIG_OF_BOARD_SETUP is not set
- CONFIG_TEGRA_SUPPORT_NON_SECURE=y
+ CONFIG_TEGRA_PRAM=y
After the build succeeds, you will obtain the final ``u-boot-dtb.bin``
file, ready for booting using vendor bootloader's fastboot or which can be
+++ /dev/null
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved.
- *
- * Copyright (c) 2024, Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra124-common.h"
-
-#ifdef CONFIG_TEGRA_SUPPORT_NON_SECURE
- #define CFG_PRAM 0x38400 /* 225 MB */
-#endif
-
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
+++ /dev/null
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved.
- *
- * Copyright (c) 2023, Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra114-common.h"
-
-#ifdef CONFIG_TEGRA_SUPPORT_NON_SECURE
- #define CFG_PRAM 0x21c00 /* 135 MB */
-#endif
-
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
+++ /dev/null
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved.
- *
- * Copyright (c) 2023, Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra114-common.h"
-
-#ifdef CONFIG_TEGRA_SUPPORT_NON_SECURE
- #define CFG_PRAM 0x20000 /* 128 MB */
-#endif
-
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */