diff options
| author | Rajarshi Das <drajarshi@in.ibm.com> | 2016-12-23 06:01:25 -0600 |
|---|---|---|
| committer | Rajarshi Das <drajarshi@in.ibm.com> | 2016-12-23 06:01:25 -0600 |
| commit | 04f84e332c4220f20cc64a49ff2c4e612f6d9c89 (patch) | |
| tree | 4444704c29e820bedcba2abb99f1efb1a4398f46 | |
| parent | ce4cfabd24082f80d1500f6652e1e81fda3c537a (diff) | |
| download | ima-catalog-04f84e332c4220f20cc64a49ff2c4e612f6d9c89.tar.gz ima-catalog-04f84e332c4220f20cc64a49ff2c4e612f6d9c89.zip | |
Added variable values for POWER9 specific DTB generation.
Signed-off-by: Rajarshi Das <drajarshi@in.ibm.com>
| -rwxr-xr-x | build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -31,6 +31,10 @@ declare -a POWER8=('81E00610.4D0100.dts' '81E00610.4D0200.dts') declare -a POWER8_PVR=(0x4d0100 0x4d0200) declare -a POWER8_FILENAME=(0x4d0100.bin 0x4d0200.bin) +declare -a POWER9=('81E00612.4E0100.dts') +declare -a POWER9_PVR=(0x4e0100) +declare -a POWER9_FILENAME=(0x4e0100.bin) + align() { echo $(( (($1 + ($alignment - 1))) & ~($alignment - 1) )) } @@ -39,6 +43,10 @@ if [ "$2" == "POWER8" ]; then ima_arr=("${POWER8[@]}") ima_pvr=("${POWER8_PVR[@]}") ima_file=("${POWER8_FILENAME[@]}") +elif [ "$2" == "POWER9" ]; then + ima_arr=("${POWER9[@]}") + ima_pvr=("${POWER9_PVR[@]}") + ima_file=("${POWER9_FILENAME[@]}") fi entries=$((${#ima_arr[@]})) |

