sandbox: Add a memory {} node
Add a memory node which indicates the size of sandbox memory. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
e8a7b3051b
commit
e676f4397c
@ -1,5 +1,7 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include <config.h>
|
||||
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
@ -13,6 +15,10 @@
|
||||
spi0 = &spi;
|
||||
};
|
||||
|
||||
memory {
|
||||
reg = <0 CONFIG_SYS_SDRAM_SIZE>;
|
||||
};
|
||||
|
||||
cros_ec: cros-ec {
|
||||
reg = <0 0>;
|
||||
u-boot,dm-pre-reloc;
|
||||
|
@ -1,5 +1,7 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include <config.h>
|
||||
|
||||
/ {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
@ -13,6 +15,10 @@
|
||||
spi0 = &spi;
|
||||
};
|
||||
|
||||
memory {
|
||||
reg = /bits/ 64 <0 CONFIG_SYS_SDRAM_SIZE>;
|
||||
};
|
||||
|
||||
cros_ec: cros-ec {
|
||||
reg = <0 0 0 0>;
|
||||
u-boot,dm-pre-reloc;
|
||||
|
@ -63,7 +63,11 @@
|
||||
func(HOST, host, 1) \
|
||||
func(HOST, host, 0)
|
||||
|
||||
#ifdef __ASSEMBLY__
|
||||
#define BOOTENV
|
||||
#else
|
||||
#include <config_distro_bootcmd.h>
|
||||
#endif
|
||||
|
||||
#define CONFIG_KEEP_SERVERADDR
|
||||
#define CONFIG_UDP_CHECKSUM
|
||||
|
Loading…
Reference in New Issue
Block a user