mt798x: reserve memory for pstore
This commit is contained in:
@@ -19,6 +19,7 @@ echo "build u-boot..."
|
||||
cp -f $UBOOT_DIR/configs/$UBOOT_CFG $UBOOT_DIR/.config
|
||||
if [ "$1" = "fixedparts" ]; then
|
||||
echo "CONFIG_MEDIATEK_UBI_FIXED_MTDPARTS=y" >> $UBOOT_DIR/.config
|
||||
echo "Build uboot with fixed-mtdparts!"
|
||||
fi
|
||||
|
||||
make -C $UBOOT_DIR olddefconfig all
|
||||
|
||||
@@ -30,6 +30,23 @@
|
||||
};
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
ramoops@42ff0000 {
|
||||
compatible = "ramoops";
|
||||
reg = <0x42ff0000 0x10000>;
|
||||
record-size = <0x1000>;
|
||||
};
|
||||
|
||||
secmon_reserved: secmon@43000000 {
|
||||
reg = <0x43000000 0x30000>;
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
|
||||
gpt_clk: gpt_dummy20m {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <13000000>;
|
||||
|
||||
@@ -46,6 +46,23 @@
|
||||
};
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
ramoops@42ff0000 {
|
||||
compatible = "ramoops";
|
||||
reg = <0x42ff0000 0x10000>;
|
||||
record-size = <0x1000>;
|
||||
};
|
||||
|
||||
secmon_reserved: secmon@43000000 {
|
||||
reg = <0x43000000 0x30000>;
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
|
||||
dummy_clk: dummy12m {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <12000000>;
|
||||
|
||||
Reference in New Issue
Block a user