blob: df6c17c109fdcffce0d877bc2f03d21fe1a022bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/dts-v1/;
#include <cros/nuvoton/npcx9.dtsi>
#include <nuvoton/npcx9m7f.dtsi>
#include "npcx9.dtsi"
/ {
/*
* The NPCX9m7F includes 640 kB of code RAM, and 1 MB flash. Padding
* is added to make the image the same size as the internal flash. This
* is required to support the flashrom tool which requires an image that
* matches the full internal flash size.
*/
binman {
wp-ro {
offset = <0x0>;
size = <0x50000>;
};
ec-rw {
offset = <0x50000>;
size = <0x50000>;
rw-fw {
rw-fwid {
/* Fix the lcoation of the FWID to the
* last 32 bytes of the flash. This
* ensures the RW entries in the FMAP
* stored in the RO section of flash
* are always correct.
*/
offset = <(0x50000 - 32)>;
};
};
};
pad-byte = <0xff>;
pad-after = <0x60000>;
};
};
|