DIMM: Refactor the byte attribute to size type

There is currently a problem that because the parameter types defined
in PDI are too complicated, not all types are fully compatible in the
Notify method.
The intent behind this commit is replace "byte" type in the DIMM
interface with "size", because it is more reasonable to use size for
byte, uint16 and other types, and we also tend to change the uint16
type to size in the future.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I884f1d871446ed1c4174a223e826c3a36530aea1
diff --git a/yaml/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml
index 1c668b1..1161e69 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml
@@ -26,7 +26,7 @@
       description: >
           The maximum capable clock speed of Memory, in megahertz.
     - name: MemoryAttributes
-      type: byte
+      type: size
       description: >
           Rank attributes of Memory. Means how many groups of memory chips on
           the dimm.