rv1126-uboot/drivers/cpu
Joseph Chen 4388deca72 dm: add amp uclass and rockchip amp driver support
- add amp uclass;
- add a simple rockchip amp driver.

An example for amps dts node configure:
amps {
	compatible = "uboot,rockchip-amp";
	status = "okay";

	amp@0 {
		description  = "mcu-os1";
		partition    = "mcu1";
		cpu          = <0x1>; // this is mpidr!
		load         = <0x800000>;
		entry        = <0x800000>;
		memory       = <0x800000 0x400000>;
	};

	amp@1 {
		......
	};

	......
};

U-Boot loads "mcu-os1" firmware to "0x800000" address from partiton
"mcu1" for cpu[1], the cpu[1] entry address is 0x800000. And
U-Boot reserve memory from 0x800000 with 0x400000 size in order
to make it invisible for kernel.

Please use rockchip tool "mkkrnlimg" to pack firmware binary, example:
./scripts/mkkrnlimg mcu-os1.bin mcu-os1.img

Change-Id: I127d5d9f460ec0c1812a76fb4c3702e82f21c9a6
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-04-08 20:53:44 +08:00
..
Kconfig dm: add amp uclass and rockchip amp driver support 2019-04-08 20:53:44 +08:00
Makefile dm: add amp uclass and rockchip amp driver support 2019-04-08 20:53:44 +08:00
amp-uclass.c dm: add amp uclass and rockchip amp driver support 2019-04-08 20:53:44 +08:00
bmips_cpu.c
cpu-uclass.c
rockchip_amp.c dm: add amp uclass and rockchip amp driver support 2019-04-08 20:53:44 +08:00